cultivation.c 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. class AntiPestsSpray: Inventory_Base
  2. {
  3. override void SetActions()
  4. {
  5. super.SetActions();
  6. AddAction(ActionDisinfectPlantBit);
  7. AddAction(ActionDisinfectPlant);
  8. AddAction(ActionForceDrink);
  9. AddAction(ActionDrink);
  10. }
  11. };
  12. class CannabisSeeds : SeedBase{};
  13. class PepperSeeds : SeedBase{};
  14. class Plant_Cannabis : PlantBase {};
  15. class Plant_Pepper : PlantBase
  16. {
  17. void Plant_Pepper()
  18. {
  19. m_FullMaturityTime = 2250;
  20. }
  21. };
  22. class Plant_Potato : PlantBase
  23. {
  24. void Plant_Potato()
  25. {
  26. m_FullMaturityTime = 2850;
  27. }
  28. };
  29. class Plant_Pumpkin : PlantBase
  30. {
  31. void Plant_Pumpkin()
  32. {
  33. m_FullMaturityTime = 2850;
  34. }
  35. };
  36. class Plant_Tomato : PlantBase
  37. {
  38. void Plant_Tomato()
  39. {
  40. m_FullMaturityTime = 1650;
  41. }
  42. };
  43. class Plant_Zucchini : PlantBase
  44. {
  45. void Plant_Zucchini()
  46. {
  47. m_FullMaturityTime = 1350;
  48. }
  49. };
  50. class PumpkinSeeds : SeedBase{};
  51. class SeedBase : Inventory_Base
  52. {
  53. override void SetActions()
  54. {
  55. super.SetActions();
  56. AddAction(ActionPlantSeed);
  57. AddAction(ActionAttachSeeds);
  58. }
  59. };
  60. class TomatoSeeds : SeedBase{};
  61. class ZucchiniSeeds : SeedBase{};
  62. class PotatoSeed : SeedBase{};