泰拉瑞亚 · 融合 Wiki

NPC 生成/细节/rowgroup

泰拉瑞亚本体 中文 rev 259204

Parameters

start or end

Marks whether the row is the starting row of a group, or the ending row.

  • Starting rows will have style="border-top: solid; border-bottom: double;".
  • Ending rows will have style="border-bottom: solid;"
id

ID(s) of the NPC. Can be a single ID, or a list separated with /. Items will be outputted as {{item|id={{{id}}}|type=npc|icons=n|showid=y|maxsize=100x100px}}.

chance

The base chance of the spawning condition in fraction format (1/n).

weight

The weight of the NPC type in the group.

luck

Display a luck icon besides the chance, if the chance can be affected by luck.

npcalt, chancealt, andalt, oralt

Manual input for npc, chance, "AND" condition, and "OR" condition columns respectively.

and

Pre-defined condition(s) of the spawning attempt, all of which has to be fulfilled (equivalent to logical and operator &&). Input is wrapped in {{lc:}}, then converted to <li>{{#var:req:<Condition>}}</li>. Can be a single instance, or a list separated with /. Append ! to the condition if the condition requires to be false (equivalent to logical negation operator !).

Outputs 无 when unspecified.

or

Pre-defined condition(s) of the spawning attempt, only one of which has to be fulfilled (equivalent to logical or operator ||). Input is wrapped in {{lc:}}, then converted to <li>{{#var:req:<Condition>}}</li>. Can be a single instance, or a list separated with /. Append ! to the condition if the condition requires to be false (equivalent to logical negation operator !).

Outputs 无 when unspecified.

tile

The spawning attempt's required spawning tile's English name. Can be a single instance, or a list separated with /. Will be displayed in "Other conditions" column.

other

Manually input other condition(s) in this column.