4 private const int GARDEN_SLOT_COUNT = 9;
18 if (!
super.OnStoreLoad(
ctx, version))
32 super.EEDelete(parent);
48 return GARDEN_SLOT_COUNT;
53 HideSelection(
"SeedBase_1");
54 HideSelection(
"SeedBase_2");
55 HideSelection(
"SeedBase_3");
56 HideSelection(
"SeedBase_4");
57 HideSelection(
"SeedBase_5");
58 HideSelection(
"SeedBase_6");
59 HideSelection(
"SeedBase_7");
60 HideSelection(
"SeedBase_8");
61 HideSelection(
"SeedBase_9");
62 HideSelection(
"slotCovered_01");
63 HideSelection(
"slotCovered_02");
64 HideSelection(
"slotCovered_03");
65 HideSelection(
"slotCovered_04");
66 HideSelection(
"slotCovered_05");
67 HideSelection(
"slotCovered_06");
68 HideSelection(
"slotCovered_07");
69 HideSelection(
"slotCovered_08");
70 HideSelection(
"slotCovered_09");
132 HideSelection(
"SeedBase_1");
133 HideSelection(
"SeedBase_2");
134 HideSelection(
"SeedBase_3");
135 HideSelection(
"SeedBase_4");
136 HideSelection(
"SeedBase_5");
137 HideSelection(
"SeedBase_6");
138 HideSelection(
"SeedBase_7");
139 HideSelection(
"SeedBase_8");
140 HideSelection(
"SeedBase_9");
141 HideSelection(
"SeedBase_10");
142 HideSelection(
"SeedBase_11");
143 HideSelection(
"SeedBase_12");
144 HideSelection(
"SeedBase_13");
const int ECE_PLACE_ON_SURFACE
override void SyncSlots()
class GardenPlot extends GardenBase POLYTUNNEL_SLOT_COUNT
override int GetGardenSlotsCount()
override void RefreshSlots()
override void EOnInit(IEntity other, int extra)
class JsonUndergroundAreaTriggerData GetPosition
override void EEDelete(EntityAI parent)
override bool IsInventoryVisible()
override void OnPlacementStarted(Man player)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool CanBePlaced(Man player, vector position)
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
override int GetGardenSlotsCount()
override void OnHologramBeingPlaced(Man player)
Serialization general interface. Serializer API works with:
proto native CGame GetGame()