Nothing special.
This kind of scripting is just like if you put all of the commands into console, but autorun.lua alearedy does that each time you open TPT for you.
Check this thread:
https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=14540&PageNum=0
Basically, memorize the commands and how to use them, and you'll know how to do this.
The most basic ones start always by ''tpt.el''.
Yea.. powders can go through it..
Edit:
Alright people, I need ideas:
Since I created AWSM out of PSTE, I'll have to do some changes to CLST and reuse PSTS for something else..
Feel free to give ideas, and I'll add ''Credits to'' lines in the script for the changed lines.
Just a note: CLST has to turn into something which keeps the +nitro=tnt conversion acceptable.
JUST AN EDIT:
tpt.el.eqve.name = 'awsm'
tpt.el.eqve.description = 'AWESOMIUM. Is just awesome...'
tpt.el.eqve.color = 0xFFFF00
tpt.eltransition.eqve.tempLowValue = 1200
tpt.eltransition.eqve.tempLowType = tpt.element('glow')
tpt.eltransition.eqve.tempHighValue = 9000
tpt.eltransition.eqve.tempHighType = tpt.element('bomb')
tpt.eltransition.eqve.presHighValue = 900
tpt.eltransition.eqve.presHighType = 0
tpt.el.eqve.diffusion = 3
tpt.el.eqve.gravity = 5
tpt.el.eqve.weight = 5
tpt.el.eqve.heat = 5000
tpt.el.eqve.hardness = 1
tpt.el.eqve.properties = 2600
tpt.el.eqve.falldown = 5tpt.eltransition.glow.tempHighValue = 800
tpt.eltransition.glow.tempHighType = tpt.element('awsm')
From now on I use this one. If anyone wants to use it, go ahead, but I only update the other one.
Well, I'll update it so AWSM appears in a tab, once I know where is the submenu name-number list.
I know you dislike my attitude but I like to give a hint, it is best even not to sacrifice eqve ( though it is kind of useless) but to use gol names, because using gol names doesn't cause the gol type to be rewritten, since all gol types are sorts of life ( as you may have noticed) , just replace bran or frog or things like that with new types, then you still are able to use bran and frog and not lose any element ( in this way you can have
24 extra elements without sacrificing others).
Hmm.. so that's from where bran comes from.. thanks for the hint.
Thanks for warning so soon , it is a bummer though... (I didn't checked it out, I dumbly assumed, but I found another option (requiring effort) after some searching)
@ThunderSt ( ignore the hyperlinks at define)
If you really want to have some new element indices, it's possible to use (download if necessary) a c-editor to edit the powder toy source code and place a nem element name before num ( there will be a line < #define PT_NUM 161> (may be a higher number in later source code), just put a or some lines < #define PT_NAME xxx > before the PT_NUM and increase the number of PT_NUM accordingly, that should be enough to create a or some new element index/indices.
note: I heard it might currently only go till 256/255 for binary reasons