mod参数/canBuild

来自RustedWarfare Wiki
name:
值string(s)
描述"List of unit identifiers this unit can create. Can be buildings or units. Add ""setRally"" to create a rally button"
pos:
值float
描述Order build link appears in this unit UI.
tech:
值int
描述Tech level. Mostly just affects build link colour in this unit UI. Defaults to 1.
forceNano:
值bool
描述Builds target as if it was a building if true. (even if it's a unit)
isVisible:
值LogicBoolean
描述Hide this build link if true in this unit UI.
isLocked:
值LogicBoolean
描述Dynamically locks this build option and shows isLockedMessage if true.
isLockedMessage:
值string
描述Set to tell to players why a unit is locked.
isLockedMessage_{LANG}:
值string
描述isLockedMessage_es: -Necesita 2 Cuarteles
isLockedAlt:
值LogicBoolean
描述Another reason for this to be locked. Just allows a different message to be shown.
isLockedAltMessage:
值string
描述Message for isLockedAlt.
isLockedAlt2:
值LogicBoolean
描述Like isLockedAlt but to show one more message.
isLockedAlt2Message:
值string
描述Message for isLockedAlt2.
addResources:
值price(s)
描述Adds these resources to self when placing the building or producing the unit.
price:
值price(s)
描述Overrides builded units/buildings price. Defaults to target unit prices.
isGuiBlinking:
值LogicBoolean
描述Generates a blinking effect in UI if true.