Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.
C calculatorcalculator-gamescasiochesscrossy-roaddrive-madfx-cg50gamesgeometry-dashgraphing-calculatorndlessnumworksnumworks-appsnumworks-calculatornumworks-gamenumworks-gamestetristi-84-plus-ceti-nspire
/* NumPowder: The Powder Toy's element table (generated by tools/gen_elements.py: do not edit). Each element's
* functions are weak: one not ported yet is NULL. */
#include "sim.h"
int Element_BIZR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_BIZR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_COAL_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_COAL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_FIRE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_NTCT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
bool Element_PCLN_ctypeDraw(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
int Element_PIPE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_PIPE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_QRTZ_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_QRTZ_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_RFRG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_STKM_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_VIBR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int Element_VIBR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int Element_VIRS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
bool basicCtypeDraw(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
bool ctypeDrawVInCtype(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
bool ctypeDrawVInTmp(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
int el_ACEL_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_ACEL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ACID_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_ACID_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_AMTR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_AMTR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ANAR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ARAY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BANG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BASE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_BASE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BCLN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BMTL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BOMB_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_BOMB_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BOYL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BRAY_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_BRCK_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_BREC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BRMT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_BTRY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_C5_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_C5_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_CAUS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_CBNW_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_CBNW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_CFLM_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_CFLM_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_CLNE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_CLST_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_CLST_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_CLST_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_CO2_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_CONV_update(UPDATE_FUNC_ARGS) __attribute__((weak));
bool el_CRAY_ctypeDraw(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
int el_CRAY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_CRMC_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_CRMC_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_CRMC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DCEL_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_DCEL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DEST_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_DEST_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DEUT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_DEUT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DLAY_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_DLAY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DMG_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_DMG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DRAY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DSTW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_DTEC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_ELEC_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_ELEC_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_ELEC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_EMBR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_EMBR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_EMP_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
void el_ETRD_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
int el_EXOT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_EXOT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_FIGH_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
bool el_FIGH_createAllowed(ELEMENT_CREATE_ALLOWED_FUNC_ARGS) __attribute__((weak));
int el_FIGH_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_FILT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_FILT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
void el_FIRE_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_FIRE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_FIRW_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_FIRW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FOG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FRAY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FRME_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_FRZW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FRZZ_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FSEP_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FUSE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_FWRK_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GBMB_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GBMB_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GEL_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GEL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_GLAS_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_GLAS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GLOW_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GLOW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GOLD_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GOLD_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GOO_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GPMP_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GPMP_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_GRAV_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GRAV_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_GRVT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_GRVT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_GRVT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_H2_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_HEAC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_HSWC_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_HSWC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ICEI_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_IGNT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_INVIS_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_INVIS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_IRON_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ISOZ_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_ISZS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_LAVA_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_LAVA_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_LCRY_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_LCRY_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_LDTC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_LIFE_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_LIFE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
void el_LIGH_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_LIGH_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_LIGH_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_LITH_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_LITH_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_LSNS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_MERC_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_MORT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_NBHL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_NBLE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_NEUT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_NEUT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_NEUT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_NWHL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_O2_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PBCN_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PBCN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PCLN_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PCLN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_PHOT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_PHOT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PHOT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PLNT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PLNT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_PLSM_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_PLSM_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PLUT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_POLO_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_POLO_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_PQRT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
void el_PROT_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_PROT_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PROT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PRTI_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PRTI_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PRTO_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PRTO_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PSNS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
bool el_PSTN_ctypeDraw(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
int el_PSTN_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PSTN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PTCT_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_PTNM_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_PTNM_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PTNM_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PUMP_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PUMP_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_PVOD_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_PVOD_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_QRTZ_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_RIME_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_ROCK_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_ROCK_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_RPEL_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_RSSS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_RSST_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_SEED_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_SEED_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SEED_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SHLD1_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SHLD2_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SHLD3_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SHLD4_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_SING_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_SING_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_SLCN_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_SLCN_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SLCN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SLTW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SMKE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SNOW_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_SOAP_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
int el_SOAP_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SOAP_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_SPAWN2_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
bool el_SPAWN2_createAllowed(ELEMENT_CREATE_ALLOWED_FUNC_ARGS) __attribute__((weak));
void el_SPAWN_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
bool el_SPAWN_createAllowed(ELEMENT_CREATE_ALLOWED_FUNC_ARGS) __attribute__((weak));
int el_SPNG_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SPNG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SPRK_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SPRK_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_STKM2_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
void el_STKM2_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
bool el_STKM2_createAllowed(ELEMENT_CREATE_ALLOWED_FUNC_ARGS) __attribute__((weak));
int el_STKM2_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_STKM_changeType(ELEMENT_CHANGETYPE_FUNC_ARGS) __attribute__((weak));
void el_STKM_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
bool el_STKM_createAllowed(ELEMENT_CREATE_ALLOWED_FUNC_ARGS) __attribute__((weak));
int el_STKM_update(UPDATE_FUNC_ARGS) __attribute__((weak));
bool el_STOR_ctypeDraw(CTYPEDRAW_FUNC_ARGS) __attribute__((weak));
int el_STOR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_STOR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_SWCH_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_SWCH_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_TESC_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_THDR_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_THDR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_TRON_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_TRON_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_TRON_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_TSNS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_TTAN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_TUNG_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_TUNG_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_TUNG_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_URAN_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_VINE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_VINE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_VIRS_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_VRSG_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_VRSS_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_VSNS_update(UPDATE_FUNC_ARGS) __attribute__((weak));
void el_WARP_create(ELEMENT_CREATE_FUNC_ARGS) __attribute__((weak));
int el_WARP_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_WARP_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_WATR_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_WIFI_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_WIFI_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_WIRE_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_WIRE_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_WOOD_graphics(GRAPHICS_FUNC_ARGS) __attribute__((weak));
int el_WOOD_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_WTRV_update(UPDATE_FUNC_ARGS) __attribute__((weak));
int el_YEST_update(UPDATE_FUNC_ARGS) __attribute__((weak));
const Element elements[PT_NUM] = {
[PT_NONE] = {
.Identifier = "DEFAULT_PT_NONE",
.Name = "NONE",
.Colour = 0x000000,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Erases particles.",
.Properties = 0,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_DUST] = {
.Identifier = "DEFAULT_PT_DUST",
.Name = "DUST",
.Colour = 0xFFE0A0,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 10,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFC0,
.Weight = 85,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Very light dust. Flammable.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_WATR] = {
.Identifier = "DEFAULT_PT_WATR",
.Name = "WATR",
.Colour = 0x2030D0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Water. Conducts electricity, freezes, and extinguishes fires.",
.Properties = TYPE_LIQUID | PROP_CONDUCTS | PROP_LIFE_DEC | PROP_NEUTPASS | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 273.15f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = 373.0f,
.HighTemperatureTransition = PT_WTRV,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WATR_update,
},
[PT_OIL] = {
.Identifier = "DEFAULT_PT_OIL",
.Name = "OIL",
.Colour = 0x404010,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 5,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 20,
.HeatConduct = 42,
.HeatCapacity = 1,
.Description = "Flammable, turns into GAS at low pressure or high temperature.",
.Properties = TYPE_LIQUID | PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 333.0f,
.HighTemperatureTransition = PT_GAS,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_FIRE] = {
.Identifier = "DEFAULT_PT_FIRE",
.Name = "FIRE",
.Colour = 0xFF1000,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.9f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.20f,
.Collision = 0.0f,
.Gravity = -0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.001f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 2,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Ignites flammable materials. Heats air.",
.Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2773.0f,
.HighTemperatureTransition = PT_PLSM,
.DefaultProperties = {.temp = R_TEMP + 400.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_FIRE_update,
.Graphics = el_FIRE_graphics,
.Create = el_FIRE_create,
},
[PT_STNE] = {
.Identifier = "DEFAULT_PT_STNE",
.Name = "STNE",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 5,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "Stone. Heavy particles, meltable.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 983.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_LAVA] = {
.Identifier = "DEFAULT_PT_LAVA",
.Name = "LAVA",
.Colour = 0xE05010,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.3f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.15f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.0003f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FF00000,
.Weight = 45,
.HeatConduct = 60,
.HeatCapacity = 1,
.Description = "Molten lava. Ignites flammable materials. Generated when metals and other materials melt, solidifies when cold.",
.Properties = TYPE_LIQUID|PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = MAX_TEMP,
.LowTemperatureTransition = ST,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 1500.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_FIRE_update,
.Graphics = el_LAVA_graphics,
.Create = el_LAVA_create,
},
[PT_GUNP] = {
.Identifier = "DEFAULT_PT_GUNP",
.Name = "GUN",
.Colour = 0xC0C0D0,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.94f,
.Loss = 0.80f,
.Collision = -0.1f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 600,
.Explosive = 1,
.Meltable = 0,
.Hardness = 10,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 85,
.HeatConduct = 97,
.HeatCapacity = 1,
.Description = "Gunpowder. Light dust, explodes on contact with fire or spark.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_NITR] = {
.Identifier = "DEFAULT_PT_NITR",
.Name = "NITR",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 1000,
.Explosive = 2,
.Meltable = 0,
.Hardness = 3,
.PhotonReflectWavelengths = 0x0007C000,
.Weight = 23,
.HeatConduct = 50,
.HeatCapacity = 1,
.Description = "Nitroglycerin. Pressure sensitive explosive. Mix with CLST to make TNT.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_CLNE] = {
.Identifier = "DEFAULT_PT_CLNE",
.Name = "CLNE",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Clone. Duplicates any particles it touches.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CLNE_update,
.CtypeDraw = ctypeDrawVInTmp,
},
[PT_GAS] = {
.Identifier = "DEFAULT_PT_GAS",
.Name = "GAS",
.Colour = 0xE0FF20,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.75f,
.HotAir = 0.001f * CFDS,
.Falldown = 0,
.Flammable = 600,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 42,
.HeatCapacity = 1,
.Description = "Diffuses quickly and is flammable. Liquefies into OIL under pressure.",
.Properties = TYPE_GAS | PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 6.0f,
.HighPressureTransition = PT_OIL,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 573.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_PLEX] = {
.Identifier = "DEFAULT_PT_PLEX",
.Name = "C-4",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 1000,
.Explosive = 2,
.Meltable = 50,
.Hardness = 1,
.PhotonReflectWavelengths = 0x1F00003E,
.Weight = 100,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Solid pressure sensitive explosive.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_GOO] = {
.Identifier = "DEFAULT_PT_GOO",
.Name = "GOO",
.Colour = 0x804000,
.MenuVisible = 1,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.50f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 12,
.PhotonReflectWavelengths = 0x3FFAAA00,
.Weight = 100,
.HeatConduct = 75,
.HeatCapacity = 1,
.Description = "Deforms and disappears under pressure.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GOO_update,
},
[PT_ICEI] = {
.Identifier = "DEFAULT_PT_ICEI",
.Name = "ICE",
.Colour = 0xA0C0FF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.0003f* CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 46,
.HeatCapacity = 1,
.Description = "Crushes under pressure. Cools down air.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_NEUTPASS,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 0.8f,
.HighPressureTransition = PT_SNOW,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 252.05f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = R_TEMP - 50.0f + 273.15f, .life = 0, .ctype = PT_WATR, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ICEI_update,
},
[PT_METL] = {
.Identifier = "DEFAULT_PT_METL",
.Name = "METL",
.Colour = 0x404060,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Metal, the basic conductor. Meltable.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1273.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_SPRK] = {
.Identifier = "DEFAULT_PT_SPRK",
.Name = "SPRK",
.Colour = 0xFFFF80,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.001f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x00000000,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Electricity. The basis of all electronics in TPT, travels along conductive elements.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SPRK_update,
.Graphics = el_SPRK_graphics,
},
[PT_SNOW] = {
.Identifier = "DEFAULT_PT_SNOW",
.Name = "SNOW",
.Colour = 0xC0E0FF,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.90f,
.Collision = -0.1f,
.Gravity = 0.05f,
.NewtonianGravity = 1,
.Diffusion = 0.01f,
.HotAir = -0.00005f* CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x03FFFFFF,
.Weight = 50,
.HeatConduct = 46,
.HeatCapacity = 1,
.Description = "Light particles. Created when ICE breaks under pressure.",
.Properties = TYPE_PART|PROP_NEUTPASS,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 252.05f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = R_TEMP - 30.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SNOW_update,
},
[PT_WOOD] = {
.Identifier = "DEFAULT_PT_WOOD",
.Name = "WOOD",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 16,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 164,
.HeatCapacity = 1,
.Description = "Wood, flammable.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 873.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WOOD_update,
.Graphics = el_WOOD_graphics,
},
[PT_NEUT] = {
.Identifier = "DEFAULT_PT_NEUT",
.Name = "NEUT",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.01f,
.HotAir = 0.002f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 60,
.HeatCapacity = 1,
.Description = "Neutrons. Interact with matter in odd ways.",
.Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_NEUT_update,
.Graphics = el_NEUT_graphics,
.Create = el_NEUT_create,
},
[PT_PLUT] = {
.Identifier = "DEFAULT_PT_PLUT",
.Name = "PLUT",
.Colour = 0x407020,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.4f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x001FCE00,
.Weight = 90,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Plutonium. Heavy, fissile particles. Generates neutrons under pressure.",
.Properties = TYPE_PART|PROP_NEUTPASS|PROP_RADIOACTIVE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PLUT_update,
},
[PT_PLNT] = {
.Identifier = "DEFAULT_PT_PLNT",
.Name = "PLNT",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 10,
.PhotonReflectWavelengths = 0x0007C000,
.Weight = 100,
.HeatConduct = 65,
.HeatCapacity = 1,
.Description = "Plant, drinks water and grows.",
.Properties = TYPE_SOLID|PROP_NEUTPENETRATE|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 573.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PLNT_update,
.Graphics = el_PLNT_graphics,
},
[PT_ACID] = {
.Identifier = "DEFAULT_PT_ACID",
.Name = "ACID",
.Colour = 0xED55FF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 40,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x1FE001FE,
.Weight = 10,
.HeatConduct = 34,
.HeatCapacity = 1,
.Description = "Dissolves almost everything.",
.Properties = TYPE_LIQUID|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 75, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ACID_update,
.Graphics = el_ACID_graphics,
},
[PT_VOID] = {
.Identifier = "DEFAULT_PT_VOID",
.Name = "VOID",
.Colour = 0x790B0B,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.0003f* CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Hole, will drain away any particles.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.CtypeDraw = basicCtypeDraw,
},
[PT_WTRV] = {
.Identifier = "DEFAULT_PT_WTRV",
.Name = "WTRV",
.Colour = 0xA0A0FF,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = -0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.75f,
.HotAir = 0.0003f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 4,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 48,
.HeatCapacity = 1,
.Description = "Steam. Produced from hot water.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 371.0f,
.LowTemperatureTransition = ST,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 100.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WTRV_update,
},
[PT_CNCT] = {
.Identifier = "DEFAULT_PT_CNCT",
.Name = "CNCT",
.Colour = 0xC0C0C0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 2,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 55,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Concrete. Can stack on itself or ROCK, collapses with pressure.",
.Properties = TYPE_PART|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1123.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_DSTW] = {
.Identifier = "DEFAULT_PT_DSTW",
.Name = "DSTW",
.Colour = 0x1020C0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 23,
.HeatCapacity = 1,
.Description = "Distilled water, does not conduct electricity.",
.Properties = TYPE_LIQUID | PROP_NEUTPASS | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 273.15f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = 373.0f,
.HighTemperatureTransition = PT_WTRV,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DSTW_update,
},
[PT_SALT] = {
.Identifier = "DEFAULT_PT_SALT",
.Name = "SALT",
.Colour = 0xFFFFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 5,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 75,
.HeatConduct = 110,
.HeatCapacity = 1,
.Description = "Salt, dissolves in water.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1173.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_SLTW] = {
.Identifier = "DEFAULT_PT_SLTW",
.Name = "SLTW",
.Colour = 0x4050F0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 35,
.HeatConduct = 75,
.HeatCapacity = 1,
.Description = "Saltwater, conducts electricity, difficult to freeze.",
.Properties = TYPE_LIQUID | PROP_CONDUCTS | PROP_LIFE_DEC | PROP_NEUTPENETRATE | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 252.05f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = 383.0f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SLTW_update,
},
[PT_DMND] = {
.Identifier = "DEFAULT_PT_DMND",
.Name = "DMND",
.Colour = 0xCCFFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 186,
.HeatCapacity = 1,
.Description = "Diamond. Indestructible.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_BMTL] = {
.Identifier = "DEFAULT_PT_BMTL",
.Name = "BMTL",
.Colour = 0x505070,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Breakable metal. Common conductive building material, can melt and break under pressure.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 1.0f,
.HighPressureTransition = ST,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1273.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BMTL_update,
},
[PT_BRMT] = {
.Identifier = "DEFAULT_PT_BRMT",
.Name = "BRMT",
.Colour = 0x705060,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 2,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 211,
.HeatCapacity = 1,
.Description = "Broken metal. Created when iron rusts or when metals break from pressure.",
.Properties = TYPE_PART|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1273.0f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BRMT_update,
},
[PT_PHOT] = {
.Identifier = "DEFAULT_PT_PHOT",
.Name = "PHOT",
.Colour = 0xFFFFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Photons. Refract through glass, and different elements change its color. Can ignite flammable materials.",
.Properties = TYPE_ENERGY | PROP_PHOTPASS | PROP_LIFE_DEC | PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 900.0f + 273.15f, .life = 680, .ctype = 0x3FFFFFFF, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PHOT_update,
.Graphics = el_PHOT_graphics,
.Create = el_PHOT_create,
},
[PT_URAN] = {
.Identifier = "DEFAULT_PT_URAN",
.Name = "URAN",
.Colour = 0x707020,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.4f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x003FC000,
.Weight = 90,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Uranium. Heavy particles. Generates heat under pressure.",
.Properties = TYPE_PART | PROP_RADIOACTIVE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 30.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_URAN_update,
},
[PT_WAX] = {
.Identifier = "DEFAULT_PT_WAX",
.Name = "WAX",
.Colour = 0xF0F0BB,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 10,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 44,
.HeatCapacity = 1,
.Description = "Flammable, melts at moderately high temperatures.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 319.0f,
.HighTemperatureTransition = PT_MWAX,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_MWAX] = {
.Identifier = "DEFAULT_PT_MWAX",
.Name = "MWAX",
.Colour = 0xE0E0AA,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.3f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.15f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000001f* CFDS,
.Falldown = 2,
.Flammable = 5,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 25,
.HeatConduct = 44,
.HeatCapacity = 1,
.Description = "Liquid Wax. Hardens into WAX at 45 degrees.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 318.0f,
.LowTemperatureTransition = PT_WAX,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 28.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_PSCN] = {
.Identifier = "DEFAULT_PT_PSCN",
.Name = "PSCN",
.Colour = 0x805050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x00000000,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "P-Type Silicon, Will transfer current to any conductor. Enables powered materials.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_NSCN] = {
.Identifier = "DEFAULT_PT_NSCN",
.Name = "NSCN",
.Colour = 0x505080,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x00000000,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "N-Type Silicon, Will not transfer current to P-Type Silicon. Disables powered materials.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_LNTG] = {
.Identifier = "DEFAULT_PT_LNTG",
.Name = "LN2",
.Colour = 0x80A0DF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Liquid Nitrogen. Very cold, disappears whenever it touches anything warmer.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 63.0f,
.LowTemperatureTransition = PT_NICE,
.HighTemperature = 77.0f,
.HighTemperatureTransition = PT_NONE,
.DefaultProperties = {.temp = 70.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_INSL] = {
.Identifier = "DEFAULT_PT_INSL",
.Name = "INSL",
.Colour = 0x9EA3B6,
.MenuVisible = 1,
.MenuSection = SC_ELEC,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 7,
.Explosive = 0,
.Meltable = 0,
.Hardness = 10,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Insulator. Blocks heat, electricity, and radiation.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_BHOL] = {
.Identifier = "DEFAULT_PT_BHOL",
.Name = "VACU",
.Colour = 0x303030,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.01f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 255,
.HeatCapacity = 1,
.Description = "Vacuum, sucks in other particles and heats up.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 70.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_WHOL] = {
.Identifier = "DEFAULT_PT_WHOL",
.Name = "VENT",
.Colour = 0xEFEFEF,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.010f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 255,
.HeatCapacity = 1,
.Description = "Air vent, creates pressure and pushes other particles away.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 16.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_RBDM] = {
.Identifier = "DEFAULT_PT_RBDM",
.Name = "RBDM",
.Colour = 0xCCCCCC,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 1000,
.Explosive = 1,
.Meltable = 50,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 240,
.HeatCapacity = 1,
.Description = "Rubidium. Explosive, especially on contact with water. Low melting point.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 312.0f,
.HighTemperatureTransition = PT_LRBD,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_LRBD] = {
.Identifier = "DEFAULT_PT_LRBD",
.Name = "LRBD",
.Colour = 0xAAAAAA,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.3f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.15f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000001f* CFDS,
.Falldown = 2,
.Flammable = 1000,
.Explosive = 1,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 45,
.HeatConduct = 170,
.HeatCapacity = 1,
.Description = "Liquid Rubidium.",
.Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 311.0f,
.LowTemperatureTransition = PT_RBDM,
.HighTemperature = 961.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 45.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_NTCT] = {
.Identifier = "DEFAULT_PT_NTCT",
.Name = "NTCT",
.Colour = 0x505040,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "NTC Thermistor. Conducts with PSCN and NSCN, but only when heated above 100C.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_NTCT_update,
},
[PT_SAND] = {
.Identifier = "DEFAULT_PT_SAND",
.Name = "SAND",
.Colour = 0xFFD090,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 5,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "Sand, Heavy particles. Melts into glass.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1973.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_GLAS] = {
.Identifier = "DEFAULT_PT_GLAS",
.Name = "GLAS",
.Colour = 0x404040,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "Glass. Meltable. Shatters under pressure, and refracts photons.",
.Properties = TYPE_SOLID | PROP_NEUTPASS | PROP_PHOTPASS | PROP_HOT_GLOW | PROP_SPARKSETTLE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1973.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GLAS_update,
.Create = el_GLAS_create,
},
[PT_PTCT] = {
.Identifier = "DEFAULT_PT_PTCT",
.Name = "PTCT",
.Colour = 0x405050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "PTC Thermistor. Conducts with PSCN and NSCN, but only when cooled below 100C.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PTCT_update,
},
[PT_BGLA] = {
.Identifier = "DEFAULT_PT_BGLA",
.Name = "BGLA",
.Colour = 0x606060,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 5,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "Broken Glass, heavy particles formed when glass breaks under pressure. Meltable. Bagels.",
.Properties = TYPE_PART | PROP_NEUTPASS | PROP_PHOTPASS | PROP_HOT_GLOW | PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1973.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_THDR] = {
.Identifier = "DEFAULT_PT_THDR",
.Name = "THDR",
.Colour = 0xFFFFA0,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.0f,
.Loss = 0.30f,
.Collision = -0.99f,
.Gravity = 0.6f,
.NewtonianGravity = 1,
.Diffusion = 0.62f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 1,
.HeatCapacity = 1,
.Description = "Lightning! Very hot, inflicts damage upon most materials, and transfers current to metals.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 9000.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_THDR_update,
.Graphics = el_THDR_graphics,
},
[PT_PLSM] = {
.Identifier = "DEFAULT_PT_PLSM",
.Name = "PLSM",
.Colour = 0xBB99FF,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 0.9f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.20f,
.Collision = 0.0f,
.Gravity = -0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.30f,
.HotAir = 0.001f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 5,
.HeatCapacity = 1,
.Description = "Plasma, extremely hot.",
.Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = MAX_TEMP, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_FIRE_update,
.Graphics = el_PLSM_graphics,
.Create = el_PLSM_create,
},
[PT_ETRD] = {
.Identifier = "DEFAULT_PT_ETRD",
.Name = "ETRD",
.Colour = 0x404040,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Electrode. Creates plasma arcs with electricity. (Use sparingly)",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.ChangeType = el_ETRD_changeType,
},
[PT_NICE] = {
.Identifier = "DEFAULT_PT_NICE",
.Name = "NICE",
.Colour = 0xC0E0FF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.0005f* CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 46,
.HeatCapacity = 1,
.Description = "Nitrogen Ice. Very cold, will melt into LN2 when heated only slightly.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 63.1f,
.HighTemperatureTransition = PT_LNTG,
.DefaultProperties = {.temp = 35.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_NBLE] = {
.Identifier = "DEFAULT_PT_NBLE",
.Name = "NBLE",
.Colour = 0xEB4917,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.75f,
.HotAir = 0.001f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFF8000,
.Weight = 1,
.HeatConduct = 106,
.HeatCapacity = 1,
.Description = "Noble Gas. Ionizes into plasma when sparked. Diffuses.",
.Properties = TYPE_GAS|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_NBLE_update,
},
[PT_BTRY] = {
.Identifier = "DEFAULT_PT_BTRY",
.Name = "BTRY",
.Colour = 0x858505,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Battery. Generates infinite electricity.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2273.0f,
.HighTemperatureTransition = PT_PLSM,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BTRY_update,
},
[PT_LCRY] = {
.Identifier = "DEFAULT_PT_LCRY",
.Name = "LCRY",
.Colour = 0x505050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Liquid Crystal. Changes colour when charged. (PSCN Charges, NSCN Discharges)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1273.0f,
.HighTemperatureTransition = PT_BGLA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_LCRY_update,
.Graphics = el_LCRY_graphics,
},
[PT_STKM] = {
.Identifier = "DEFAULT_PT_STKM",
.Name = "STKM",
.Colour = 0xFFE0A0,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.5f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.2f,
.Loss = 1.0f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 0.0f,
.Diffusion = 0.0f,
.HotAir = 0.00f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 50,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Stickman. Don't kill him! Control with the arrow keys.",
.Properties = PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 620.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 14.6f + 273.15f, .life = 100, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_STKM_update,
.Graphics = Element_STKM_graphics,
.Create = el_STKM_create,
.CreateAllowed = el_STKM_createAllowed,
.ChangeType = el_STKM_changeType,
},
[PT_SWCH] = {
.Identifier = "DEFAULT_PT_SWCH",
.Name = "SWCH",
.Colour = 0x103B11,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Switch. Only conducts when switched on. (PSCN switches on, NSCN switches off)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SWCH_update,
.Graphics = el_SWCH_graphics,
},
[PT_SMKE] = {
.Identifier = "DEFAULT_PT_SMKE",
.Name = "SMKE",
.Colour = 0x222222,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 0.9f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.20f,
.Collision = 0.0f,
.Gravity = -0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.001f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Smoke, created by fire.",
.Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 625.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 320.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_SMKE_graphics,
},
[PT_DESL] = {
.Identifier = "DEFAULT_PT_DESL",
.Name = "DESL",
.Colour = 0x440000,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.0f * CFDS,
.Falldown = 2,
.Flammable = 2,
.Explosive = 0,
.Meltable = 0,
.Hardness = 5,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 15,
.HeatConduct = 42,
.HeatCapacity = 1,
.Description = "Liquid diesel. Explodes under high pressure and temperatures.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 5.0f,
.HighPressureTransition = PT_FIRE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 335.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_COAL] = {
.Identifier = "DEFAULT_PT_COAL",
.Name = "COAL",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.0f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 18,
.PhotonReflectWavelengths = 0x00000000,
.Weight = 100,
.HeatConduct = 200,
.HeatCapacity = 1,
.Description = "Coal, Burns very slowly. Gets red when hot.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 110, .ctype = 0, .tmp = 50, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_COAL_update,
.Graphics = Element_COAL_graphics,
},
[PT_LO2] = {
.Identifier = "DEFAULT_PT_LO2",
.Name = "LOXY",
.Colour = 0x80A0EF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 5000,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Liquid Oxygen. Very cold. Reacts with fire.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 90.1f,
.HighTemperatureTransition = PT_O2,
.DefaultProperties = {.temp = 80.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_O2] = {
.Identifier = "DEFAULT_PT_O2",
.Name = "OXYG",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 3.0f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Oxygen gas. Ignites easily.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 90.0f,
.LowTemperatureTransition = PT_LO2,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_O2_update,
},
[PT_INWR] = {
.Identifier = "DEFAULT_PT_INWR",
.Name = "INWR",
.Colour = 0x544141,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Insulated wire. Only conducts to PSCN, NSCN, WIFI, and SWCH.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_YEST] = {
.Identifier = "DEFAULT_PT_YEST",
.Name = "YEST",
.Colour = 0xEEE0C0,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 15,
.Explosive = 0,
.Meltable = 0,
.Hardness = 31,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 80,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Yeast, grows when warm (~37C).",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 373.0f,
.HighTemperatureTransition = PT_DYST,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_YEST_update,
},
[PT_DYST] = {
.Identifier = "DEFAULT_PT_DYST",
.Name = "DYST",
.Colour = 0xBBB0A0,
.MenuVisible = 0,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 80,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Dead Yeast.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 473.0f,
.HighTemperatureTransition = PT_DUST,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_THRM] = {
.Identifier = "DEFAULT_PT_THRM",
.Name = "THRM",
.Colour = 0xA08090,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.94f,
.Loss = 0.95f,
.Collision = -0.1f,
.Gravity = 0.3f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 2,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 211,
.HeatCapacity = 1,
.Description = "Thermite. Burns into extremely hot molten metal.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_GLOW] = {
.Identifier = "DEFAULT_PT_GLOW",
.Name = "GLOW",
.Colour = 0x445464,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.3f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.15f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 40,
.HeatConduct = 44,
.HeatCapacity = 1,
.Description = "Glow, Glows under pressure.",
.Properties = TYPE_LIQUID | PROP_PHOTPASS | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 20.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GLOW_update,
.Graphics = el_GLOW_graphics,
},
[PT_BRCK] = {
.Identifier = "DEFAULT_PT_BRCK",
.Name = "BRCK",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Brick, breakable building material.",
.Properties = TYPE_SOLID|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 8.8f,
.HighPressureTransition = PT_STNE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1223.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_BRCK_graphics,
},
[PT_CFLM] = {
.Identifier = "DEFAULT_PT_HFLM",
.Name = "CFLM",
.Colour = 0x8080FF,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.9f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.20f,
.Collision = 0.0f,
.Gravity = -0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.0005f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 2,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Sub-zero flame.",
.Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 0.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_CFLM_graphics,
.Create = el_CFLM_create,
},
[PT_FIRW] = {
.Identifier = "DEFAULT_PT_FIRW",
.Name = "FIRW",
.Colour = 0xFFA040,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.2f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.95f,
.Collision = -0.1f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 28,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 55,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Fireworks! Colorful, set off by fire.",
.Properties = TYPE_PART|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FIRW_update,
.Graphics = el_FIRW_graphics,
},
[PT_FUSE] = {
.Identifier = "DEFAULT_PT_FUSE",
.Name = "FUSE",
.Colour = 0x0A5706,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.0f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 19,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 200,
.HeatCapacity = 1,
.Description = "Burns slowly. Ignites at very high temperatures or when sparked.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 50, .ctype = 0, .tmp = 50, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FUSE_update,
},
[PT_FSEP] = {
.Identifier = "DEFAULT_PT_FSEP",
.Name = "FSEP",
.Colour = 0x63AD5F,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 27,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 70,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Fuse Powder. Burns slowly like FUSE.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 50, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FSEP_update,
},
[PT_AMTR] = {
.Identifier = "DEFAULT_PT_AMTR",
.Name = "AMTR",
.Colour = 0x808080,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.00f,
.Gravity = 0.10f,
.NewtonianGravity = 1,
.Diffusion = 1.00f,
.HotAir = 0.0000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Anti-Matter, destroys a majority of particles.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_AMTR_update,
.Graphics = el_AMTR_graphics,
},
[PT_BCOL] = {
.Identifier = "DEFAULT_PT_BCOL",
.Name = "BCOL",
.Colour = 0x333333,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x00000000,
.Weight = 90,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "Broken Coal. Heavy particles, burns slowly.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 110, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_COAL_update,
.Graphics = Element_COAL_graphics,
},
[PT_PCLN] = {
.Identifier = "DEFAULT_PT_PCLN",
.Name = "PCLN",
.Colour = 0x3B3B0A,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Powered clone. When activated, duplicates any particles it touches.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PCLN_update,
.Graphics = el_PCLN_graphics,
.CtypeDraw = Element_PCLN_ctypeDraw,
},
[PT_HSWC] = {
.Identifier = "DEFAULT_PT_HSWC",
.Name = "HSWC",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Heat switch. Conducts heat only when activated.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_HSWC_update,
.Graphics = el_HSWC_graphics,
},
[PT_IRON] = {
.Identifier = "DEFAULT_PT_IRON",
.Name = "IRON",
.Colour = 0x707070,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 49,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Rusts with salt, can be used for electrolysis of WATR.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1687.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_IRON_update,
},
[PT_MORT] = {
.Identifier = "DEFAULT_PT_MORT",
.Name = "MORT",
.Colour = 0xE0E0E0,
.MenuVisible = 0,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 1.00f,
.Collision = -0.99f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.01f,
.HotAir = 0.002f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 60,
.HeatCapacity = 1,
.Description = "Steam Train.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_MORT_update,
},
[PT_LIFE] = {
.Identifier = "DEFAULT_PT_LIFE",
.Name = "LIFE",
.Colour = 0x0CAC00,
.MenuVisible = 0,
.MenuSection = SC_LIFE,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.90f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 40,
.HeatCapacity = 1,
.Description = "Game Of Life! B3/S23",
.Properties = TYPE_SOLID|PROP_LIFE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 9000.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_LIFE_graphics,
.Create = el_LIFE_create,
},
[PT_DLAY] = {
.Identifier = "DEFAULT_PT_DLAY",
.Name = "DLAY",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Conducts with temperature-dependent delay. (use HEAT/COOL).",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DLAY_update,
.Graphics = el_DLAY_graphics,
},
[PT_CO2] = {
.Identifier = "DEFAULT_PT_CO2",
.Name = "CO2",
.Colour = 0x666666,
.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.1f,
.NewtonianGravity = 1,
.Diffusion = 1.0f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Carbon Dioxide. Heavy gas, drifts downwards. Carbonates water and turns to dry ice when cold.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 194.65f,
.LowTemperatureTransition = PT_DRIC,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CO2_update,
},
[PT_DRIC] = {
.Identifier = "DEFAULT_PT_DRIC",
.Name = "DRIC",
.Colour = 0xE0E0E0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.0005f* CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 2,
.HeatCapacity = 1,
.Description = "Dry Ice, formed when CO2 is cooled.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 195.65f,
.HighTemperatureTransition = PT_CO2,
.DefaultProperties = {.temp = 172.65f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_CBNW] = {
.Identifier = "DEFAULT_PT_CBNW",
.Name = "BUBW",
.Colour = 0x2030D0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Carbonated water. Slowly releases CO2.",
.Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_NEUTPENETRATE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 273.15f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = 373.0f,
.HighTemperatureTransition = PT_WTRV,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CBNW_update,
.Graphics = el_CBNW_graphics,
},
[PT_STOR] = {
.Identifier = "DEFAULT_PT_STOR",
.Name = "STOR",
.Colour = 0x50DFDF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Storage. Captures and stores a single particle. Releases when charged with PSCN, also passes to PIPE.",
.Properties = TYPE_SOLID | PROP_NOCTYPEDRAW,
.CarriesTypeIn = (1u << FIELD_CTYPE) | (1u << FIELD_TMP),
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_STOR_update,
.Graphics = el_STOR_graphics,
.CtypeDraw = el_STOR_ctypeDraw,
},
[PT_PVOD] = {
.Identifier = "DEFAULT_PT_PVOD",
.Name = "PVOD",
.Colour = 0x792020,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Powered VOID. When activated, destroys entering particles.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PVOD_update,
.Graphics = el_PVOD_graphics,
.CtypeDraw = basicCtypeDraw,
},
[PT_CONV] = {
.Identifier = "DEFAULT_PT_CONV",
.Name = "CONV",
.Colour = 0x0AAB0A,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Converter. Converts everything into whatever it first touches.",
.Properties = TYPE_SOLID | PROP_NOCTYPEDRAW,
.CarriesTypeIn = (1u << FIELD_CTYPE) | (1u << FIELD_TMP),
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CONV_update,
.CtypeDraw = ctypeDrawVInCtype,
},
[PT_CAUS] = {
.Identifier = "DEFAULT_PT_CAUS",
.Name = "CAUS",
.Colour = 0x80FFA0,
.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,
.NewtonianGravity = 1,
.Diffusion = 1.50f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Caustic Gas, acts like ACID.",
.Properties = TYPE_GAS|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 75, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CAUS_update,
},
[PT_LIGH] = {
.Identifier = "DEFAULT_PT_LIGH",
.Name = "LIGH",
.Colour = 0xFFFFC0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Lightning. Change the brush size to set the size of the lightning.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_LIGH_update,
.Graphics = el_LIGH_graphics,
.Create = el_LIGH_create,
},
[PT_TESC] = {
.Identifier = "DEFAULT_PT_TESC",
.Name = "TESC",
.Colour = 0x707040,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Tesla coil! Creates lightning when sparked.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Create = el_TESC_create,
},
[PT_DEST] = {
.Identifier = "DEFAULT_PT_DEST",
.Name = "DEST",
.Colour = 0xFF3311,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = -0.05f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.95f,
.Collision = -0.1f,
.Gravity = 0.4f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 101,
.HeatConduct = 150,
.HeatCapacity = 1,
.Description = "More destructive Bomb, can break through virtually anything.",
.Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DEST_update,
.Graphics = el_DEST_graphics,
},
[PT_SPNG] = {
.Identifier = "DEFAULT_PT_SPNG",
.Name = "SPNG",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 31,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Sponge, absorbs water. Is not a moving solid.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2730.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SPNG_update,
.Graphics = el_SPNG_graphics,
},
[PT_RIME] = {
.Identifier = "DEFAULT_PT_RIME",
.Name = "RIME",
.Colour = 0xCCCCCC,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 32,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Solid, created when steam cools rapidly and goes through deposition, skipping the liquid phase.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 273.15f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = -30.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_RIME_update,
},
[PT_FOG] = {
.Identifier = "DEFAULT_PT_FOG",
.Name = "FOG",
.Colour = 0xAAAAAA,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 0.8f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.4f,
.Loss = 0.70f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.99f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Fog, created when an electric current is passed through RIME.",
.Properties = TYPE_GAS|PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 373.15f,
.HighTemperatureTransition = PT_WTRV,
.DefaultProperties = {.temp = 243.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FOG_update,
},
[PT_BCLN] = {
.Identifier = "DEFAULT_PT_BCLN",
.Name = "BCLN",
.Colour = 0xFFD040,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.50f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 12,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Breakable Clone.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_LIFE_DEC | PROP_LIFE_KILL_DEC | PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BCLN_update,
.CtypeDraw = ctypeDrawVInTmp,
},
[PT_LOVE] = {
.Identifier = "DEFAULT_PT_LOVE",
.Name = "LOVE",
.Colour = 0xFF30FF,
.MenuVisible = 0,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 40,
.HeatCapacity = 1,
.Description = "Love...",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 373.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_DEUT] = {
.Identifier = "DEFAULT_PT_DEUT",
.Name = "DEUT",
.Colour = 0x00153F,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 19,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 31,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Deuterium oxide. Gets more concentrated when cold, explodes with neutrons or protons.",
.Properties = TYPE_LIQUID|PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 10, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DEUT_update,
.Graphics = el_DEUT_graphics,
},
[PT_WARP] = {
.Identifier = "DEFAULT_PT_WARP",
.Name = "WARP",
.Colour = 0x101010,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.8f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.9f,
.Loss = 0.70f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 3.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Displaces other elements.",
.Properties = TYPE_GAS|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WARP_update,
.Graphics = el_WARP_graphics,
.Create = el_WARP_create,
},
[PT_PUMP] = {
.Identifier = "DEFAULT_PT_PUMP",
.Name = "PUMP",
.Colour = 0x0A0A3B,
.MenuVisible = 1,
.MenuSection = SC_POWERED,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 9,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Pressure pump. Changes pressure to its temp when activated. (use HEAT/COOL).",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 273.15f, .life = 10, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PUMP_update,
.Graphics = el_PUMP_graphics,
},
[PT_FWRK] = {
.Identifier = "DEFAULT_PT_FWRK",
.Name = "FWRK",
.Colour = 0x666666,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.4f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 97,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Original version of fireworks, activated by heat/neutrons.",
.Properties = TYPE_PART|PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FWRK_update,
},
[PT_PIPE] = {
.Identifier = "DEFAULT_PT_PIPE",
.Name = "PIPE",
.Colour = 0x444444,
.MenuVisible = 1,
.MenuSection = SC_FORCE,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "PIPE, moves particles around. Once the BRCK generates, erase some for the exit. Then the PIPE generates and is usable.",
.Properties = TYPE_SOLID | PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 10.0f,
.HighPressureTransition = PT_BRMT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 295.15f, .life = 60, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_PIPE_update,
.Graphics = Element_PIPE_graphics,
},
[PT_FRZZ] = {
.Identifier = "DEFAULT_PT_FRZZ",
.Name = "FRZZ",
.Colour = 0xC0E0FF,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.90f,
.Collision = -0.1f,
.Gravity = 0.05f,
.NewtonianGravity = 1,
.Diffusion = 0.01f,
.HotAir = -0.00005f* CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 50,
.HeatConduct = 46,
.HeatCapacity = 1,
.Description = "Freeze powder. When melted, forms ice that always cools. Spreads with regular water.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 1.8f,
.HighPressureTransition = PT_SNOW,
.LowTemperature = 50.0f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = 273.15f,
.HighTemperatureTransition = PT_FRZW,
.DefaultProperties = {.temp = 253.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FRZZ_update,
},
[PT_FRZW] = {
.Identifier = "DEFAULT_PT_FRZW",
.Name = "FRZW",
.Colour = 0x1020C0,
.MenuVisible = 0,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Freeze water. Hybrid liquid formed when Freeze powder melts.",
.Properties = TYPE_LIQUID | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 53.0f,
.LowTemperatureTransition = PT_ICEI,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 120.0f, .life = 100, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FRZW_update,
},
[PT_GRAV] = {
.Identifier = "DEFAULT_PT_GRAV",
.Name = "GRAV",
.Colour = 0x202020,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 1.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 10,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 85,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Very light dust. Changes colour based on velocity.",
.Properties = TYPE_PART | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GRAV_update,
.Graphics = el_GRAV_graphics,
},
[PT_BIZR] = {
.Identifier = "DEFAULT_PT_BIZR",
.Name = "BIZR",
.Colour = 0x00FF77,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Bizarre... contradicts the normal state changes. Paints other elements with its deco color.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 100.0f,
.LowTemperatureTransition = PT_BIZRG,
.HighTemperature = 400.0f,
.HighTemperatureTransition = PT_BIZRS,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0x47FFFF, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_BIZR_update,
.Graphics = Element_BIZR_graphics,
},
[PT_BIZRG] = {
.Identifier = "DEFAULT_PT_BIZRG",
.Name = "BIZG",
.Colour = 0x00FFBB,
.MenuVisible = 0,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 2.75f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 42,
.HeatCapacity = 1,
.Description = "Bizarre gas.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 100.0f,
.HighTemperatureTransition = PT_BIZR,
.DefaultProperties = {.temp = R_TEMP - 200.0f + 273.15f, .life = 0, .ctype = 0x47FFFF, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_BIZR_update,
.Graphics = Element_BIZR_graphics,
},
[PT_BIZRS] = {
.Identifier = "DEFAULT_PT_BIZRS",
.Name = "BIZS",
.Colour = 0x00E455,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.90f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Bizarre solid.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 400.0f,
.LowTemperatureTransition = PT_BIZR,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 300.0f + 273.15f, .life = 0, .ctype = 0x47FFFF, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_BIZR_update,
.Graphics = Element_BIZR_graphics,
},
[PT_INST] = {
.Identifier = "DEFAULT_PT_INST",
.Name = "INST",
.Colour = 0x404039,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Instantly conducts, PSCN to charge, NSCN to take.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_ISOZ] = {
.Identifier = "DEFAULT_PT_ISOZ",
.Name = "ISOZ",
.Colour = 0xAA30D0,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 24,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Isotope-Z. Radioactive liquid, decays into photons when touching PHOT or under negative pressure.",
.Properties = TYPE_LIQUID | PROP_NEUTPENETRATE | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 160.0f,
.LowTemperatureTransition = PT_ISZS,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ISOZ_update,
},
[PT_ISZS] = {
.Identifier = "DEFAULT_PT_ISZS",
.Name = "ISZS",
.Colour = 0x662089,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.90f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.0007f* CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Solid form of ISOZ, slowly decays into PHOT.",
.Properties = TYPE_SOLID | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 300.0f,
.HighTemperatureTransition = PT_ISOZ,
.DefaultProperties = {.temp = 140.00f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ISZS_update,
},
[PT_PRTI] = {
.Identifier = "DEFAULT_PT_PRTI",
.Name = "PRTI",
.Colour = 0xEB5917,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.005f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Portal IN. Particles go in here. Also has temperature dependent channels. (same as WIFI)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PRTI_update,
.Graphics = el_PRTI_graphics,
},
[PT_PRTO] = {
.Identifier = "DEFAULT_PT_PRTO",
.Name = "PRTO",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.005f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Portal OUT. Particles come out here. Also has temperature dependent channels. (same as WIFI)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PRTO_update,
.Graphics = el_PRTO_graphics,
},
[PT_PSTE] = {
.Identifier = "DEFAULT_PT_PSTE",
.Name = "PSTE",
.Colour = 0xAA99AA,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 18,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 31,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Colloid, Hardens under pressure.",
.Properties = TYPE_LIQUID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 0.5f,
.HighPressureTransition = PT_PSTS,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 747.0f,
.HighTemperatureTransition = PT_BRCK,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_PSTS] = {
.Identifier = "DEFAULT_PT_PSTS",
.Name = "PSTS",
.Colour = 0x776677,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 18,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Solid form of PSTE.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = 0.5f,
.LowPressureTransition = PT_PSTE,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_ANAR] = {
.Identifier = "DEFAULT_PT_ANAR",
.Name = "ANAR",
.Colour = 0xFFFFEE,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = -0.7f,
.AirDrag = -0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.1f,
.Gravity = -0.1f,
.NewtonianGravity = -1.f,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 29,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 85,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Anti-air. Very light gravity-defying dust. Burns cold instead of hot.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ANAR_update,
},
[PT_VINE] = {
.Identifier = "DEFAULT_PT_VINE",
.Name = "VINE",
.Colour = 0x079A00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 20,
.Explosive = 0,
.Meltable = 0,
.Hardness = 10,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 65,
.HeatCapacity = 1,
.Description = "Vine, can grow along WOOD.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 573.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 1, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_VINE_update,
.Graphics = el_VINE_graphics,
},
[PT_INVIS] = {
.Identifier = "DEFAULT_PT_INVIS",
.Name = "INVS",
.Colour = 0x00CCCC,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.90f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 15,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 164,
.HeatCapacity = 1,
.Description = "Invisible under pressure, allowing particles through.",
.Properties = TYPE_SOLID | PROP_NEUTPASS | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_INVIS_update,
.Graphics = el_INVIS_graphics,
},
[PT_E116] = {
.Identifier = "DEFAULT_PT_116",
.Name = "EQVE",
.Colour = 0xFFE0A0,
.MenuVisible = 0,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 30,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 85,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "A failed shared velocity test.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_SPAWN2] = {
.Identifier = "DEFAULT_PT_SPAWN2",
.Name = "SPWN2",
.Colour = 0xAAAAAA,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "STK2 spawn point.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.CreateAllowed = el_SPAWN2_createAllowed,
.ChangeType = el_SPAWN2_changeType,
},
[PT_SPAWN] = {
.Identifier = "DEFAULT_PT_SPAWN",
.Name = "SPWN",
.Colour = 0xAAAAAA,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "STKM spawn point.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.CreateAllowed = el_SPAWN_createAllowed,
.ChangeType = el_SPAWN_changeType,
},
[PT_SHLD1] = {
.Identifier = "DEFAULT_PT_SHLD1",
.Name = "SHLD",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Shield. Grows around spark, broken by pressure.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 7.0f,
.HighPressureTransition = PT_NONE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SHLD1_update,
},
[PT_SHLD2] = {
.Identifier = "DEFAULT_PT_SHLD2",
.Name = "SHD2",
.Colour = 0x777777,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Shield lvl 2.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 15.0f,
.HighPressureTransition = PT_NONE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SHLD2_update,
},
[PT_SHLD3] = {
.Identifier = "DEFAULT_PT_SHLD3",
.Name = "SHD3",
.Colour = 0x444444,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Shield lvl 3.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 25.0f,
.HighPressureTransition = PT_NONE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SHLD3_update,
},
[PT_SHLD4] = {
.Identifier = "DEFAULT_PT_SHLD4",
.Name = "SHD4",
.Colour = 0x212121,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 1.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Shield lvl 4.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 40.0f,
.HighPressureTransition = PT_NONE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SHLD4_update,
},
[PT_LOLZ] = {
.Identifier = "DEFAULT_PT_LOLZ",
.Name = "LOLZ",
.Colour = 0x569212,
.MenuVisible = 0,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 40,
.HeatCapacity = 1,
.Description = "Lolz",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 373.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_WIFI] = {
.Identifier = "DEFAULT_PT_WIFI",
.Name = "WIFI",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Wireless transmitter, transfers spark to any other wifi on the same temperature channel.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 15.0f,
.HighPressureTransition = PT_BRMT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WIFI_update,
.Graphics = el_WIFI_graphics,
},
[PT_FILT] = {
.Identifier = "DEFAULT_PT_FILT",
.Name = "FILT",
.Colour = 0x000056,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Filter. Changes color of PHOT and BIZR. Color depends on temperature.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_NOAMBHEAT | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_FILT_graphics,
.Create = el_FILT_create,
},
[PT_ARAY] = {
.Identifier = "DEFAULT_PT_ARAY",
.Name = "ARAY",
.Colour = 0xFFBB00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Ray Emitter. Rays create points when they collide.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ARAY_update,
},
[PT_BRAY] = {
.Identifier = "DEFAULT_PT_BRAY",
.Name = "BRAY",
.Colour = 0xFFFFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Ray Point. Rays create points when they collide.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 30, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_BRAY_graphics,
},
[PT_STKM2] = {
.Identifier = "DEFAULT_PT_STKM2",
.Name = "STK2",
.Colour = 0x6464FF,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.5f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.2f,
.Loss = 1.0f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 0.0f,
.Diffusion = 0.0f,
.HotAir = 0.00f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 50,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Second stickman. Don't kill him! Control with wasd.",
.Properties = PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 620.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 14.6f + 273.15f, .life = 100, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_STKM2_update,
.Graphics = Element_STKM_graphics,
.Create = el_STKM2_create,
.CreateAllowed = el_STKM2_createAllowed,
.ChangeType = el_STKM2_changeType,
},
[PT_BOMB] = {
.Identifier = "DEFAULT_PT_BOMB",
.Name = "BOMB",
.Colour = 0xFFF288,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Bomb. Explodes and destroys all surrounding particles when it touches something.",
.Properties = TYPE_PART|PROP_SPARKSETTLE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BOMB_update,
.Graphics = el_BOMB_graphics,
},
[PT_C5] = {
.Identifier = "DEFAULT_PT_C5",
.Name = "C-5",
.Colour = 0x2050E0,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Cold explosive, set off by anything cold.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE | PROP_PHOTPASS | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_C5_update,
.Graphics = el_C5_graphics,
},
[PT_SING] = {
.Identifier = "DEFAULT_PT_SING",
.Name = "SING",
.Colour = 0x242424,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.36f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.1f,
.Gravity = 0.12f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = -0.001f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 86,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Singularity. Creates huge amounts of negative pressure and destroys everything.",
.Properties = TYPE_PART|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SING_update,
.Create = el_SING_create,
},
[PT_QRTZ] = {
.Identifier = "DEFAULT_PT_QRTZ",
.Name = "QRTZ",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 3,
.HeatCapacity = 1,
.Description = "Quartz, breakable mineral. Conducts but becomes brittle when cold. Scatters photons.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_HOT_GLOW | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2573.15f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_QRTZ_update,
.Graphics = Element_QRTZ_graphics,
.Create = el_QRTZ_create,
},
[PT_PQRT] = {
.Identifier = "DEFAULT_PT_PQRT",
.Name = "PQRT",
.Colour = 0x88BBBB,
.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.27f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 3,
.HeatCapacity = 1,
.Description = "Powdered quartz, broken form of QRTZ.",
.Properties = TYPE_PART | PROP_PHOTPASS | PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2573.15f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_QRTZ_update,
.Graphics = Element_QRTZ_graphics,
.Create = el_PQRT_create,
},
[PT_EMP] = {
.Identifier = "DEFAULT_PT_EMP",
.Name = "EMP",
.Colour = 0x66AAFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.0f,
.HotAir = 0.0f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 3,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 121,
.HeatCapacity = 1,
.Description = "Electromagnetic pulse. Breaks activated electronics.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_EMP_graphics,
},
[PT_BREC] = {
.Identifier = "DEFAULT_PT_BREC",
.Name = "BREL",
.Colour = 0x707060,
.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.18f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 2,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 211,
.HeatCapacity = 1,
.Description = "Broken electronics. Formed from EMP blasts, and when constantly sparked while under pressure, turns to EXOT.",
.Properties = TYPE_PART|PROP_CONDUCTS|PROP_LIFE_DEC|PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BREC_update,
},
[PT_ELEC] = {
.Identifier = "DEFAULT_PT_ELEC",
.Name = "ELEC",
.Colour = 0xDFEFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Electrons. Sparks electronics, reacts with NEUT and WATR.",
.Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 200.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ELEC_update,
.Graphics = el_ELEC_graphics,
.Create = el_ELEC_create,
},
[PT_ACEL] = {
.Identifier = "DEFAULT_PT_ACEL",
.Name = "ACEL",
.Colour = 0x0099CC,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Accelerator, speeds up nearby elements.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_ACEL_update,
.Graphics = el_ACEL_graphics,
},
[PT_DCEL] = {
.Identifier = "DEFAULT_PT_DCEL",
.Name = "DCEL",
.Colour = 0x99CC00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Decelerator, slows down nearby elements.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DCEL_update,
.Graphics = el_DCEL_graphics,
},
[PT_BANG] = {
.Identifier = "DEFAULT_PT_BANG",
.Name = "TNT",
.Colour = 0xC05050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "TNT, explodes all at once.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BANG_update,
},
[PT_IGNT] = {
.Identifier = "DEFAULT_PT_IGNT",
.Name = "IGNC",
.Colour = 0xC0B050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 88,
.HeatCapacity = 1,
.Description = "Ignition cord. Burns slowly with fire and sparks.",
.Properties = TYPE_SOLID | PROP_NEUTPENETRATE | PROP_SPARKSETTLE | PROP_LIFE_KILL,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 3, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_IGNT_update,
},
[PT_BOYL] = {
.Identifier = "DEFAULT_PT_BOYL",
.Name = "BOYL",
.Colour = 0x0A3200,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.18f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 42,
.HeatCapacity = 1,
.Description = "Boyle, variable pressure gas. Expands when heated.",
.Properties = TYPE_GAS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BOYL_update,
},
[PT_GEL] = {
.Identifier = "DEFAULT_PT_GEL",
.Name = "GEL",
.Colour = 0xFF9900,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 19,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 35,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "A liquid with variable viscosity and heat conductivity. Absorbs water.",
.Properties = TYPE_LIQUID|PROP_LIFE_DEC|PROP_NEUTPENETRATE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GEL_update,
.Graphics = el_GEL_graphics,
},
[PT_TRON] = {
.Identifier = "DEFAULT_PT_TRON",
.Name = "TRON",
.Colour = 0xA9FF00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 40,
.HeatCapacity = 1,
.Description = "Smart particles, Travels in straight lines and avoids obstacles. Grows with time.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC|PROP_LIFE_KILL,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 0.0f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_TRON_update,
.Graphics = el_TRON_graphics,
.Create = el_TRON_create,
},
[PT_TTAN] = {
.Identifier = "DEFAULT_PT_TTAN",
.Name = "TTAN",
.Colour = 0x909090,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 48,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Titanium. Higher melting temperature than most other metals, blocks all air pressure.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_HOT_GLOW|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1941.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_TTAN_update,
},
[PT_EXOT] = {
.Identifier = "DEFAULT_PT_EXOT",
.Name = "EXOT",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.0003f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 46,
.HeatConduct = 250,
.HeatCapacity = 1,
.Description = "Exotic matter. Explodes with excess exposure to electrons. Has many other odd reactions.",
.Properties = TYPE_LIQUID|PROP_NEUTPASS,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 1000, .ctype = 0, .tmp = 244, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_EXOT_update,
.Graphics = el_EXOT_graphics,
},
[PT_EMBR] = {
.Identifier = "DEFAULT_PT_EMBR",
.Name = "EMBR",
.Colour = 0xFFF288,
.MenuVisible = 0,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.001f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.90f,
.Collision = 0.0f,
.Gravity = 0.07f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 21,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Sparks. Formed by explosions.",
.Properties = TYPE_PART|PROP_LIFE_DEC|PROP_LIFE_KILL|PROP_SPARKSETTLE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 500.0f + 273.15f, .life = 50, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_EMBR_update,
.Graphics = el_EMBR_graphics,
},
[PT_H2] = {
.Identifier = "DEFAULT_PT_H2",
.Name = "HYGN",
.Colour = 0x5070FF,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 2.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.10f,
.Gravity = 0.00f,
.NewtonianGravity = 1,
.Diffusion = 3.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Hydrogen. Combusts with OXYG to make WATR. Undergoes fusion at high temperature and pressure.",
.Properties = TYPE_GAS | PROP_PHOTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_H2_update,
},
[PT_SOAP] = {
.Identifier = "DEFAULT_PT_SOAP",
.Name = "SOAP",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 19,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 35,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Soap. Creates bubbles, washes off deco color, and cures virus.",
.Properties = TYPE_LIQUID|PROP_NEUTPENETRATE|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = -1, .tmp2 = -1, .tmp3 = 0, .tmp4 = 0},
.Update = el_SOAP_update,
.Graphics = el_SOAP_graphics,
.ChangeType = el_SOAP_changeType,
},
[PT_NBHL] = {
.Identifier = "DEFAULT_PT_NBHL",
.Name = "BHOL",
.Colour = 0x202020,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 186,
.HeatCapacity = 1,
.Description = "Black hole, sucks in particles using gravity. (Requires Newtonian gravity)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_NBHL_update,
},
[PT_NWHL] = {
.Identifier = "DEFAULT_PT_NWHL",
.Name = "WHOL",
.Colour = 0xFFFFFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 186,
.HeatCapacity = 1,
.Description = "White hole, pushes away other particles with gravity. (Requires Newtonian gravity)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_NWHL_update,
},
[PT_MERC] = {
.Identifier = "DEFAULT_PT_MERC",
.Name = "MERC",
.Colour = 0x736B6D,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.04f * CFDS,
.AirLoss = 0.94f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.3f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 18,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 91,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Mercury. Volume changes with temperature, Conductive.",
.Properties = TYPE_LIQUID|PROP_CONDUCTS|PROP_NEUTABSORB|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 10, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_MERC_update,
},
[PT_PBCN] = {
.Identifier = "DEFAULT_PT_PBCN",
.Name = "PBCN",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 12,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Powered breakable clone.",
.Properties = TYPE_SOLID | PROP_PHOTPASS | PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PBCN_update,
.Graphics = el_PBCN_graphics,
.CtypeDraw = Element_PCLN_ctypeDraw,
},
[PT_GPMP] = {
.Identifier = "DEFAULT_PT_GPMP",
.Name = "GPMP",
.Colour = 0x0A3B3B,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Gravity pump. Changes gravity to its temp when activated. (use HEAT/COOL)",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 10, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GPMP_update,
.Graphics = el_GPMP_graphics,
},
[PT_CLST] = {
.Identifier = "DEFAULT_PT_CLST",
.Name = "CLST",
.Colour = 0xE4A4A4,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.94f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.2f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 2,
.Hardness = 2,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 55,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Clay dust. Produces paste when mixed with water.",
.Properties = TYPE_PART,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1256.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CLST_update,
.Graphics = el_CLST_graphics,
.Create = el_CLST_create,
},
[PT_WIRE] = {
.Identifier = "DEFAULT_PT_WIRE",
.Name = "WWLD",
.Colour = 0xFFCC00,
.MenuVisible = 1,
.MenuSection = SC_ELEC,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 250,
.HeatCapacity = 1,
.Description = "WireWorld wires, conducts based on a set of GOL-like rules.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_WIRE_update,
.Graphics = el_WIRE_graphics,
},
[PT_GBMB] = {
.Identifier = "DEFAULT_PT_GBMB",
.Name = "GBMB",
.Colour = 0x1144BB,
.MenuVisible = 1,
.MenuSection = SC_FORCE,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.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,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GBMB_update,
.Graphics = el_GBMB_graphics,
},
[PT_FIGH] = {
.Identifier = "DEFAULT_PT_FIGH",
.Name = "FIGH",
.Colour = 0xFFE0A0,
.MenuVisible = 1,
.MenuSection = SC_SPECIAL,
.Enabled = 1,
.Advection = 0.5f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.2f,
.Loss = 1.0f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 0.0f,
.Diffusion = 0.0f,
.HotAir = 0.00f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 50,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Fighter. Tries to kill stickmen. You must first give it an element to kill him with.",
.Properties = PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 620.0f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 14.6f + 273.15f, .life = 100, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FIGH_update,
.Graphics = Element_STKM_graphics,
.CreateAllowed = el_FIGH_createAllowed,
.ChangeType = el_FIGH_changeType,
},
[PT_FRAY] = {
.Identifier = "DEFAULT_PT_FRAY",
.Name = "FRAY",
.Colour = 0x00BBFF,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Force Emitter. Pushes or pulls objects based on its temperature. Use like ARAY.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 20.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_FRAY_update,
},
[PT_RPEL] = {
.Identifier = "DEFAULT_PT_RPEL",
.Name = "RPEL",
.Colour = 0x99CC00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Repels or attracts particles based on its temperature.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 20.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_RPEL_update,
.CtypeDraw = basicCtypeDraw,
},
[PT_PPIP] = {
.Identifier = "DEFAULT_PT_PPIP",
.Name = "PPIP",
.Colour = 0x444466,
.MenuVisible = 1,
.MenuSection = SC_POWERED,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.95f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Powered version of PIPE, use PSCN/NSCN to Activate/Deactivate.",
.Properties = TYPE_SOLID | PROP_LIFE_DEC,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 295.15f, .life = 60, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_PIPE_update,
.Graphics = Element_PIPE_graphics,
},
[PT_DTEC] = {
.Identifier = "DEFAULT_PT_DTEC",
.Name = "DTEC",
.Colour = 0xFD9D18,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Detector, creates a spark when something with its ctype is nearby.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 2, .tmp3 = 0, .tmp4 = 0},
.Update = el_DTEC_update,
.CtypeDraw = ctypeDrawVInTmp,
},
[PT_DMG] = {
.Identifier = "DEFAULT_PT_DMG",
.Name = "DMG",
.Colour = 0x88FF88,
.MenuVisible = 1,
.MenuSection = SC_FORCE,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 30,
.HeatConduct = 29,
.HeatCapacity = 1,
.Description = "Generates damaging pressure and breaks any elements it hits.",
.Properties = TYPE_PART|PROP_SPARKSETTLE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP - 2.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DMG_update,
.Graphics = el_DMG_graphics,
},
[PT_TSNS] = {
.Identifier = "DEFAULT_PT_TSNS",
.Name = "TSNS",
.Colour = 0xFD00D5,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Temperature sensor, creates a spark when there's a nearby particle with a greater temperature.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 2, .tmp3 = 0, .tmp4 = 0},
.Update = el_TSNS_update,
},
[PT_VIBR] = {
.Identifier = "DEFAULT_PT_VIBR",
.Name = "VIBR",
.Colour = 0x005000,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.85f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Vibranium. Stores energy and releases it in violent explosions.",
.Properties = TYPE_SOLID|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_VIBR_update,
.Graphics = Element_VIBR_graphics,
},
[PT_BVBR] = {
.Identifier = "DEFAULT_PT_BVBR",
.Name = "BVBR",
.Colour = 0x005000,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.0000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 67,
.HeatConduct = 164,
.HeatCapacity = 1,
.Description = "Broken vibranium.",
.Properties = TYPE_PART|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_VIBR_update,
.Graphics = Element_VIBR_graphics,
},
[PT_CRAY] = {
.Identifier = "DEFAULT_PT_CRAY",
.Name = "CRAY",
.Colour = 0xBBFF00,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Particle Ray Emitter. Creates a beam of particles set by its ctype, with a range set by tmp.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CRAY_update,
.CtypeDraw = el_CRAY_ctypeDraw,
},
[PT_PSTN] = {
.Identifier = "DEFAULT_PT_PSTN",
.Name = "PSTN",
.Colour = 0xAA9999,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Piston, pushes particles. PSCN extends, NSCN retracts",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 10.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PSTN_update,
.Graphics = el_PSTN_graphics,
.CtypeDraw = el_PSTN_ctypeDraw,
},
[PT_FRME] = {
.Identifier = "DEFAULT_PT_FRME",
.Name = "FRME",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Frame, can be used with pistons to push many particles.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_FRME_graphics,
},
[PT_GOLD] = {
.Identifier = "DEFAULT_PT_GOLD",
.Name = "GOLD",
.Colour = 0xDCAD2C,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3C038100,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Corrosion resistant metal, will reverse corrosion of iron. Excellent conductor.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_HOT_GLOW|PROP_LIFE_DEC|PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1337.0f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GOLD_update,
.Graphics = el_GOLD_graphics,
},
[PT_TUNG] = {
.Identifier = "DEFAULT_PT_TUNG",
.Name = "TUNG",
.Colour = 0x505050,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Tungsten. Brittle metal with a very high melting point.",
.Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 3695.0f,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_TUNG_update,
.Graphics = el_TUNG_graphics,
.Create = el_TUNG_create,
},
[PT_PSNS] = {
.Identifier = "DEFAULT_PT_PSNS",
.Name = "PSNS",
.Colour = 0xDB2020,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Pressure sensor, creates a spark when the pressure is greater than its temperature.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PSNS_update,
},
[PT_PROT] = {
.Identifier = "DEFAULT_PT_PROT",
.Name = "PROT",
.Colour = 0x990000,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 61,
.HeatCapacity = 1,
.Description = "Protons. Transfer heat to materials, and remove sparks.",
.Properties = TYPE_ENERGY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 75, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PROT_update,
.Graphics = el_PROT_graphics,
.Create = el_PROT_create,
},
[PT_VIRS] = {
.Identifier = "DEFAULT_PT_VIRS",
.Name = "VIRS",
.Colour = 0xFE11F6,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 20,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 31,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Virus. Turns everything it touches into virus.",
.Properties = TYPE_LIQUID|PROP_DEADLY,
.CarriesTypeIn = 1u << FIELD_TMP2,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 305.0f,
.LowTemperatureTransition = PT_VRSS,
.HighTemperature = 673.0f,
.HighTemperatureTransition = PT_VRSG,
.DefaultProperties = {.temp = 72.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 250},
.Update = Element_VIRS_update,
.Graphics = el_VIRS_graphics,
},
[PT_VRSS] = {
.Identifier = "DEFAULT_PT_VRSS",
.Name = "VRSS",
.Colour = 0xD408CD,
.MenuVisible = 0,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.90f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Solid Virus. Turns everything it touches into virus.",
.Properties = TYPE_SOLID|PROP_DEADLY,
.CarriesTypeIn = 1u << FIELD_TMP2,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 305.0f,
.HighTemperatureTransition = PT_VIRS,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 250},
.Update = Element_VIRS_update,
.Graphics = el_VRSS_graphics,
},
[PT_VRSG] = {
.Identifier = "DEFAULT_PT_VRSG",
.Name = "VRSG",
.Colour = 0xFE68FE,
.MenuVisible = 0,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.0f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.75f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 500,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Gas Virus. Turns everything it touches into virus.",
.Properties = TYPE_GAS|PROP_DEADLY,
.CarriesTypeIn = 1u << FIELD_TMP2,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = 673.0f,
.LowTemperatureTransition = PT_VIRS,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 522.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 250},
.Update = Element_VIRS_update,
.Graphics = el_VRSG_graphics,
},
[PT_GRVT] = {
.Identifier = "DEFAULT_PT_GRVT",
.Name = "GRVT",
.Colour = 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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = -1,
.HeatConduct = 61,
.HeatCapacity = 1,
.Description = "Gravitons. Create Newtonian Gravity.",
.Properties = TYPE_ENERGY|PROP_LIFE_DEC|PROP_LIFE_KILL_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 7, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_GRVT_update,
.Graphics = el_GRVT_graphics,
.Create = el_GRVT_create,
},
[PT_DRAY] = {
.Identifier = "DEFAULT_PT_DRAY",
.Name = "DRAY",
.Colour = 0xFFAA22,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Duplicator ray. Replicates a line of particles in front of it.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_DRAY_update,
.CtypeDraw = ctypeDrawVInCtype,
},
[PT_CRMC] = {
.Identifier = "DEFAULT_PT_CRMC",
.Name = "CRMC",
.Colour = 0xD6D1D4,
.MenuVisible = 1,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.00f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 35,
.HeatCapacity = 1,
.Description = "Ceramic. Gets stronger under pressure.",
.Properties = TYPE_SOLID | PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 2887.15f,
.HighTemperatureTransition = ST,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_CRMC_update,
.Graphics = el_CRMC_graphics,
.Create = el_CRMC_create,
},
[PT_HEAC] = {
.Identifier = "DEFAULT_PT_HEAC",
.Name = "HEAC",
.Colour = 0xCB6351,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Rapid heat conductor.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1887.15f,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_HEAC_update,
},
[PT_SAWD] = {
.Identifier = "DEFAULT_PT_SAWD",
.Name = "SAWD",
.Colour = 0xF0F0A0,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.7f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 10,
.Explosive = 0,
.Meltable = 0,
.Hardness = 29,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 18,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Sawdust. Floats on water.",
.Properties = TYPE_PART | PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
},
[PT_POLO] = {
.Identifier = "DEFAULT_PT_POLO",
.Name = "POLO",
.Colour = 0x506030,
.MenuVisible = 1,
.MenuSection = SC_NUCLEAR,
.Enabled = 1,
.Advection = 0.4f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.4f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 0,
.PhotonReflectWavelengths = 0x000FF200,
.Weight = 90,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Polonium, highly radioactive. Decays into NEUT and heats up.",
.Properties = TYPE_PART|PROP_NEUTPASS|PROP_RADIOACTIVE|PROP_LIFE_DEC|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 526.95f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = 388.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_POLO_update,
.Graphics = el_POLO_graphics,
},
[PT_RFRG] = {
.Identifier = "DEFAULT_PT_RFRG",
.Name = "RFRG",
.Colour = 0x72D2D4,
.MenuVisible = 1,
.MenuSection = SC_GAS,
.Enabled = 1,
.Advection = 1.2f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.99f,
.Loss = 0.30f,
.Collision = -0.1f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 1.3f,
.HotAir = 0.0001f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 21,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 1,
.HeatConduct = 3,
.HeatCapacity = 1,
.Description = "Refrigerant. Heats up and liquefies under pressure.",
.Properties = TYPE_GAS|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 2,
.HighPressureTransition = PT_RFGL,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_RFRG_update,
},
[PT_RFGL] = {
.Identifier = "DEFAULT_PT_RFGL",
.Name = "RFGL",
.Colour = 0x84C2CF,
.MenuVisible = 0,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.6f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.95f,
.Collision = 0.0f,
.Gravity = 0.1f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 21,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 10,
.HeatConduct = 3,
.HeatCapacity = 1,
.Description = "Liquid refrigerant.",
.Properties = TYPE_LIQUID|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = 2,
.LowPressureTransition = PT_RFRG,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = Element_RFRG_update,
},
[PT_LSNS] = {
.Identifier = "DEFAULT_PT_LSNS",
.Name = "LSNS",
.Colour = 0x336699,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Life sensor, creates a spark when there's a nearby particle with a life higher than its temperature.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 2, .tmp3 = 0, .tmp4 = 0},
.Update = el_LSNS_update,
},
[PT_LDTC] = {
.Identifier = "DEFAULT_PT_LDTC",
.Name = "LDTC",
.Colour = 0x66ff66,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Linear detector. Scans in 8 directions for particles with its ctype and creates a spark on the opposite side.",
.Properties = TYPE_SOLID | PROP_NOCTYPEDRAW,
.CarriesTypeIn = 1u << FIELD_CTYPE,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_LDTC_update,
.CtypeDraw = ctypeDrawVInCtype,
},
[PT_SLCN] = {
.Identifier = "DEFAULT_PT_SLCN",
.Name = "SLCN",
.Colour = 0xBCCDDF,
.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.27f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 90,
.HeatConduct = 100,
.HeatCapacity = 1,
.Description = "Powdered Silicon. A key ingredient in producing multiple materials.",
.Properties = TYPE_PART | PROP_CONDUCTS | PROP_HOT_GLOW | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 3538.15f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SLCN_update,
.Graphics = el_SLCN_graphics,
.Create = el_SLCN_create,
},
[PT_PTNM] = {
.Identifier = "DEFAULT_PT_PTNM",
.Name = "PTNM",
.Colour = 0xD5E0EB,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 1,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 251,
.HeatCapacity = 1,
.Description = "Platinum. Catalyzes certain reactions.",
.Properties = TYPE_SOLID | PROP_CONDUCTS | PROP_LIFE_DEC | PROP_HOT_GLOW | PROP_SPARKSETTLE,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1768.0f + 273.15f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_PTNM_update,
.Graphics = el_PTNM_graphics,
.Create = el_PTNM_create,
},
[PT_VSNS] = {
.Identifier = "DEFAULT_PT_VSNS",
.Name = "VSNS",
.Colour = 0x7C9C00,
.MenuVisible = 1,
.MenuSection = SC_SENSOR,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 0,
.HeatCapacity = 1,
.Description = "Velocity sensor, creates a spark when there's a nearby particle with velocity higher than its temperature.",
.Properties = TYPE_SOLID,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = 4.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 2, .tmp3 = 0, .tmp4 = 0},
.Update = el_VSNS_update,
},
[PT_ROCK] = {
.Identifier = "DEFAULT_PT_ROCK",
.Name = "ROCK",
.Colour = 0x727272,
.MenuVisible = 1,
.MenuSection = SC_SOLIDS,
.Enabled = 1,
.Advection = 0.0f,
.AirDrag = 0.00f * CFDS,
.AirLoss = 0.94f,
.Loss = 0.00f,
.Collision = 0.0f,
.Gravity = 0.0f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 5,
.Hardness = 1,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 200,
.HeatCapacity = 1,
.Description = "Solid, melts into various elements.",
.Properties = TYPE_SOLID | PROP_HOT_GLOW,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = 120,
.HighPressureTransition = PT_STNE,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 1943.15f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Graphics = el_ROCK_graphics,
.Create = el_ROCK_create,
},
[PT_LITH] = {
.Identifier = "DEFAULT_PT_LITH",
.Name = "LITH",
.Colour = 0xB6AABF,
.MenuVisible = 1,
.MenuSection = SC_EXPLOSIVE,
.Enabled = 1,
.Advection = 0.2f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.96f,
.Loss = 0.95f,
.Collision = -0.1f,
.Gravity = 0.2f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 14,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 17,
.HeatConduct = 70,
.HeatCapacity = 1,
.Description = "Lithium. Reactive element that explodes on contact with water.",
.Properties = TYPE_PART | PROP_LIFE_DEC,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 453.65f,
.HighTemperatureTransition = PT_LAVA,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_LITH_update,
.Graphics = el_LITH_graphics,
},
[PT_RSST] = {
.Identifier = "DEFAULT_PT_RSST",
.Name = "RSST",
.Colour = 0xF95B49,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.3f,
.AirDrag = 0.02f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.80f,
.Collision = 0.0f,
.Gravity = 0.15f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 50,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 33,
.HeatConduct = 55,
.HeatCapacity = 1,
.Description = "Resist. Solidifies on contact with photons, is destroyed by electrons and spark.",
.Properties = TYPE_LIQUID | PROP_CONDUCTS | PROP_LIFE_DEC | PROP_NEUTPASS | PROP_PHOTPASS,
.CarriesTypeIn = (1u << FIELD_CTYPE) | (1u << FIELD_TMP),
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 20.0f + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_RSST_update,
},
[PT_RSSS] = {
.Identifier = "DEFAULT_PT_RSSS",
.Name = "RSSS",
.Colour = 0xC43626,
.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,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 0,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 100,
.HeatConduct = 130,
.HeatCapacity = 1,
.Description = "Solidified resist. Blocks pressure and insulates electricity. Liquefies on contact with neutrons.",
.Properties = TYPE_SOLID|PROP_NEUTPASS,
.CarriesTypeIn = (1u << FIELD_CTYPE) | (1u << FIELD_TMP),
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_RSSS_update,
},
[PT_BASE] = {
.Identifier = "DEFAULT_PT_BASE",
.Name = "BASE",
.Colour = 0x90D5FF,
.MenuVisible = 1,
.MenuSection = SC_LIQUID,
.Enabled = 1,
.Advection = 0.5f,
.AirDrag = 0.01f * CFDS,
.AirLoss = 0.97f,
.Loss = 0.96f,
.Collision = 0.0f,
.Gravity = 0.08f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 2,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 0,
.PhotonReflectWavelengths = 0x3FFFFFFF,
.Weight = 16,
.HeatConduct = 31,
.HeatCapacity = 1.5f,
.Description = "Corrosive liquid. Rusts conductive solids, neutralizes acid.",
.Properties = TYPE_LIQUID|PROP_DEADLY,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = ITH,
.HighTemperatureTransition = NT,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 76, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_BASE_update,
.Graphics = el_BASE_graphics,
},
[PT_SEED] = {
.Identifier = "DEFAULT_PT_SEED",
.Name = "SEED",
.Colour = 0x88E788,
.MenuVisible = 1,
.MenuSection = SC_POWDERS,
.Enabled = 1,
.Advection = 0.95f,
.AirDrag = 0.005f * CFDS,
.AirLoss = 0.98f,
.Loss = 0.80,
.Collision = -0.01f,
.Gravity = 0.05f,
.NewtonianGravity = 1,
.Diffusion = 0.00f,
.HotAir = 0.000f * CFDS,
.Falldown = 1,
.Flammable = 0,
.Explosive = 0,
.Meltable = 0,
.Hardness = 19,
.PhotonReflectWavelengths = 0xE00,
.Weight = 36,
.HeatConduct = 32,
.HeatCapacity = 1,
.Description = "Seeds. Put on sand and add water to grow a tree.",
.Properties = TYPE_PART | PROP_NEUTPASS,
.CarriesTypeIn = 0,
.LowPressure = IPL,
.LowPressureTransition = NT,
.HighPressure = IPH,
.HighPressureTransition = NT,
.LowTemperature = ITL,
.LowTemperatureTransition = NT,
.HighTemperature = 673.15f,
.HighTemperatureTransition = PT_FIRE,
.DefaultProperties = {.temp = R_TEMP + 273.15f, .life = 0, .ctype = 0, .tmp = 0, .tmp2 = 0, .tmp3 = 0, .tmp4 = 0},
.Update = el_SEED_update,
.Graphics = el_SEED_graphics,
.Create = el_SEED_create,
},
};