The-Powder-Toy/src/simulation/elements/STNE.cpp
jacob1 0078fb4c6f Add DefaultProperties, replaces some of the case statements in create_part
The rest will will in a commit soon that adds the Create event and some other stuff
Lua events will come after that
PLSM default temp lowered to MAX_TEMP
2019-11-25 22:08:18 -05:00

47 lines
878 B
C++

#include "simulation/ElementCommon.h"
//#TPT-Directive ElementClass Element_STNE PT_STNE 5
Element_STNE::Element_STNE()
{
Identifier = "DEFAULT_PT_STNE";
Name = "STNE";
Colour = PIXPACK(0xA0A0A0);
MenuVisible = 1;
MenuSection = SC_POWDERS;
Enabled = 1;
Advection = 0.4f;
AirDrag = 0.04f * CFDS;
AirLoss = 0.94f;
Loss = 0.95f;
Collision = -0.1f;
Gravity = 0.3f;
Diffusion = 0.00f;
HotAir = 0.000f * CFDS;
Falldown = 1;
Flammable = 0;
Explosive = 0;
Meltable = 5;
Hardness = 1;
Weight = 90;
HeatConduct = 150;
Description = "Heavy particles. Meltable.";
Properties = TYPE_PART;
LowPressure = IPL;
LowPressureTransition = NT;
HighPressure = IPH;
HighPressureTransition = NT;
LowTemperature = ITL;
LowTemperatureTransition = NT;
HighTemperature = 983.0f;
HighTemperatureTransition = PT_LAVA;
Update = NULL;
}
Element_STNE::~Element_STNE() {}