//#TPT-Directive ElementClass Element_GRVT PT_GRVT 177 Element_GRVT::Element_GRVT() { Identifier = "DEFAULT_PT_GRVT"; Name = "GRVT"; Colour = PIXPACK(0x00EE76); MenuVisible = 1; MenuSection = SC_NUCLEAR; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 1.00f; Loss = 1.00f; Collision = -.99f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = -1; Temperature = R_TEMP+273.15f; HeatConduct = 61; Description = "Gravitons. Create Newtonian Gravity."; State = ST_GAS; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_GRVT::update; Graphics = &Element_GRVT::graphics; }
//#TPT-Directive ElementClass Element_PLEX PT_PLEX 11 Element_PLEX::Element_PLEX() { Identifier = "DEFAULT_PT_PLEX"; Name = "C-4"; Colour = PIXPACK(0xD080E0); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 1000; Explosive = 2; Meltable = 50; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 88; Description = "Solid pressure sensitive explosive."; State = ST_SOLID; Properties = TYPE_SOLID | PROP_NEUTPENETRATE; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 673.0f; HighTemperatureTransition = PT_FIRE; Update = NULL; }
//#TPT-Directive ElementClass Element_COAL PT_COAL 59 Element_COAL::Element_COAL() { Identifier = "DEFAULT_PT_COAL"; Name = "COAL"; Colour = PIXPACK(0x222222); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.0f; HotAir = 0.0f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 20; PhotonReflectWavelengths = 0x00000000; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 200; Description = "Coal, Burns very slowly. Gets red when hot."; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_COAL::update; Graphics = &Element_COAL::graphics; }
//#TPT-Directive ElementClass Element_STNE PT_STNE 5 Element_STNE::Element_STNE() { Identifier = "DEFAULT_PT_STNE"; Name = "STNE"; Colour = PIXPACK(0xA0A0A0); MenuVisible = 1; MenuSection = SC_POWDERS; Enabled = 1; Advection = 0.4f; AirDrag = 0.04f * CFDS; AirLoss = 0.94f; Loss = 0.95f; Collision = -0.1f; Gravity = 0.3f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 1; Flammable = 0; Explosive = 0; Meltable = 5; Hardness = 1; Weight = 90; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 150; Description = "Heavy particles. Meltable."; State = ST_SOLID; Properties = TYPE_PART; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 983.0f; HighTemperatureTransition = PT_LAVA; Update = NULL; }
//#TPT-Directive ElementClass Element_WOOD PT_WOOD 17 Element_WOOD::Element_WOOD() { Identifier = "DEFAULT_PT_WOOD"; Name = "WOOD"; Colour = PIXPACK(0xC0A040); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 20; Explosive = 0; Meltable = 0; Hardness = 15; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 164; Description = "Wood, flammable."; State = ST_SOLID; Properties = TYPE_SOLID | PROP_NEUTPENETRATE; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 873.0f; HighTemperatureTransition = PT_FIRE; Update = &Element_WOOD::update; Graphics = &Element_WOOD::graphics; }
//#TPT-Directive ElementClass Element_O2 PT_O2 61 Element_O2::Element_O2()//attribute of elements { Identifier = "DEFAULT_PT_O2"; Name = "OXYG"; Colour = PIXPACK(0x80A0FF); MenuVisible = 1; MenuSection = SC_GAS; Enabled = 1; Advection = 2.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.99f; Loss = 0.30f; Collision = -0.1f; Gravity = 0.0f; Diffusion = 3.0f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = 1; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 70; Description = "Oxygen gas. Ignites easily."; State = ST_GAS; Properties = TYPE_GAS; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = 90.0f; LowTemperatureTransition = PT_LO2; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_O2::update; }
//#TPT-Directive ElementClass Element_QRTZ PT_QRTZ 132 Element_QRTZ::Element_QRTZ() { Identifier = "DEFAULT_PT_QRTZ"; Name = "QRTZ"; Colour = PIXPACK(0xAADDDD); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = 100; Temperature = R_TEMP+273.15f; HeatConduct = 3; Description = "Quartz, breakable mineral. Conducts but becomes brittle at lower temperatures."; State = ST_SOLID; Properties = TYPE_SOLID|PROP_HOT_GLOW|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 2573.15f; HighTemperatureTransition = PT_LAVA; Update = &Element_QRTZ::update; Graphics = &Element_QRTZ::graphics; }
//#TPT-Directive ElementClass Element_CLNE PT_CLNE 9 Element_CLNE::Element_CLNE() { Identifier = "DEFAULT_PT_CLNE"; Name = "CLNE"; Colour = PIXPACK(0xFFD010); MenuVisible = 1; MenuSection = SC_SPECIAL; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Solid. Duplicates any particles it touches."; State = ST_SOLID; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_CLNE::update; }
//#TPT-Directive ElementClass Element_SHLD1 PT_SHLD1 119 Element_SHLD1::Element_SHLD1() { Identifier = "DEFAULT_PT_SHLD1"; Name = "SHLD"; Colour = PIXPACK(0xAAAAAA); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 1.00f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 0; Description = "Shield, spark it to grow"; State = ST_SOLID; Properties = TYPE_SOLID|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = 7.0f; HighPressureTransition = PT_NONE; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_SHLD1::update; }
//#TPT-Directive ElementClass Element_BRCK PT_BRCK 67 Element_BRCK::Element_BRCK() { Identifier = "DEFAULT_PT_BRCK"; Name = "BRCK"; Colour = PIXPACK(0x808080); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Brick, breakable building material."; Properties = TYPE_SOLID|PROP_HOT_GLOW; LowPressure = IPL; LowPressureTransition = NT; HighPressure = 8.8f; HighPressureTransition = PT_STNE; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 1223.0f; HighTemperatureTransition = PT_LAVA; Update = NULL; Graphics = &Element_BRCK::graphics; }
//#TPT-Directive ElementClass Element_PBCN PT_PBCN 153 Element_PBCN::Element_PBCN() { Identifier = "DEFAULT_PT_PBCN"; Name = "PBCN"; Colour = PIXPACK(0x3B1D0A); MenuVisible = 1; MenuSection = SC_POWERED; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.97f; Loss = 0.50f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 12; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Powered breakable clone."; Properties = TYPE_SOLID|PROP_NOCTYPEDRAW; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_PBCN::update; Graphics = &Element_PBCN::graphics; }
//#TPT-Directive ElementClass Element_WIFI PT_WIFI 124 Element_WIFI::Element_WIFI() { Identifier = "DEFAULT_PT_WIFI"; Name = "WIFI"; Colour = PIXPACK(0x40A060); MenuVisible = 1; MenuSection = SC_ELEC; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 2; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 0; Description = "Wireless transmitter, transfers spark to any other wifi on the same temperature channel."; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = 15.0f; HighPressureTransition = PT_BRMT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_WIFI::update; Graphics = &Element_WIFI::graphics; }
//#TPT-Directive ElementClass Element_SND PT_SND PT_NORMAL_NUM + 11 Element_SND::Element_SND() { Identifier = "DEFAULT_PT_SND"; Name = "SND"; Colour = PIXPACK(0xDFDFDF); MenuVisible = 1; MenuSection = SC_SPECIAL; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = R_TEMP + 0.0f + 273.15f; HeatConduct = 0; Description = "Sound, creates sound waves."; State = ST_SOLID; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_SND::update; }
//#TPT-Directive ElementClass Element_ENZM PT_ENZM 194 Element_ENZM::Element_ENZM() { Identifier = "DEFAULT_PT_ENZM"; Name = "ENZM"; Colour = PIXPACK(0xA3A37C); MenuVisible = 1; MenuSection = SC_POWDERS; Enabled = 1; Advection = 0.4f; AirDrag = 0.04f * CFDS; AirLoss = 0.00f; Loss = 0.95f; Collision = -0.1f; Gravity = 0.1f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 1; Flammable = 0; Explosive = 0; Meltable = 5; Hardness = 1; Weight = 80; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 150; Description = "Enzyme, breaks down some things into their educts, multiplies with GOO, cures VIRS like SOAP does."; State = ST_SOLID; Properties = TYPE_PART; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = R_TEMP+100.0f +273.15f; HighTemperatureTransition = PT_WTRV; Update = &Element_ENZM::update; }
//#TPT-Directive ElementClass Element_NEUT PT_NEUT 18 Element_NEUT::Element_NEUT() { Identifier = "DEFAULT_PT_NEUT"; Name = "NEUT"; Colour = PIXPACK(0x20E0FF); MenuVisible = 1; MenuSection = SC_NUCLEAR; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 1.00f; Loss = 1.00f; Collision = -0.99f; Gravity = 0.0f; Diffusion = 0.01f; HotAir = 0.002f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = -1; Temperature = R_TEMP+4.0f +273.15f; HeatConduct = 60; Description = "Neutrons. Interact with matter in odd ways."; Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_NEUT::update; Graphics = &Element_NEUT::graphics; }
//#TPT-Directive ElementClass Element_FSPW PT_FSPW PT_NORMAL_NUM + 6 Element_FSPW::Element_FSPW() { Identifier = "DEFAULT_PT_FSPW"; Name = "FSPW"; Colour = PIXPACK(0x127BC1); MenuVisible = 0; MenuSection = SC_SPECIAL; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = 100; Temperature = R_TEMP + 273.15f; HeatConduct = 3; Description = "Force Field Spawner."; State = ST_SOLID; Properties = TYPE_SOLID | PROP_HOT_GLOW | PROP_LIFE_DEC | PROP_LIFE_KILL; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 2573.15f; HighTemperatureTransition = PT_LAVA; Update = &Element_FSPW::update; }
//#TPT-Directive ElementClass Element_EXOT PT_EXOT 145 Element_EXOT::Element_EXOT() { Identifier = "DEFAULT_PT_EXOT"; Name = "EXOT"; Colour = PIXPACK(0x247BFE); MenuVisible = 1; MenuSection = SC_NUCLEAR; Enabled = 1; Advection = 0.3f; AirDrag = 0.02f * CFDS; AirLoss = 0.95f; Loss = 0.80f; Collision = 0.0f; Gravity = 0.15f; Diffusion = 0.00f; HotAir = 0.0003f * CFDS; Falldown = 2; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 2; Weight = 46; Temperature = R_TEMP-2.0f +273.15f; HeatConduct = 250; Description = "Exotic matter. Explodes with excess exposure to electrons. Has many other odd reactions."; Properties = TYPE_LIQUID|PROP_NEUTPASS; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_EXOT::update; Graphics = &Element_EXOT::graphics; }
//#TPT-Directive ElementClass Element_PLNT PT_PLNT 20 Element_PLNT::Element_PLNT() { Identifier = "DEFAULT_PT_PLNT"; Name = "PLNT"; Colour = PIXPACK(0x0CAC00); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.95f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 20; Explosive = 0; Meltable = 0; Hardness = 10; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 65; Description = "Plant, drinks water and grows."; Properties = TYPE_SOLID|PROP_NEUTPENETRATE|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 573.0f; HighTemperatureTransition = PT_FIRE; Update = &Element_PLNT::update; Graphics = &Element_PLNT::graphics; }
//#TPT-Directive ElementClass Element_PRTO PT_PRTO 110 Element_PRTO::Element_PRTO() { Identifier = "DEFAULT_PT_PRTO"; Name = "PRTO"; Colour = PIXPACK(0x0020EB); MenuVisible = 1; MenuSection = SC_SPECIAL; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.005f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 0; Description = "Portal OUT. Particles come out here. Also has temperature dependent channels. (same as WIFI)"; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_PRTO::update; Graphics = &Element_PRTO::graphics; }
//#TPT-Directive ElementClass Element_SLCN PT_SLCN PT_NORMAL_NUM + 8 Element_SLCN::Element_SLCN() { Identifier = "DEFAULT_PT_SLCN"; Name = "SLCN"; Colour = PIXPACK(0x474747); MenuVisible = 1; MenuSection = SC_ELEC; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 1; Hardness = 0; Weight = 100; Temperature = R_TEMP + 0.0f + 273.15f; HeatConduct = 251; Description = "Silicons."; State = ST_SOLID; Properties = TYPE_SOLID | PROP_CONDUCTS | PROP_HOT_GLOW | PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = 95.0f; HighPressureTransition = PT_BSLN; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 1687.0f; HighTemperatureTransition = PT_LAVA; Update = NULL; }
//#TPT-Directive ElementClass Element_TUNG PT_TUNG 171 Element_TUNG::Element_TUNG() { Identifier = "DEFAULT_PT_TUNG"; Name = "TUNG"; Colour = PIXPACK(0x505050); MenuVisible = 0; MenuSection = SC_ELEC; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 1; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Tungsten. Brittle metal with a very high melting point."; Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 3695.0f;// TUNG melts in its update function instead of in the normal way, but store the threshold here so that it can be changed from Lua HighTemperatureTransition = NT; Update = &Element_TUNG::update; Graphics = &Element_TUNG::graphics; }
//#TPT-Directive ElementClass Element_HSWC PT_HSWC 75 Element_HSWC::Element_HSWC() { Identifier = "DEFAULT_PT_HSWC"; Name = "HSWC"; Colour = PIXPACK(0x3B0A0A); MenuVisible = 1; MenuSection = SC_POWERED; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Heat switch. Conducts heat only when activated."; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_HSWC::update; Graphics = &Element_HSWC::graphics; }
//#TPT-Directive ElementClass Element_SPNG PT_SPNG 90 Element_SPNG::Element_SPNG() { Identifier = "DEFAULT_PT_SPNG"; Name = "SPNG"; Colour = PIXPACK(0xFFBE30); MenuVisible = 1; MenuSection = SC_SOLIDS; Enabled = 1; Advection = 0.00f; AirDrag = 0.00f * CFDS; AirLoss = 0.00f; Loss = 0.00f; Collision = 0.00f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 20; Explosive = 0; Meltable = 0; Hardness = 30; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 251; Description = "Sponge, absorbs water. Is not a moving solid."; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 2730.0f; HighTemperatureTransition = PT_FIRE; Update = &Element_SPNG::update; Graphics = &Element_SPNG::graphics; }
//#TPT-Directive ElementClass Element_GPMP PT_GPMP 154 Element_GPMP::Element_GPMP() { Identifier = "DEFAULT_PT_GPMP"; Name = "GPMP"; Colour = PIXPACK(0x0A3B3B); MenuVisible = 0; MenuSection = SC_POWERED; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = 0.0f +273.15f; HeatConduct = 0; Description = "Gravity pump. Changes gravity to its temp when activated. (use HEAT/COOL)"; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_GPMP::update; Graphics = &Element_GPMP::graphics; }
//#TPT-Directive ElementClass Element_SOAP PT_SOAP 149 Element_SOAP::Element_SOAP() { Identifier = "DEFAULT_PT_SOAP"; Name = "SOAP"; Colour = PIXPACK(0xF5F5DC); MenuVisible = 1; MenuSection = SC_LIQUID; Enabled = 1; Advection = 0.6f; AirDrag = 0.01f * CFDS; AirLoss = 0.98f; Loss = 0.95f; Collision = 0.0f; Gravity = 0.1f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 2; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 20; Weight = 35; Temperature = R_TEMP-2.0f +273.15f; HeatConduct = 29; Description = "Soap. Creates bubbles, washes off deco color, and cures virus."; Properties = TYPE_LIQUID|PROP_NEUTPENETRATE|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITL; HighTemperatureTransition = NT; Update = &Element_SOAP::update; Graphics = &Element_SOAP::graphics; }
//#TPT-Directive ElementClass Element_NITR PT_NITR 8 Element_NITR::Element_NITR() { Identifier = "DEFAULT_PT_NITR"; Name = "NITR"; Colour = PIXPACK(0x20E010); MenuVisible = 1; MenuSection = SC_EXPLOSIVE; Enabled = 1; Advection = 0.5f; AirDrag = 0.02f * CFDS; AirLoss = 0.92f; Loss = 0.97f; Collision = 0.0f; Gravity = 0.2f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 2; Flammable = 1000; Explosive = 2; Meltable = 0; Hardness = 3; PhotonReflectWavelengths = 0x0007C000; Weight = 23; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 50; Description = "Nitroglycerin. Pressure sensitive explosive. Mix with CLST to make TNT."; Properties = TYPE_LIQUID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 673.0f; HighTemperatureTransition = PT_FIRE; Update = NULL; }
//#TPT-Directive ElementClass Element_DLAY PT_DLAY 79 Element_DLAY::Element_DLAY() { Identifier = "DEFAULT_PT_DLAY"; Name = "DLAY"; Colour = PIXPACK(0x753590); MenuVisible = 1; MenuSection = SC_POWERED; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 1; Weight = 100; Temperature = 4.0f+273.15f; HeatConduct = 0; Description = "Conducts with temperature-dependent delay. (use HEAT/COOL)."; Properties = TYPE_SOLID; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_DLAY::update; Graphics = &Element_DLAY::graphics; }
//#TPT-Directive ElementClass Element_GBMB PT_GBMB 157 Element_GBMB::Element_GBMB() { Identifier = "DEFAULT_PT_GBMB"; Name = "GBMB"; Colour = PIXPACK(0x1144BB); MenuVisible = 0; MenuSection = SC_FORCE; Enabled = 1; Advection = 0.6f; AirDrag = 0.01f * CFDS; AirLoss = 0.98f; Loss = 0.95f; Collision = 0.0f; Gravity = 0.1f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 1; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 20; Weight = 30; Temperature = R_TEMP-2.0f +273.15f; HeatConduct = 29; Description = "Gravity bomb. Sticks to the first object it touches then produces a strong gravity push."; Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Update = &Element_GBMB::update; Graphics = &Element_GBMB::graphics; }
//#TPT-Directive ElementClass Element_MGOH2 PT_MGOH2 170 Element_MGOH2::Element_MGOH2() { Identifier = "DEFAULT_PT_MGOH2"; Name = "MgOH2"; ATMnumber = 0; Colour = PIXPACK(0xBFC0B8); MenuVisible = 1; MenuSection = SC_CRACKER2; Enabled = 1; Advection = 0.7f; AirDrag = 0.02f * CFDS; AirLoss = 0.96f; Loss = 0.80f; Collision = 0.0f; Diffusion = 0.00f; Gravity = 0.1f; HotAir = 0.000f * CFDS; Falldown = 1; Flammable = 0; Explosive = 0; Meltable = 10; Hardness = 1; Weight = 100; Temperature = R_TEMP+273.15f; HeatConduct = 0; Description = "Magnesium Hydroxide."; State = ST_SOLID; Properties = TYPE_PART; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = 623.15f; HighTemperatureTransition = PT_LAVA; Update = &Element_MGO::update; }
//#TPT-Directive ElementClass Element_FRME PT_FRME 169 Element_FRME::Element_FRME() { Identifier = "DEFAULT_PT_FRME"; Name = "FRME"; Colour = PIXPACK(0x999988); MenuVisible = 1; MenuSection = SC_FORCE; Enabled = 1; Advection = 0.0f; AirDrag = 0.00f * CFDS; AirLoss = 0.90f; Loss = 0.00f; Collision = 0.0f; Gravity = 0.0f; Diffusion = 0.00f; HotAir = 0.000f * CFDS; Falldown = 0; Flammable = 0; Explosive = 0; Meltable = 0; Hardness = 0; Weight = 100; Temperature = R_TEMP+0.0f +273.15f; HeatConduct = 0; Description = "Frame, can be used with pistons to push many particles."; State = ST_SOLID; Properties = TYPE_SOLID|PROP_LIFE_DEC; LowPressure = IPL; LowPressureTransition = NT; HighPressure = IPH; HighPressureTransition = NT; LowTemperature = ITL; LowTemperatureTransition = NT; HighTemperature = ITH; HighTemperatureTransition = NT; Graphics = &Element_FRME::graphics; }