0528
Revision as of 23:47, 27 November 2016 by Spaceeinstein (talk | contribs)
- Description
- Adds to the weapon budget stat
- Syntax
- 0528: add [int] to_money_spent_on_weapons_stats
- Parameter
- [int]
- Integer value
This opcode adds to the "Weapon Budget" stat (GXT key ST_WEAP
). The stat initially starts with a value of 0 and its value appears in the stats menu formatted as $0.00. The parameter can be any integer value, including negative ones. The value set with this opcode is saved in block 19 of the save file.
Keywords
register, save, money, spent, weapon, budget, statistics, stat