Difference between revisions of "User:Dr. Strangelove/Test/Alpha"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{#vardefine:defName|{{#invoke:Test|getDefName|assault rifle}}}}
 
{{#vardefine:defName|{{#invoke:Test|getDefName|assault rifle}}}}
 
{{#vardefine:cooldown|{{#invoke:Test|query|defName={{#var:defName}}|statBases|RangedWeapon_Cooldown}}}}
 
{{#vardefine:cooldown|{{#invoke:Test|query|defName={{#var:defName}}|statBases|RangedWeapon_Cooldown}}}}
{{#vardefine:len|{{#invoke:Test|count|defName={{#var:defName}}|verbs}}}}
+
{{#invoke:Test|count|defName={{#var:defName}}|verbs}}
{{#vardefine:defaultProjectile|{{#invoke:Test|query|defName={{#var:defName}}|verbs|1|defaultProjectile}}}}
 
{{#vardefine:dmg|{{#invoke:Test|count|defName={{#var:defaultProjectile}}|projectile|damageAmountBase}}}}
 

Revision as of 17:16, 16 May 2021