I am wishing/asking for a small array of variables that we can edit the values of via the scripts.
Say 10 as in var0 thru var9, then we can start to implement the RPG style accessories.
Like GOLD, HERBS, and other collectibles that can be saved in a pack.
Then any script could check (:var0greater=3:state=2,var0add=-2) and adjust values to use special powers, etc.
Just a small array would get us started but var0 to var99 would be better of course.
We could use the comment section of the scripts to keep track of which variable are for what..
;var0 is gold, var1 is eggs, var2 is flour, etc.
Not that I am going to bake a cake during a gunfight, but this would open endless possibilities to our gameplay.
This is the solution to both of his requests as you could script a store or skill stats with these variables.
; var16 is kill count, ..., var32 is combat skill
:var16greater=25:var32add=1,var16add=-25,state=4
The above would add 1 skill point to your COMBAT SKILL for every 25 kills.
Not counting the first kill though. (that's the cherry)
If course you would have to add...
var16add=1
... somewhere in your enemies' destroy scripts too, but you scripters already know that.