Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- EEC Lite v5 (v0.2), edited by TPT_PL ---
- --- Author of original EEC: ---------------
- -------- lapominator ----------------------
- --+++++++++++++++++++++++++++++++++++++++--
- -- Changes:
- -- New "radioactive" functions
- -- MOLD and RUMS re-added
- -- Hidden elements stay hidden
- -- SSTL in electronics menu
- -- DMND in special menu
- tpt.el.wax.name="CISO"
- tpt.el.wax.flammable=0
- tpt.el.wax.heat=40
- tpt.el.wax.menusection=10
- tpt.el.wax.color=0xffaa55
- tpt.el.wax.description=" C Isotope, unstable radioactive, Crystaline Isotope, forms within Isotope Z upon light P Isotope bombardment."
- tpt.el.wax.hardness=2
- tpt.el.wax.weight=101.0
- tpt.el.mwax.hardness=2
- tpt.el.mwax.name="DISO"
- tpt.el.mwax.flammable=0
- tpt.el.mwax.heat=-255
- tpt.el.mwax.menusection=10
- tpt.el.mwax.color=0x1111AA11
- tpt.el.mwax.weight=85.5
- tpt.el.mwax.gravity=-0.7
- tpt.el.mwax.diffusion = 4.5
- tpt.el.mwax.description="Destabalized C Isotope, lightly radioactive and vaporus."
- math.randomseed(os.time())
- function isotope(i,x,y,s,n)
- if tpt.parts[i].life==0 then
- tpt.parts[i].life=8
- end
- ox=math.random(x-1,x+1)
- oy=math.random(y-1,y+1)
- if tpt.get_property("type",ox,oy)==tpt.el.anar.id then
- tpt.set_property("type",tpt.el.glow.id,ox,oy)
- tpt.set_property("temp",tpt.get_property("temp",ox,oy)+100,ox,oy)
- tpt.create(math.random(x-1,x+1),math.random(y-1,y+1),tpt.el.caus.id)
- tpt.parts[i].life=tpt.parts[i].life-1
- end
- end
- tpt.element_func(isotope, tpt.el.wax.id,1)
- tpt.element_func(isotope, tpt.el.mwax.id,1)
- function caus(i,x,y,s,n)
- for ex=x-1,x+1,1 do
- for ey=y-1,y+1,1 do
- if tpt.get_property("type",ex,ey)==tpt.el.acid.id then
- tpt.delete(ex,ey)
- tpt.parts[i].life=tpt.parts[i].life-1
- if tpt.parts[i].life==51 then
- tpt.delete(i)
- end
- end
- end
- end
- end
- tpt.el.bran.name="HEMP"
- tpt.el.bran.enabled=1
- tpt.el.bran.color=0xBFFCFF
- tpt.el.bran.description=" Heavy Exotic Metallic Plasmoid, highly conductive, Isotopic decay of Destabalized CISO upon P Isotope bombardment.."
- tpt.el.bran.menu=1
- tpt.el.bran.weight=99
- tpt.el.bran.menusection=7
- tpt.el.bran.falldown=3
- tpt.el.bran.gravity=5
- tpt.el.bran.diffusion=2
- tpt.el.bran.heat=-255
- tpt.el.bran.advection=2
- tpt.eltransition.bran.tempHighValue = 1600
- tpt.eltransition.bran.tempHighType = tpt.element('exot')
- tpt.el.bran.explosive=1
- function graphics(i, colr, colg, colb)
- if tpt.get_property("temp",i) < 5000
- and tpt.get_property("temp",i) > 273 then
- return 0,0x00FF0030,255,0,255,0,75,183,0,255
- elseif tpt.get_property("temp",i) > 5000 then
- return 0,0x00ff0020,255,255,255,0,75,255,0,0
- elseif tpt.get_property("temp",i) < 273 then
- return 0,0x00ff0020,255,0,255,255,75,0,0,255
- end
- end
- tpt.graphics_func(graphics,tpt.el.bran.id)
- tpt.el.pste.name = 'EMV'
- tpt.el.pste.description = 'Exotic Metallic Vapor, conductive only once.'
- tpt.el.pste.color = 0xBFFBFF
- tpt.el.pste.menusection = 6
- tpt.el.pste.diffusion = 1.5
- tpt.el.pste.gravity = 0.5
- tpt.el.pste.weight = 1.0
- tpt.el.pste.heat = 10.0
- tpt.el.pste.hardness = 4.0
- tpt.el.pste.properties = 2600
- tpt.eltransition.pste.tempHighValue = 1800
- tpt.eltransition.pste.tempHighType = tpt.element('glow')
- tpt.el.clst.name="Dirt"
- tpt.el.clst.description="Dirt, just add water."
- tpt.el.clst.color=0xC77400
- tpt.el.clst.weight=85.0
- tpt.el.clst.menusection=8
- tpt.el.brmt.name="Rust"
- tpt.el.brmt.description="Oxidized iron."
- tpt.el.metl.name = "SSTL"
- tpt.el.metl.description = "Stainless Steel, uncorrosive and conductive."
- tpt.el.metl.hardness = -1
- tpt.el.metl.menusection = 1
- tpt.el.metl.color=0xA1AAA1
- tpt.el.metl.weight = 102.0
- tpt.el.psts.name = 'PEMV'
- tpt.el.psts.menu = 1
- tpt.el.psts.enabled=1
- tpt.el.psts.description = 'Pressurized Exotic Metallic Vapor.'
- tpt.el.psts.menusection = 10
- tpt.eltransition.psts.tempHighValue = 8888.0
- tpt.eltransition.psts.tempHighType = tpt.element('vibr')
- tpt.el.isoz.menusection=7
- tpt.el.isoz.hardness=2
- tpt.el.isoz.description=" Isotope Z, condenced from noble gas upon light neturon bombardment"
- tpt.el.iszs.hardness=2
- tpt.el.iszs.description=" Isotope Z Stabalized, under goes light radioactive decay"
- tpt.el.glow.name="EISO"
- tpt.el.glow.description="E Isotope, radioactive decay of D Isotope."
- tpt.el.glow.menusection=7
- tpt.el.glow.hardness=-1
- tpt.eltransition.glow.tempHighValue = 1400
- tpt.eltransition.glow.tempHighType = tpt.element('hemp')
- tpt.el.anar.name="PISO"
- tpt.el.anar.description="P Isotopes, The untested radioactive emissions of Jupiter's red spot , effected by energy X."
- tpt.el.anar.flammable=0
- tpt.el.anar.weight=101.0
- tpt.el.anar.heat=-50
- tpt.el.anar.hardness=-1
- tpt.el.anar.color=0xff11ffff
- tpt.el.anar.gravity=0.0
- tpt.el.anar.diffusion=4.0
- tpt.el.anar.falldown=-1
- tpt.el.anar.menusection=10
- tpt.el.anar.airloss=1
- tpt.el.anar.airdrag=0
- tpt.el.grav.name="IMEG"
- tpt.el.grav.description="Inert Metallic Exotic Gel, Very light and photo-voltaic. created within an exotic/micro-carbon based reaction."
- tpt.el.grav.menusection = 10
- tpt.el.grav.color = 0xBFBFFBFF
- tpt.el.grav.diffusion = 1.0
- tpt.el.grav.gravity = 0.5
- tpt.el.grav.weight = 2.0
- tpt.el.grav.heat = 1.0
- tpt.el.grav.flammable = 0.0
- math.randomseed(os.time())
- function boom (i,x,y,s,n)
- a=math.random(-1,1)
- b=math.random(-1,1)
- c=tpt.get_property("temp",i)
- if c>140+273.15 then
- tpt.create(x+a,y+b,"EMV")
- end
- end
- tpt.element_func(boom,tpt.el.grav.id)
- tpt.el.brel.name = 'CCOM'
- tpt.el.exot.description= "Exotic non conductive heavy Isotopic decay of HEMP, sensitive to energy particles."
- tpt.el.exot.color = 0xBFFBFB
- tpt.el.exot.menusection = 7
- tpt.el.exot.hardness=-1
- tpt.el.brel.menusection = 8
- tpt.el.brel.advection = 0.3
- tpt.el.brel.loss = 0.7
- tpt.el.brel.airdrag = 0.0
- tpt.el.brel.description= "Micro Carbon Compound, very conductive."
- tpt.el.brel.color = 0xA1AAA1
- tpt.el.brel.weight = 85.5
- tpt.el.brel.gravity = 0.5
- tpt.el.brel.hotair = 0.0
- tpt.el.brel.diffusion = 0.1
- tpt.el.brel.color = 0xB7B7A9
- tpt.eltransition.brel.tempHighValue = 9720
- tpt.eltransition.brel.tempHighType = tpt.element('dmnd')
- exot_react = 0
- math.randomseed(os.time())
- tpt.setfpscap(50)
- function exot_react(i,x,y,nt)
- local found_brel = false
- if tpt.get_property("type",x+1,y)==tpt.el.brel.id then
- found_brel = true
- end
- if tpt.get_property("type",x-1,y)==tpt.el.brel.id then
- found_brel = true
- end
- if tpt.get_property("type",x,y+1)==tpt.el.brel.id then
- found_brel = true
- end
- if tpt.get_property("type",x,y-1)==tpt.el.brel.id then
- found_brel = true
- end
- if found_brel then
- tpt.set_property("type","IMEG",x,y)
- exot_react = 100
- end
- end
- tpt.element_func(exot_react,tpt.el.exot.id,1)
- function heat(key,blank,blank,event)
- if string.upper(key) == "X" and event == 1 then
- tpt.set_property("temp",400,"iszs")
- tpt.set_property("temp",0,"bizr")
- tpt.set_property("temp",400,"yest")
- tpt.set_property("temp",400,"rbdm")
- tpt.set_property("type","fire","cflm")
- tpt.set_property("type","elec","piso")
- tpt.set_property("type","co2","dric")
- tpt.set_property("type","neut","uran")
- end
- end
- tpt.register_keypress(heat)
- function solidify(key,blank,blank,event)
- if string.upper(key) == "V" and event == 1 then
- tpt.set_property("type","brck","stne")
- tpt.set_property("type","qrtz","pqrt")
- tpt.set_property("type","glas","bgla")
- tpt.set_property("type","iron","rust")
- tpt.set_property("type","vibr","bvbr")
- tpt.set_property("type","spng","dyst")
- tpt.set_property("type","wood","yest")
- tpt.set_property("type","sstl","ccom")
- end
- end
- tpt.register_keypress(solidify)
- function cool(key,blank,blank,event)
- if string.upper(key) == "C" and event == 1 then
- tpt.set_property("temp",1,"lava")
- tpt.set_property("temp",200,"bizr")
- tpt.set_property("temp",200,"bizg")
- tpt.set_property("temp",0,"isoz")
- tpt.set_property("temp",100,"yest")
- tpt.set_property("temp",0,"diso")
- tpt.set_property("temp",0,"lrbd")
- tpt.set_property("temp",0,"dric")
- tpt.set_property("type","cflm","fire")
- tpt.set_property("type","nice","acid")
- tpt.set_property("type","cflm","warp")
- tpt.set_property("type","hygn","uran")
- tpt.set_property("type","cflm","plsm")
- tpt.set_property("type","frzz","snow")
- tpt.set_property("type","dric","co2")
- tpt.set_property("type","ln2","piso")
- end
- end
- tpt.register_keypress(cool)
- local Element1 = elements.allocate("MOD", "SNDM")
- elements.element(elements.MOD_PT_SNDM, elements.element(tpt.element("MERC")))
- elements.property(elements.MOD_PT_SNDM, "Name", "SNDM")
- elements.property(elements.MOD_PT_SNDM, "Color", 0xb1AAA1)
- elements.property(elements.MOD_PT_SNDM, "Gravity", 0)
- elements.property(elements.MOD_PT_SNDM, "Falldown", 0)
- elements.property(elements.MOD_PT_SNDM, "Weight", 100)
- elements.property(elements.MOD_PT_SNDM, "MenuVisible", 1)
- elements.property(elements.MOD_PT_SNDM, "MenuSection", 1)
- elements.property(elements.MOD_PT_SNDM, "Advection", 0.05)
- elements.property(elements.MOD_PT_SNDM, "AirDrag", 0.01)
- elements.property(elements.MOD_PT_SNDM, "Loss", 0.2)
- elements.property(elements.MOD_PT_SNDM, "Collision", -0.2)
- elements.property(elements.MOD_PT_SNDM, "Flammable", 0)
- elements.property(elements.MOD_PT_SNDM, "Hardness", 7)
- elements.property(elements.MOD_PT_SNDM, "Temperature", 250.0)
- elements.property(elements.MOD_PT_SNDM, "HeatConduct", 0)
- elements.property(elements.MOD_PT_SNDM, "Description", "Esendiem,:} strange & reactive.")
- local function Esendiem(i, x, y, s, n)
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.watr.id or element == tpt.el.dstw.id or element == tpt.el.bubw.id then
- tpt.parts[i].type = tpt.el.cnct.id
- tpt.set_property('life', math.random(100, 150), i)
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.oxyg.id or element == tpt.el.loxy.id then
- tpt.parts[i].type = tpt.el.brmt.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.caus.id then
- tpt.parts[i].type = tpt.el.nitr.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.acid.id then
- tpt.parts[i].type = tpt.el.metl.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.anar.id then
- tpt.parts[i].type = tpt.el.iron.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.neut.id then
- tpt.parts[i].type = tpt.el.lrbd.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.co2.id then
- tpt.parts[i].type = tpt.el.brel.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.bran.id then
- tpt.parts[i].type = tpt.el.grav.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.elec.id then
- tpt.parts[i].type = tpt.el.iszs.id
- end
- local element = tpt.get_property("type", x+math.random(-1, 1), y+math.random(-1, 1))
- if element == tpt.el.glow.id then
- tpt.parts[i].type = tpt.el.mwax.id
- end
- end
- tpt.element_func(Esendiem, elements.MOD_PT_SNDM)
- local elTemporaryValue = tpt.eltransition.dust.presHighValue
- local elTemporaryType = tpt.eltransition.dust.presHighType
- tpt.eltransition.dust.presHighValue = 25
- tpt.eltransition.dust.presHighType = tpt.element("CCOM")
- local elTemporaryValue = tpt.eltransition.brel.presHighValue
- local elTemporaryType = tpt.eltransition.brel.presHighType
- tpt.eltransition.brel.presHighValue = 115
- tpt.eltransition.brel.presHighType = tpt.element("dmnd")
- local elTemporaryValue = tpt.eltransition.exot.presHighValue
- local elTemporaryType = tpt.eltransition.exot.presHighType
- tpt.eltransition.exot.presHighValue = 55
- tpt.eltransition.exot.presHighType = tpt.element("hygn")
- local elTemporaryValue = tpt.eltransition.wood.presHighValue
- local elTemporaryType = tpt.eltransition.wood.presHighType
- tpt.eltransition.wood.presHighValue = 45
- tpt.eltransition.wood.presHighType = tpt.element("dust")
- local elTemporaryValue = tpt.eltransition.shld.presHighValue
- local elTemporaryType = tpt.eltransition.shld.presHighType
- tpt.eltransition.shld.presHighValue = 50
- tpt.eltransition.shld.presHighType = tpt.element("neut")
- local elTemporaryValue = tpt.eltransition.shd2.presHighValue
- local elTemporaryType = tpt.eltransition.shd2.presHighType
- tpt.eltransition.shd2.presHighValue = 120
- tpt.eltransition.shd2.presHighType = tpt.element("neut")
- local elTemporaryValue = tpt.eltransition.shd3.presHighValue
- local elTemporaryType = tpt.eltransition.shd3.presHighType
- tpt.eltransition.shd3.presHighValue = 150
- tpt.eltransition.shd3.presHighType = tpt.element("neut")
- local elTemporaryValue = tpt.eltransition.shd4.presHighValue
- local elTemporaryType = tpt.eltransition.shd4.presHighType
- tpt.eltransition.shd4.presHighValue = 200
- tpt.eltransition.shd4.presHighType = tpt.element("shd4")
- local elTemporaryValue = tpt.eltransition.wax.presHighValue
- local elTemporaryType = tpt.eltransition.wax.presHighType
- tpt.eltransition.wax.presHighValue = 25
- tpt.eltransition.wax.presHighType = tpt.element("elec")
- local elTemporaryValue = tpt.eltransition.metl.presHighValue
- local elTemporaryType = tpt.eltransition.metl.presHighType
- tpt.eltransition.metl.presHighValue = 100
- tpt.eltransition.metl.presHighType = tpt.element("iron")
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.wax.id then
- tpt.parts[i].type=tpt.el.deut.id
- end
- end
- tpt.element_func(react,tpt.el.phot.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.anar.id then
- tpt.parts[i].type=tpt.el.boyl.id
- end
- end
- tpt.element_func(react,tpt.el.rbdm.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.neut.id then
- tpt.parts[i].type=tpt.el.bvbr.id
- end
- end
- tpt.element_func(react,tpt.el.psts.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.anar.id then
- tpt.parts[i].type=tpt.el.wax.id
- end
- end
- tpt.element_func(react,tpt.el.iszs.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.yest.id then
- tpt.parts[i].type=tpt.el.desl.id
- end
- end
- tpt.element_func(react,tpt.el.oil.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.neut.id then
- tpt.parts[i].type=tpt.el.isoz.id
- end
- end
- tpt.element_func(react,tpt.el.nble.id)
- function react(i,x,y)
- typeel=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.phot.id then
- tpt.parts[i].type=tpt.el.oxyg.id
- end
- end
- tpt.element_func(react,tpt.el.hygn.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.oxyg.id then
- tpt.parts[i].type=tpt.el.nble.id
- end
- end
- tpt.element_func(react,tpt.el.elec.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.anar.id then
- tpt.parts[i].type=tpt.el.ln2.id
- end
- end
- tpt.element_func(react,tpt.el.brmt.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.anar.id then
- tpt.parts[i].type=tpt.el.qrtz.id
- end
- end
- tpt.element_func(react,tpt.el.co2.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.elec.id then
- tpt.parts[i].type=tpt.el.plut.id
- end
- end
- tpt.element_func(react,tpt.el.wax.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.watr.id then
- tpt.parts[i].type=tpt.el.vine.id
- end
- end
- tpt.element_func(react,tpt.el.wood.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.wax.id then
- tpt.parts[i].type=tpt.el.shld.id
- end
- end
- tpt.element_func(react,tpt.el.neut.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.wood.id then
- tpt.parts[i].type=tpt.el.dyst.id
- end
- end
- tpt.element_func(react,tpt.el.anar.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.sltw.id then
- tpt.parts[i].type=tpt.el.acid.id
- end
- end
- tpt.element_func(react,tpt.el.caus.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.watr.id then
- tpt.parts[i].type=tpt.el.plnt.id
- end
- end
- tpt.element_func(react,tpt.el.clst.id)
- function react(i,x,y)
- type=tpt.get_property("type",x+math.random(-1,1),y+math.random(-1,1))
- if type==tpt.el.soap.id then
- tpt.parts[i].type=tpt.el.merc.id
- end
- end
- tpt.element_func(react,tpt.el.boyl.id)
- tpt.el.rbdm.menusection=5
- tpt.el.vibr.menusection=9
- tpt.el.bvbr.menusection=8
- tpt.el.qrtz.weight=101.0
- tpt.el.dmnd.weight = 200.5
- tpt.el.dmnd.menusection = 11
- tpt.el.iron.weight = 101.5
- tpt.el.ttan.weight = 102.5
- tpt.el.acid.weight=25
- tpt.el.caus.weight=26
- tpt.el.merc.menusection = 7
- tpt.el.lrbd.menusection = 7
- tpt.el.watr.hardness=2
- tpt.el.dstw.hardness=2
- tpt.el.sltw.hardness=-1
- tpt.el.soap.weight=25
- tpt.el.soap.hardness=0
- tpt.el.gas.hardness=-1
- tpt.el.co2.hardness=-1
- tpt.el.smke.flammable=0
- tpt.el.wtrv.hardness=-1
- local BPDR = elements.allocate("FEYNMAN", "BPDR")
- elements.element(elements.FEYNMAN_PT_BPDR, elements.element(elements.DEFAULT_PT_BCOL))
- elements.property(elements.FEYNMAN_PT_BPDR, "Name", "BPDR")
- elements.property(elements.FEYNMAN_PT_BPDR, "Description", "Black Powder. Very explosive.")
- elements.property(elements.FEYNMAN_PT_BPDR, "Colour", 0x353535)
- elements.property(elements.FEYNMAN_PT_BPDR, "MenuSection", 5)
- elements.property(elements.FEYNMAN_PT_BPDR, "Gravity", .5)
- elements.property(elements.FEYNMAN_PT_BPDR, "Flammable", 10000)
- elements.property(elements.FEYNMAN_PT_BPDR, "Explosive", 1)
- elements.property(elements.FEYNMAN_PT_BPDR, "Loss", 1)
- elements.property(elements.FEYNMAN_PT_BPDR, "AirLoss", .5)
- elements.property(elements.FEYNMAN_PT_BPDR, "AirDrag", .01)
- elements.property(elements.FEYNMAN_PT_BPDR, "Advection", .01)
- elements.property(elements.FEYNMAN_PT_BPDR, "Weight", 0)
- elements.property(elements.FEYNMAN_PT_BPDR, "Diffusion", 0)
- local REXP = elements.allocate("FEYNMAN", "REXP")
- elements.element(elements.FEYNMAN_PT_REXP, elements.element(elements.DEFAULT_PT_BCOL))
- elements.property(elements.FEYNMAN_PT_REXP, "Name", "REXP")
- elements.property(elements.FEYNMAN_PT_REXP, "Description", "More realistic explosive. It explodes by burning rather than exploding and with lots of heat.")
- elements.property(elements.FEYNMAN_PT_REXP, "Colour", 0xFF5000)
- elements.property(elements.FEYNMAN_PT_REXP, "MenuSection", 5)
- elements.property(elements.FEYNMAN_PT_REXP, "Gravity", 0)
- elements.property(elements.FEYNMAN_PT_REXP, "Flammable", 10000)
- elements.property(elements.FEYNMAN_PT_REXP, "Explosive", 1)
- elements.property(elements.FEYNMAN_PT_REXP, "Loss", 0)
- elements.property(elements.FEYNMAN_PT_REXP, "AirLoss", 0)
- elements.property(elements.FEYNMAN_PT_REXP, "AirDrag", .0)
- elements.property(elements.FEYNMAN_PT_REXP, "Advection", 0)
- elements.property(elements.FEYNMAN_PT_REXP, "Diffusion", 0)
- -- Radioactive function rebuild by DanielGalrito
- function CisoGlow(i, r, g, b)
- Cisoglow = math.random(1,3)
- if Cisoglow == 1 then
- return 1, 0x00000001, 255, 253, 222, 202, 0, 0, 0, 0
- end
- if Cisoglow == 2 then
- return 1, 0x00000001, 255, 253, 222, 211, 0, 0, 0, 0
- end
- if Cisoglow == 3 then
- return 1, 0x00000001, 255, 253, 222, 168, 0, 0, 0, 0
- end
- end
- tpt.graphics_func(CisoGlow, tpt.element('wax'))
- function DisoGlow(i, r, g, b)
- Disoglowr = math.random(0,255)
- Disoglowg = math.random(0,255)
- Disoglowb = math.random(0,255)
- return 1, 0x00000001, 255, Disoglowr, Disoglowg, Disoglowb, 0, 0, 0, 0
- end
- tpt.graphics_func(DisoGlow, tpt.element('mwax'))
- function PemvGlow(i, r, g, b)
- PemvGlow = math.random(1,3)
- if PemvGlow == 1 then
- return 1, 0x00000001, 255, 0, 38, 9, 0, 0, 0, 0
- end
- if PemvGlow == 2 then
- return 1, 0x00000001, 255, 0, 37, 173, 0, 0, 0, 0
- end
- if PemvGlow == 3 then
- return 1, 0x00000001, 255, 0, 37, 244, 0, 0, 0, 0
- end
- end
- tpt.graphics_func(PemvGlow, tpt.element('psts'))
- function PisoGlow(i, r, g, b)
- Pisoglowr = math.random(0,1)
- Pisoglowg = math.random(110,160)
- Pisoglowb = math.random(130,135)
- return 1, 0x00000001, 255, Pisoglowr, Pisoglowg, Pisoglowb, 0, 0, 0, 0
- end
- tpt.graphics_func(PisoGlow, tpt.element('anar'))
- function RumsGlow(i, r, g, b)
- RumsGlow = math.random(1,7)
- if RumsGlow == 1 then
- return 1, 0x00022000, 255, 254, 205, 166, 100, 255, 205, 166
- end
- if RumsGlow == 2 then
- return 1, 0x00022000, 255, 254, 42, 236, 100, 255, 42, 236
- end
- if RumsGlow == 3 then
- return 1, 0x00022000, 255, 254, 140, 122, 100, 255, 140, 122
- end
- if RumsGlow == 4 then
- return 1, 0x00022000, 255, 254, 243, 70, 100, 255, 243, 70
- end
- if RumsGlow == 5 then
- return 1, 0x00022000, 255, 254, 46, 147, 100, 255, 46, 147
- end
- if RumsGlow == 6 then
- return 1, 0x00022000, 255, 254, 167, 252, 100, 255, 167, 252
- end
- if RumsGlow == 7 then
- return 1, 0x00022000, 255, 254, 178, 50, 100, 255, 178, 50
- end
- end
- tpt.graphics_func(RumsGlow, tpt.element('boyl'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement