neuralgia/kubejs/startup_scripts/tfg/blocks.crops.js
Redeix 035d55ffd5
Biodiesel Stuff (#1249)
* - Lots of ui updates. And a couple fixes.

* - New button textures.
- Fixed campfire loot table.
- Made anvil rod recipes easier.
- Added assembler recipes for multiblock tank parts.

* - Added assembler recipes for multiblock tank parts.

* - Updated Changelog

* - Some more UI tweaks.
- Added modern-markings mod with integration.

* - Updated stromatolite textures
- Added some more WIP venus foliage

* - Moved some blocks over from tfg-core.

* - Updated textures for tier-1 rocket and food oven.

* - Updated textures for more ad-astra stuff + new panorama

* - Biodiesel stuff

---------

Co-authored-by: Pyritie <pyritie@gmail.com>
2025-07-06 11:56:14 +01:00

60 lines
No EOL
1.9 KiB
JavaScript

// Priority: 0
const registerTFGCrops = (event) => {
event.create('tfg:sunflower', 'tfc:double_crop')
.translationKey('block.tfg.sunflower')
.soundType('crop')
.nutrient('nitrogen')
.stages(4)
.doubleStages(2)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product=> {
product.translationKey('item.tfg.sunflower_product')
product.texture('tfg:item/sunflower_product')
})
.seedItem(seed => {
seed.translationKey('item.tfg.sunflower_seed')
seed.texture('tfg:item/sunflower_seed')
})
.deadBlock(dead => {
dead.translationKey('block.tfg.sunflower_dead')
dead.hardness(0.2)
dead.soundType('crop')
})
event.create('tfg:sunflower_wild', 'tfc:wild_crop')
.type('double')
.translationKey('block.tfg.sunflower_wild')
.soundType('crop')
.seeds('tfg:sunflower_seeds')
.hardness(0.2)
.tagBoth('tfc:wild_crops')
event.create('tfg:rapeseed', 'tfc:double_crop')
.translationKey('block.tfg.rapeseed')
.soundType('crop')
.nutrient('phosphorous')
.stages(3)
.doubleStages(3)
.hardness(0.4)
['productItem(java.util.function.Consumer)'](product => {
product.translationKey('item.tfg.rapeseed_product')
})
.seedItem(seed => {
seed.translationKey('item.tfg.rapeseed_seed')
})
.deadBlock(dead => {
dead.translationKey('block.tfg.rapeseed_dead')
dead.hardness(0.2)
dead.soundType('crop')
})
event.create('tfg:rapeseed_wild', 'tfc:wild_crop')
.type('double')
.translationKey('block.tfg.rapeseed_wild')
.soundType('crop')
.seeds('tfg:rapeseed_seeds')
.hardness(0.2)
.tagBoth('tfc:wild_crops')
}