Template:ReactionDefinition

来自Noita Wiki
跳到导航 跳到搜索

此模板定义表格“Reactions”。 此表格尚未创建。

Template-info.png 模板文档

Defines a material reaction that can occur during the game, including its rate (speed) and the reagents and products involved in the reaction.

模板参数

参数描述类型状态
Reaction Raterate

The rate at which the reaction occurs

示例
40
数字必填
Reagentsreagents

Up to three reagents required for the reaction, separated by commas. Specify tags as [tagname], all other materials should use their internal code name.

示例
Water,[fire]
字符串可选
Productsproducts

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.

示例
Steam, [blood]
字符串可选
Notesnotes

Any additional products or behaviours of the reaction, such as producing entities or explosions, etc.

示例
Reacts to produce explosions while consuming the material
字符串推荐

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