模板:ReactionDefinition
跳至導覽
跳至搜尋
此模板定義表格「Reactions」。 尚未建立此表格。
模板文檔
[刷新緩存]
此頁面的內容需要被翻譯。
你可以幫助我們來翻譯此頁面。至於翻譯的話請遵守本Wiki的翻譯準則。
Defines a material reaction that can occur during the game, including its rate (speed) and the reagents and products involved in the reaction.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
Reaction Rate | rate | The rate at which the reaction occurs
| 數值 | 必填 |
Reagents | reagents | Up to three reagents required for the reaction, separated by commas. Specify tags as [tagname], all other materials should use their internal code name.
| 字串 | 選填 |
Products | products | Up to three products that are produced from the reaction, separated by commas. Specify tags as [tagname], all other materials should use their internal code name.
| 字串 | 選填 |
Notes | notes | Any additional products or behaviours of the reaction, such as producing entities or explosions, etc.
| 字串 | 建議 |
Example
{{Reaction/start}}
{{Reaction | rate = 40 | reagents = [fire],ice | products = [fire],water | notes = Add notes here if the reaction does something unusual (e.g., explodes) }}
{{Reaction | rate = 20 | reagents = [fire],water_salt,water_salt | products = [fire],salt,steam}}
{{Reaction/end}}
Reagent 1 | Reagent 2 | Reagent 3 | Product 1 | Product 2 | Product 3 | Rate | Notes |
---|---|---|---|---|---|---|---|
[fire] | ice | [fire] | water | 40 | |||
[fire] | water_salt | water_salt | [fire] | salt | steam | 20 |