1 #include "simulation/ElementCommon.h" 2 Element_OIL()3void Element::Element_OIL() 4 { 5 Identifier = "DEFAULT_PT_OIL"; 6 Name = "OIL"; 7 Colour = PIXPACK(0x404010); 8 MenuVisible = 1; 9 MenuSection = SC_LIQUID; 10 Enabled = 1; 11 12 Advection = 0.6f; 13 AirDrag = 0.01f * CFDS; 14 AirLoss = 0.98f; 15 Loss = 0.95f; 16 Collision = 0.0f; 17 Gravity = 0.1f; 18 Diffusion = 0.00f; 19 HotAir = 0.000f * CFDS; 20 Falldown = 2; 21 22 Flammable = 20; 23 Explosive = 0; 24 Meltable = 0; 25 Hardness = 5; 26 27 Weight = 20; 28 29 HeatConduct = 42; 30 Description = "Flammable, turns into GAS at low pressure or high temperature. Can be formed with NEUT and NITR."; 31 32 Properties = TYPE_LIQUID | PROP_NEUTPASS; 33 34 LowPressure = IPL; 35 LowPressureTransition = NT; 36 HighPressure = IPH; 37 HighPressureTransition = NT; 38 LowTemperature = ITL; 39 LowTemperatureTransition = NT; 40 HighTemperature = 333.0f; 41 HighTemperatureTransition = PT_GAS; 42 } 43