Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is an example of an element that has been copied from the source.
- // All required changes to make the element unique have been highlighted.
- // Run generator.py after adding this. You may change it later without re-generating.
- #include "simulation/Elements.h"
- // you need to manually set the element ID for generator.py as well as the class name
- //#TPT-Directive ElementClass Element_BCOL2 PT_BCOL2 177
- Element_BCOL2::Element_BCOL2() // make sure the names here match the class definition
- {
- Identifier = "DEFAULT_PT_BCOL2"; // Lua will crash on running if you make identifiers non-unique
- Name = "BCO2"; // ???? will happen when names collide
- Colour = PIXPACK(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;
- Diffusion = 0.00f;
- HotAir = 0.000f * CFDS;
- Falldown = 1;
- Flammable = 0;
- Explosive = 0;
- Meltable = 0;
- Hardness = 2;
- Weight = 90;
- Temperature = R_TEMP+0.0f +273.15f;
- HeatConduct = 150;
- Description = "Broken Coal 2. Heavy particles, burns slowly.";
- State = ST_SOLID;
- Properties = TYPE_PART;
- LowPressure = IPL;
- LowPressureTransition = NT;
- HighPressure = IPH;
- HighPressureTransition = NT;
- LowTemperature = ITL;
- LowTemperatureTransition = NT;
- HighTemperature = ITH;
- HighTemperatureTransition = NT;
- Update = &Element_BCOL2::Update; // add an update function pointer
- Graphics = NULL; // no graphics function - null pointer
- }
- Element_BCOL2::Update(UPDATE_FUNC_ARGS) {}
- Element_BCOL2::~Element_BCOL2() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement