Difference between revisions of "User:Demolishun"
Jump to navigation
Jump to search
no edit summary
imported>Demolishun |
imported>Demolishun |
||
Line 15: | Line 15: | ||
script1="/#1000" | script1="/#1000" | ||
script2="+#baseAttack" | script2="+#baseAttack" | ||
script3="+=#attackValue" | |||
</pre> | </pre> | ||
Now the code to parse that and generate an output will take some work. It will be stored in an array. The array will be parsed at the appropriate place in the mod script and applied to values stored in StringMaps. Not as quick as script, but doable to have simple code embedded in an INI file. The main goal is extensibility and uniformity of implementing features in the mod. It forces everything to be organized and consistent leading to better more extensible code. At least that is what I tell myself when getting the brain damage to implement this. | Now the code to parse that and generate an output will take some work. It will be stored in an array. The array will be parsed at the appropriate place in the mod script and applied to values stored in StringMaps. Not as quick as script, but doable to have simple code embedded in an INI file. The main goal is extensibility and uniformity of implementing features in the mod. It forces everything to be organized and consistent leading to better more extensible code. At least that is what I tell myself when getting the brain damage to implement this. |