Skip to content

Commit

Permalink
feat(fishing_rework): 🐟add Fish Singularity
Browse files Browse the repository at this point in the history
Fish Singularity is a singularity crafted from Empty Singularity and required for automatic fishing machines.

To craft you need around ~4 fishes all of 17 kinds of raw fish, or way more if you do not provide big variety of fish types.

https://i.imgur.com/ICrJdRZ.png
  • Loading branch information
Krutoy242 committed Dec 29, 2024
1 parent e088b30 commit 17ba7be
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 0 deletions.
Binary file added dev/resources/textures/fish_singularity.psd
Binary file not shown.
1 change: 1 addition & 0 deletions resources/contenttweaker/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ tile.contenttweaker.silicon_block.name=Silicon Block
item.contenttweaker.knowledge_absorber.name=Knowledge Absorber

item.contenttweaker.woodweave_singularity.name=§cWoodweave Singularity
item.contenttweaker.fish_singularity.name=§3Fish Singularity
item.contenttweaker.supremium_boots_base.name=Supremium Boots Core Base
item.contenttweaker.supremium_chest_base.name=Supremium Chestplate Core Base
item.contenttweaker.supremium_helmet_base.name=Supremium Helmet Core Base
Expand Down
1 change: 1 addition & 0 deletions resources/contenttweaker/lang/ru_ru.lang
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ tile.contenttweaker.silicon_block.name=Силиконовый блок
item.contenttweaker.knowledge_absorber.name=Поглотитель Знаний

item.contenttweaker.woodweave_singularity.name=§cДревоплетённая Сингулярность
item.contenttweaker.fish_singularity.name=§3Рыбная Сингулярность
item.contenttweaker.supremium_boots_base.name=Основание Ядра Супремиумных Ботинок
item.contenttweaker.supremium_chest_base.name=Основание Ядра Супремиумного Нагрудника
item.contenttweaker.supremium_helmet_base.name=Основание Ядра Супремиумного Шлема
Expand Down
1 change: 1 addition & 0 deletions resources/contenttweaker/lang/zh_cn.lang
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ tile.contenttweaker.silicon_block.name=硅块
item.contenttweaker.knowledge_absorber.name=知识吸收器

item.contenttweaker.woodweave_singularity.name=§c木纹奇点
item.contenttweaker.fish_singularity.name=§3鱼类奇点
item.contenttweaker.supremium_boots_base.name=终极精华靴子核心基底
item.contenttweaker.supremium_chest_base.name=终极精华胸甲核心基底
item.contenttweaker.supremium_helmet_base.name=终极精华头盔核心基底
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 2
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"animation": {
"frametime": 1
}
}
6 changes: 6 additions & 0 deletions scripts/cot/init.zs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ x.noRepair = true;
// x.attackDamage = 0;
x.register();

x = VanillaFactory.createExpandItem('fish_singularity');
x.creativeTab = <creativetab:other>;
x.maxDamage = 30000;
x.noRepair = true;
x.register();

createBlockStone('compressed_skystone', 6, <blockmaterial:rock>);
createBlockStone('compressed_andesite', 4, <blockmaterial:rock>);
createBlockStone('compressed_diorite', 4, <blockmaterial:rock>);
Expand Down
9 changes: 9 additions & 0 deletions scripts/cot/recipes.zs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,15 @@ scripts.do.diverse.addRecipe(
<ore:plankFireproof>
);

needPowerStr = mods.zenutils.StaticString.format('%,d', <contenttweaker:fish_singularity>.maxDamage).replaceAll(',', '§8,§6');
scripts.lib.tooltip.desc.jei(<contenttweaker:fish_singularity>, 'singularity.fish', needPowerStr);
scripts.do.diverse.addRecipe(
'Fish Singularity',
<avaritia:singularity>,
<contenttweaker:fish_singularity>,
<ore:listAllfishraw>
);

// -------------------------------------------------------------------

/*
Expand Down

0 comments on commit 17ba7be

Please sign in to comment.