Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------------
- ---Epic Exotic Chemistry Version 5- keys~> V,X,C-----
- -----------------------------------------------------
- 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,:p 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 = 9
- 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 = BFBFFBFF
- 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.boyl.name="RUMS"
- tpt.el.boyl.heat=340
- tpt.el.boyl.description="Rubidic Mold Spore, soap=death, density of spore cloud varies with temp, C key to activate mass colonization!"
- tpt.el.boyl.menusection=6
- tpt.el.boyl.color=0xBB11ff
- tpt.el.boyl.enabled=1
- tpt.el.boyl.gravity=0.1
- function moldspore()
- x=math.random(99999998,999999999)
- tpt.el.boyl.color=x
- end
- tpt.register_step(moldspore)
- 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)
- local element1 = elements.allocate("MOD", "MOLD")
- elements.element(elements.MOD_PT_MOLD, elements.element(elements.DEFAULT_PT_CAUS))
- elements.property(elements.MOD_PT_MOLD, "Name", "Mold")
- elements.property(elements.MOD_PT_MOLD, "Description", "Matter Eating Space Mold. X to spore")
- elements.property(elements.MOD_PT_MOLD, "Colour", 0xFFB33702)
- elements.property(elements.MOD_PT_MOLD, "MenuSection", 5)
- elements.property(elements.MOD_PT_MOLD, "Gravity", 0.0)
- elements.property(elements.MOD_PT_MOLD, "Loss", 0.0)
- elements.property(elements.MOD_PT_MOLD, "AirLoss", 0.0)
- elements.property(elements.MOD_PT_MOLD, "AirDrag", 0.0)
- elements.property(elements.MOD_PT_MOLD, "Advection", 0.0)
- elements.property(elements.MOD_PT_MOLD, "Weight", 0.1)
- elements.property(elements.MOD_PT_MOLD, "Flammable", 1000)
- elements.property(elements.MOD_PT_MOLD, "Explosive", 1000)
- elements.property(elements.MOD_PT_MOLD, "Diffusion", 0.01)
- elements.property(elements.MOD_PT_MOLD, "Properties", PROP_LIFE_DEC)
- elements.property(elements.MOD_PT_MOLD, "Properties", PROP_LIFE_KILL_DEC)
- function mold_tick(i, x, y, s, n)
- local rand = math.random(1, 200)
- if rand == 1 then
- tpt.set_property("type", elements.MOD_PT_MOLD, x+1, y+1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x-1, y+1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x, y+1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x+1, y-1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x-1, y-1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x, y-1)
- tpt.set_property("type", elements.MOD_PT_MOLD, x+1, y)
- tpt.set_property("type", elements.MOD_PT_MOLD, x-1, y)
- local rand2 = math.random(1, 100)
- if rand2 == 1 then
- tpt.set_property("tmp", 1, x+1, y+1)
- tpt.set_property("tmp", 1, x-1, y+1)
- tpt.set_property("tmp", 1, x, y+1)
- tpt.set_property("tmp", 1, x+1, y-1)
- tpt.set_property("tmp", 1, x-1, y-1)
- tpt.set_property("tmp", 1, x, y-1)
- tpt.set_property("tmp", 1, x+1, y)
- tpt.set_property("tmp", 1, x-1, y)
- tpt.set_property("vx", 1, x+1, y+1)
- tpt.set_property("vx", -1, x-1, y+1)
- tpt.set_property("vx", 0, x, y+1)
- tpt.set_property("vx", 1, x+1, y-1)
- tpt.set_property("vx", -1, x-1, y-1)
- tpt.set_property("vx", 0, x, y-1)
- tpt.set_property("vx", 1, x+1, y)
- tpt.set_property("vx", -1, x-1, y)
- tpt.set_property("vy", 1, x+1, y+1)
- tpt.set_property("vy", 1, x-1, y+1)
- tpt.set_property("vy", 1, x, y+1)
- tpt.set_property("vy", -1, x+1, y-1)
- tpt.set_property("vy", -1, x-1, y-1)
- tpt.set_property("vy", -1, x, y-1)
- tpt.set_property("vy", 0, x+1, y)
- tpt.set_property("vy", 0, x-1, y)
- elseif rand2 > 5 then
- tpt.set_property("type", elements.MOD_PT_MOLD, math.random(1, 10), math.random(1, 20))
- end
- if tpt.get_property("tmp", x, y) == 0 then
- tpt.set_property("type", 0, x, y)
- else
- local rand = math.random(1, 1)
- if rand == 1 then
- tpt.set_property("type", 0, x, y)
- end
- end
- end
- end
- tpt.element_func(mold_tick, elements.MOD_PT_MOLD)
- 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","rums","mold")
- 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")
- tpt.set_property("type","bmtl","mold")
- 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","mold","rums")
- tpt.set_property("type","dric","co2")
- tpt.set_property("type","ln2","piso")
- end
- end
- tpt.register_keypress(cool)
- function radioactive()
- x=math.random(9900,9995)
- tpt.el.psts.color=x
- end
- tpt.register_step(radioactive)
- tpt.el.wax.enabled=1
- function radioactive()
- x=math.random(99999890,99999999)
- tpt.el.wax.color=x
- end
- tpt.register_step(radioactive)
- tpt.el.mwax.enabled=1
- function radioactive()
- x=math.random(1,9999999)
- tpt.el.mwax.color=x
- end
- tpt.register_step(radioactive)
- tpt.el.anar.enabled=1
- function radioactive()
- x=math.random(99950,99999)
- tpt.el.anar.color=x
- end
- tpt.register_step(radioactive)
- 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 =9
- tpt.el.iron.weight = 101.5
- tpt.el.ttan.weight = 102.5
- tpt.el.dmnd.description =" Indestructible to all but MOLD."
- tpt.el.rime.menusection=9
- tpt.el.rime.menu=1
- tpt.el.frzw.menusection=7
- tpt.el.frzw.menu=1
- tpt.el.shd4.menu=1
- tpt.el.shd3.menu=1
- tpt.el.shd2.menu=1
- tpt.el.shd4.menusection=9
- tpt.el.shd3.menusection=9
- tpt.el.shd2.menusection=9
- tpt.el.bray.menu=1
- tpt.el.bray.menusection=11
- tpt.el.bizs.menusection=9
- tpt.el.bizs.menu=1
- tpt.el.bizg.menu=1
- tpt.el.bizg.menusection=6
- tpt.el.dyst.menu = 1
- tpt.el.bcol.flammable=4
- tpt.el.embr.menusection=5
- tpt.el.embr.menu=1
- 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
- tpt.el.fog.menu=1
- tpt.el.fog.menusection=6
- tpt.el.spwn.menu=1
- tpt.el.spwn2.menu=1
- tpt.el.spwn.menusection=11
- tpt.el.spwn2.menusection=11
- local element1 = 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 element1 = 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)
- ----------------------------------------------
- --------------(: wUPJJ2PQ :)------------------
- ----------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement