Lua element: WTF

  • CeeJayBee
    5th Jan 2014 Member 3 Permalink

    Some strange, strange element I came up with. Has weird effects on stuff, mostly screwing everything into little bits.

     

    My first element, I accept constructive criticism.

     

    local WTF = elements.allocate('CJB', 'WTF')
        elements.element(elements.CJB_PT_WTF, elements.element(elements.DEFAULT_PT_BCOL))
        elements.property(elements.CJB_PT_WTF, 'Name', 'WTF')
        elements.property(elements.CJB_PT_WTF, 'Description', 'Derpy, volatile gas/solid/I have no bloody idea.')
        elements.property(elements.CJB_PT_WTF, 'Color', '0xB87503')
        elements.property(elements.CJB_PT_WTF, 'MenuSection', '11')
        elements.property(elements.CJB_PT_WTF, 'Gravity', '0.4')
        elements.property(elements.CJB_PT_WTF, 'Flammable', '16384')
        elements.property(elements.CJB_PT_WTF, 'Explosive', '1')
        elements.property(elements.CJB_PT_WTF, 'Loss', '1')
        elements.property(elements.CJB_PT_WTF, 'AirLoss', '20')
        elements.property(elements.CJB_PT_WTF, 'AirDrag', '0.02')
        elements.property(elements.CJB_PT_WTF, 'Advection', '1')
        elements.property(elements.CJB_PT_WTF, 'Weight', '20')
        elements.property(elements.CJB_PT_WTF, 'Diffusion', '16384')

        elements.property(elements.CJB_PT_WTF, 'Temperature', '16384')

        elements.property(elements.CJB_PT_WTF, 'HotAir', '900')

    local function Lflare(i, colr, colg, colb)
        return 1, 0x00000004, 255, 184, 117, 3, 255, 184, 117, 3
    end
    tpt.graphics_func(Lflare, WTF)

    Edited 8 times by CeeJayBee. Last: 8th Feb 2014
  • Millions
    5th Jan 2014 Member 2 Permalink

    Nice. I like the graphics. Keeep up the good work :P

  • Schneumer
    5th Jan 2014 Member 0 Permalink

    @CeeJayBee (View Post)

     I don't recommend naming it "WTF"? (
    Kid-Friendly ya know, kids these days all curse, don't need them saying "Mom, there is an element called What the ****)

  • billion57
    5th Jan 2014 Member 3 Permalink

    It's What The Fun, of course.

  • xetalim
    6th Jan 2014 Member 2 Permalink

    @Schneumer (View Post)

    Are you serious?

    WTF could be many things: What The Freak, What The Fun, What The Fan, What the Foam, What the Flavius Valerius Constantinus.

    There you go.

     

  • CeeJayBee
    6th Jan 2014 Member 0 Permalink

    Thanks for all the feedback :D

    @Schneumer (View Post)

     I'm going to keep it this name for now :P

  • Nobody905
    7th Jan 2014 Member 2 Permalink

    @Schneumer (View Post)

     Anything that tries to be kid-friendly these days fails.

  • Schneumer
    8th Jan 2014 Member 0 Permalink

    @xetalim (View Post)

     Wouldn't that be WTFVC?

    @Nobody905 (View Post)

     The very kiddy ones, yes. Those people....IDK why they make those things...

  • Box-Poorsoft
    8th Jan 2014 Banned 0 Permalink
    This post is hidden because the user is banned
  • jenn4
    8th Jan 2014 Member 0 Permalink
    @Box-Poorsoft (View Post)
    WTF = What The Fuck. (There. I said it. Doesn't mean you should.)