19 if ( !super.OnStoreLoad(ctx, version) )
33 super.EEDelete(parent);
54 HideSelection(
"SeedBase_1");
55 HideSelection(
"SeedBase_2");
56 HideSelection(
"SeedBase_3");
57 HideSelection(
"SeedBase_4");
58 HideSelection(
"SeedBase_5");
59 HideSelection(
"SeedBase_6");
60 HideSelection(
"SeedBase_7");
61 HideSelection(
"SeedBase_8");
62 HideSelection(
"SeedBase_9");
63 HideSelection(
"slotCovered_01");
64 HideSelection(
"slotCovered_02");
65 HideSelection(
"slotCovered_03");
66 HideSelection(
"slotCovered_04");
67 HideSelection(
"slotCovered_05");
68 HideSelection(
"slotCovered_06");
69 HideSelection(
"slotCovered_07");
70 HideSelection(
"slotCovered_08");
71 HideSelection(
"slotCovered_09");
90 super.OnPlacementComplete( player, position, orientation );
146class GardenPlotPolytunnel : GardenPlot
156 HideSelection(
"SeedBase_1");
157 HideSelection(
"SeedBase_2");
158 HideSelection(
"SeedBase_3");
159 HideSelection(
"SeedBase_4");
160 HideSelection(
"SeedBase_5");
161 HideSelection(
"SeedBase_6");
162 HideSelection(
"SeedBase_7");
163 HideSelection(
"SeedBase_8");
164 HideSelection(
"SeedBase_9");
165 HideSelection(
"SeedBase_10");
166 HideSelection(
"SeedBase_11");
167 HideSelection(
"SeedBase_12");
168 HideSelection(
"SeedBase_13");
173class GardenPlotPlacing
extends GardenPlot
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)
bool IsSurfaceFertile(string surface)
Checks if the surface is fertile.
proto float SurfaceGetType3D(float x, float y, float z, out string type)
Y input: Maximum Y to trace down from; Returns: Y position the surface was found.
proto native Object CreateObjectEx(string type, vector pos, int iFlags, int iRotation=RF_DEFAULT)
Creates object of certain type.
proto native void ObjectDelete(Object obj)
override void EEDelete(EntityAI parent)
const float PLACEMENT_HEIGHT_LIMIT
override bool IsInventoryVisible()
const int GARDEN_SLOT_COUNT
override void OnPlacementStarted(Man player)
override bool CanPutInCargo(EntityAI parent)
override bool CanPutIntoHands(EntityAI parent)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool IsTakeable()
override bool CanBePlaced(Man player, vector position)
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
override bool CanRemoveFromCargo(EntityAI parent)
override int GetGardenSlotsCount()
override void OnHologramBeingPlaced(Man player)
Serializer ParamsReadContext
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition