Bundling Scripts, modding now simplified.

  • The-Fall
    2nd Jan 2012 Member 0 Permalink
    Due to the wonderful addition of LUA scripting, and its flexibility in editing elements, we need a way to bundle multiple scripts in a folder perhaps and have all scripts in the folder run in parrallel, asides from having to type dofile("blah.lua") Over and over.

    Another point, we need to empty element slots, place holders of sorts for additional LUA elements.
    however this I suppose could be solved by simply inserting 5 dummy element slots in the engine to prevent a script from overwriting a element.

    What is the highest element value in the game? I know that it is FIGH (135) but are there any redundant, unused elements that can be used as overwrites for scripts? I have had to write scripts that often times overwrite somewhat important elements that are created or used in tandem with another element i.e Elec and Bomb for its effects.


  • jacksonmj
    2nd Jan 2012 Developer 0 Permalink

    https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=12127&PageNum=1#Message=183014:

    There are currently 6 empty element slots (mostly from all life types being merged into one element) that can be used for temporary elements.

    The names are: bran, lote, wind, frg2, frog, star
  • The-Fall
    2nd Jan 2012 Member 0 Permalink
    Thank you for your help!