跳到主要内容

Tycoon Research Recipe

Research Recipe

Defines a research recipe that can be processed in a research workbench. Each recipe has: - A catalyst item (consumed to power the research) - A combustion/fuel item (determines processing duration) - An output item (the result, with a success probability) - Optional bonus outputs (extra drops with individual chances) Adapted from BTC Sky's ResearchNodeEntry pattern.

字段

字段类型默认值描述
descriptionList<String>emptyDescription shown in the recipe tooltip
iconItem—Recipe icon
categoryIdString—Research category this recipe belongs to
catalystItemItem—Catalyst item required to power this research (consumed on start)
catalystCostInt1Amount of catalyst items consumed per research attempt
fuelItemItem—Combustion/fuel item that determines processing time (consumed per tick)
durationSecondsInt60Processing duration in seconds
successChanceDouble80.0Base success chance (0.0 - 100.0)
outputItemItem—Output item granted on success
bonusOutputsList<TycoonResearchBonusOutput>emptyBonus output items with individual drop chances
TycoonResearchBonusOutput(3)
字段类型默认值描述
itemItem—Bonus output item
chanceDouble50.0Drop chance percent (0-100)
amountInt1Amount dropped
isRepeatableBooleanfalseWhether this recipe can be repeated unlimited times
categoryXpRewardInt10XP granted to the research category on success
TypeWriter 通用字段(displayName)
字段类型默认值描述
displayNameString—Display name in the research GUI

Current behaviour​

The research tick marks started recipe processes as complete and notifies the player. In the current code no menu button type or action starts a recipe, so check that your setup can start one before relying on this entry.