Command reference
AmmunitionType
Command words: ammo, ammotype, ammunition, ammunitiontype
Permission: SeniorAdmin
The ammunition command is used to view, create and edit ammunition types for ranged weapons. Each ammunition type should have a matching item component, but this will be automatically generated for you when you make a new ammunition type.
The syntax is as follows:
ammunition list - lists all ammunition types
ammunition edit <id|name> - opens the specified ammunition type for editing
ammunition edit new <name> <type> - creates a new ammunition type for editing
ammunition edit - equivalent of doing SHOW on your currently editing ammunition type
ammunition close - closes the currently edited ammunition type
ammunition clone <id|name> <new name> - creates a carbon copy of an ammunition type for editing
ammunition show <id|name> - shows a particular ammunition type.
ammunition set name <name> - sets the name
ammunition set grade <grade> - sets the grade (mostly used for guns)
ammunition set volume <volume> - sets the volume of the shot
ammunition set block <difficulty> - sets how difficult it is to block a shot
ammunition set dodge <difficulty> - sets how difficult it is to dodge a shot
ammunition set damagetype <type> - sets the damage type dealt
ammunition set accuracy <bonus> - sets the bonus accuracy from this ammo
ammunition set breakhit <%> - sets the ammo break chance on hit
ammunition set breakmiss <%> - sets the ammo break chance on miss
ammunition set damage <expression> - sets the damage expression
ammunition set stun <expression> - sets the stun expression
ammunition set pain <expression> - sets the pain expression
ammunition set alldamage <expression> - sets the damage, pain and stun expression at once
Note, with the damage/pain/stun expressions, you can use the following variables:
pointblank - 1 if fired at own bodypart or during coup de grace, 0 otherwise
quality - 0-11 for item quality, 5 = standard quality
degree - 0-5 for check success, 0 = marginal success, 5 = total success
inmelee - 1 if being fired in melee, or 0 otherwise
range - the range in rooms
Permission: SeniorAdmin
The ammunition command is used to view, create and edit ammunition types for ranged weapons. Each ammunition type should have a matching item component, but this will be automatically generated for you when you make a new ammunition type.
The syntax is as follows:
ammunition list - lists all ammunition types
ammunition edit <id|name> - opens the specified ammunition type for editing
ammunition edit new <name> <type> - creates a new ammunition type for editing
ammunition edit - equivalent of doing SHOW on your currently editing ammunition type
ammunition close - closes the currently edited ammunition type
ammunition clone <id|name> <new name> - creates a carbon copy of an ammunition type for editing
ammunition show <id|name> - shows a particular ammunition type.
ammunition set name <name> - sets the name
ammunition set grade <grade> - sets the grade (mostly used for guns)
ammunition set volume <volume> - sets the volume of the shot
ammunition set block <difficulty> - sets how difficult it is to block a shot
ammunition set dodge <difficulty> - sets how difficult it is to dodge a shot
ammunition set damagetype <type> - sets the damage type dealt
ammunition set accuracy <bonus> - sets the bonus accuracy from this ammo
ammunition set breakhit <%> - sets the ammo break chance on hit
ammunition set breakmiss <%> - sets the ammo break chance on miss
ammunition set damage <expression> - sets the damage expression
ammunition set stun <expression> - sets the stun expression
ammunition set pain <expression> - sets the pain expression
ammunition set alldamage <expression> - sets the damage, pain and stun expression at once
Note, with the damage/pain/stun expressions, you can use the following variables:
pointblank - 1 if fired at own bodypart or during coup de grace, 0 otherwise
quality - 0-11 for item quality, 5 = standard quality
degree - 0-5 for check success, 0 = marginal success, 5 = total success
inmelee - 1 if being fired in melee, or 0 otherwise
range - the range in rooms