HIDDEN ELEMENTS MOD

  • vertigo
    27th Jun 2012 Member 7 Permalink

    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.

  • Dawgie
    27th Jun 2012 Member 1 Permalink

    Have you not found the hidden menu by pressing e?

     

    Edit: sorry i wasn't trying to sound negitive itspretty cool but i think somebody did this before you.

  • Catelite
    27th Jun 2012 Former Staff 0 Permalink

    Neat :D But most of these elements are not in the menus for a reason, lol.

     

    Still cool that someone did this n_n

  • vertigo
    27th Jun 2012 Member 0 Permalink

    Thanks, im very new to coding in lua, and i wanted to have ALL the elements visible.

    I know that there is the hidden elements menu, but I prefer having them displayed in the menu. ^^

  • boxmein
    27th Jun 2012 Former Staff 0 Permalink
    @vertigo (View Post)
    You used [ ] as the tag delimiters. That would work if it was BBCode, but in HTML tags are limited by < and >. So your code should be like this: <code> Yay, this is code!</code>
    Oh, and just a hint: if you don't want code to separate like it does, use <pre> instead.
    Here's some HTML you need to learn: [Link]
  • vertigo
    27th Jun 2012 Member 0 Permalink

    @boxmein (View Post)

     Anything about the mod? And thanks. I saw that link, and cool. Im going to edit the topic now.

  • billion57
    27th Jun 2012 Member 0 Permalink

    @Dawgie (View Post)

     Yup, mniip already did this.

  • boxmein
    28th Jun 2012 Former Staff 0 Permalink
    @vertigo (View Post)
    Oh, and you must be 1) using the non-WYSIWYG editor 2) <code></code> (Sorry if I didn't make it clear)
  • vertigo
    28th Jun 2012 Member 0 Permalink

    He actually did the exact same thing? Adding better descriptions and rearranging particles? I dont believe you. Give me a link to the topic? :D

  • mrsalit0s
    28th Jun 2012 Member 0 Permalink

    @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.