Advertisement
Empoliam

Gold element

Jan 1st, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. #include "simulation/Elements.h"
  2. //#TPT-Directive ElementClass Element_GOLD PT_GOLD 167
  3. Element_GOLD::Element_GOLD()
  4. {
  5. Identifier = "DEFAULT_PT_GOLD";
  6. Name = "GOLD";
  7. Colour = PIXPACK(0xFFD900);
  8. MenuVisible = 1;
  9. MenuSection = SC_SOLIDS;
  10. Enabled = 1;
  11.  
  12. Advection = 0.0f;
  13. AirDrag = 0.00f * CFDS;
  14. AirLoss = 0.90f;
  15. Loss = 0.00f;
  16. Collision = 0.0f;
  17. Gravity = 0.0f;
  18. Diffusion = 0.00f;
  19. HotAir = 0.000f * CFDS;
  20. Falldown = 0;
  21.  
  22. Flammable = 0;
  23. Explosive = 0;
  24. Meltable = 1;
  25. Hardness = 1;
  26.  
  27. Weight = 100;
  28.  
  29. Temperature = R_TEMP+0.0f +273.15f;
  30. HeatConduct = 300;
  31. Description = "Pretty, very conductive metal";
  32.  
  33. State = ST_SOLID;
  34. Properties = TYPE_SOLID|PROP_CONDUCTS|PROP_HOT_GLOW;
  35.  
  36. LowPressure = IPL;
  37. LowPressureTransition = NT;
  38. HighPressure = IPH;
  39. HighPressureTransition = NT;
  40. LowTemperature = ITL;
  41. LowTemperatureTransition = NT;
  42. HighTemperature = 1000.0f;
  43. HighTemperatureTransition = PT_LAVA;
  44.  
  45.  
  46. Update = NULL;
  47. }
  48.  
  49. Element_GOLD::~Element_GOLD() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement