I finished it! :D for all to use. It is quite simple though. It also changes item's locations into more accurate sections. So, i called it Vertigo's Hidden Elements & Bugfixes Mod! (its actually one bugfix, that SPWN2 overflows the textbox.) HERE IS THE CODE:
<pre>
--Vertigo's Hidden Elements and Bugfixes Mod.
--Adding hidden elements to the menu.
tpt.el.dyst.menu=1
tpt.el.eqve.menu=1
tpt.el.shd4.menu=1
tpt.el.shd3.menu=1
tpt.el.shd2.menu=1
tpt.el.lolz.menu=1
tpt.el.love.menu=1
tpt.el.embr.menu=1
tpt.el.spwn.menu=1
tpt.el.spwn2.menu=1
tpt.el.fog.menu=1
tpt.el.rime.menu=1
tpt.el.frzw.menu=1
tpt.el.bizs.menu=1
tpt.el.bizg.menu=1
tpt.el.bray.menu=1
tpt.el.psts.menu=1
tpt.el.mort.menu=1
tpt.el.bran.menu=1
--Arranging hidden elements into their respective categories.
tpt.el.dyst.menusection=7
tpt.el.eqve.menusection=7
tpt.el.shd4.menusection=8
tpt.el.shd3.menusection=8
tpt.el.shd2.menusection=8
tpt.el.lolz.menusection=10
tpt.el.love.menusection=10
tpt.el.embr.menusection=4
tpt.el.spwn.menusection=10
tpt.el.spwn2.menusection=10
tpt.el.fog.menusection=5
tpt.el.rime.menusection=8
tpt.el.frzw.menusection=6
tpt.el.bizs.menusection=8
tpt.el.bizg.menusection=5
tpt.el.bray.menusection=10
tpt.el.psts.menusection=8
tpt.el.mort.menusection=7
tpt.el.bran.menusection=10
--Re-arranging elements into more accurate menu sections.
tpt.el.bhol.menusection=3
tpt.el.whol.menusection=3
tpt.el.invs.menusection=9
tpt.el.filt.menusection=9
tpt.el.insl.menusection=1
tpt.el.merc.menusection=6
tpt.el.gbmb.menusection=3
tpt.el.gpmp.menusection=3
--Bugfixes & modded materials section
tpt.el.spwn2.name="SPW2" --Bugfix where SPWN2 name overflows namebox.
--Adding a description to the elements. (you can change these if you wish.)
tpt.el.dyst.description="Dead yeast. Gotten by heating yeast."
tpt.el.eqve.description="Indestructible dust."
tpt.el.shd4.description="Fourth shield level, gotten by sparking shield."
tpt.el.shd3.description="Third shield level, gotten by sparking shield."
tpt.el.shd2.description="Second shield level, gotten by sparking shield."
tpt.el.lolz.description="Pattern-like particles. Forms pixelated words spelling lol."
tpt.el.love.description="Pattern-like particles. Forms pixelated heart shapes."
tpt.el.embr.description="Bomb/firework/electron-glass remains. Ignites some explosives."
tpt.el.spwn.description="Spawns a stickman."
tpt.el.spwn2.description="The second stickman spawner."
tpt.el.fog.description="Fog. Haze. Call it what you will, condenses into RIME."
tpt.el.rime.description="Rime. Gotten by flash-freezing steam."
tpt.el.frzw.description="Freezing water. Gotten by melting FRZZ or freeze powder."
tpt.el.bizs.description="The solid state of Bizarre matter. Gotten by heating BIZR"
tpt.el.bizg.description="The gaseous state of Bizarre matter. Gotten by cooling BIZR."
tpt.el.bray.description="B-ray. Gotten by sparking A-ray."
tpt.el.psts.description="The solid state of PSTE. This state is temporary, it is pressured PSTE."
tpt.el.mort.description="Particles that move sideways and emit smoke."
tpt.el.bran.description="Empty element. Does nothing. Can be modded into another element."
</pre>
EDIT: *Updated*
I will update this when powder updates. I hope you like it! It includes all the elements.
Please leave a comment on whether you like it or not, and if there are any elements you would like me to add/change-directory.
To use this mod make a new empty document and name it autorun.lua. Make sure it is named autorun.lua and not autorun.lua.txt or any other extension. Paste the code in there. Move the document iunto powder toy's diretory. Run tpt.
like this: <code> Yay, this is code!</code>
Anything about the mod? And thanks. I saw that link, and cool. Im going to edit the topic now.
Yup, mniip already did this.
@billion57 (View Post)
it was me, not mniip :/
@vertigo (View Post)
i already made this before with all existing secret elements and it is up to date. the description is unnessesary, because most of the secret elements already have a description.
https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=13854
/offtopic
i'm currently working on a Lua mod that make some changes to the behavior of the existing elements.