跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
帮助
RustedWarfare Wiki
搜索
搜索
创建账号
登录
个人工具
创建账号
登录
查看“mod参数/canBuild”的源代码
页面
讨论
大陆简体
阅读
查看源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
查看源代码
查看历史
常规
链入页面
相关更改
特殊页面
页面信息
链接
RustedWiki QQ群
←
mod参数/canBuild
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{RW代码|name:|string(s)|"List of unit identifiers this unit can create. Can be buildings or units. Add ""setRally"" to create a rally button"|"name: setRally, tank, hoverTank, heavyTank"}} {{RW代码|pos:|float|Order build link appears in this unit UI.|pos: 0.1}} {{RW代码|tech:|int|Tech level. Mostly just affects build link colour in this unit UI. Defaults to 1.|tech: 2}} {{RW代码|forceNano:|bool|Builds target as if it was a building if true. (even if it's a unit)|forceNano: true}} {{RW代码|isVisible:|LogicBoolean|Hide this build link if true in this unit UI.|isVisible: if not self.energy(greaterThan=100)}} {{RW代码|isLocked:|LogicBoolean|Dynamically locks this build option and shows isLockedMessage if true.|isLocked: if self.hp(lessThan=100)}} {{RW代码|isLockedMessage:|string|Set to tell to players why a unit is locked.|isLockedMessage: -Needs 2 Barracks}} {{RW代码|isLockedMessage_{LANG}:|string|LANG = ISO 639-1 Code to show this text instead when game is in this language.|isLockedMessage_es: -Necesita 2 Cuarteles}} {{RW代码|isLockedAlt:|LogicBoolean|Another reason for this to be locked. Just allows a different message to be shown.|isLockedAlt: if self.energy(greaterThan=90)}} {{RW代码|isLockedAltMessage:|string|Message for isLockedAlt.|isLockedAltMessage: -Needs less energy}} {{RW代码|isLockedAlt2:|LogicBoolean|Like isLockedAlt but to show one more message.|isLockedAlt2: if self.isMoving()}} {{RW代码|isLockedAlt2Message:|string|Message for isLockedAlt2.|isLockedAlt2Message: -Needs to be quiet}} {{RW代码|addResources:|price(s)|Adds these resources to self when placing the building or producing the unit.|"addResources: ammo=5, setFlag=1"}} {{RW代码|price:|price(s)|Overrides builded units/buildings price. Defaults to target unit prices.|"price: credits=1000, ammo=5"}} {{RW代码|isGuiBlinking:|LogicBoolean|Generates a blinking effect in UI if true.|isGuiBlinking: true}}
本页使用的模板:
模板:RW代码
(
查看源代码
)
返回
mod参数/canBuild
。
开关有限宽度模式