12 m_AnimationPhaseUsed =
"triggered";
14 m_MinimalDistanceFromPlayersToCatch = 15;
17 m_NoBaitCatchProb = 15;
19 m_WaterSurfaceForSetup =
true;
22 m_CatchesPond.Insert(
"Bitterlings", 1);
25 m_CatchesSea.Insert(
"Sardines", 1);
30 super.OnVariablesSynchronized();
48 if (
GetGame().SurfaceIsSea(pos[0], pos[2]))
50 else if (
GetGame().SurfaceIsPond(pos[0], pos[2]))
98#ifdef PLATFORM_WINDOWS
100 override int GetViewIndex()
102 if (MemoryPointExists(
"invView2"))
105 GetInventory().GetCurrentInventoryLocation(
il);
172 return "placeSmallFishTrap_SoundSet";
177 return "fishtrap_deploy_SoundSet";
override void OnPlacementComplete(Man player, vector position="0 0 0", vector orientation="0 0 0")
InventoryLocationType
types of Inventory Location
string GetDeploySoundset()
void SetIsPlaceSound(bool is_place_sound)
string GetLoopDeploySoundset()
class Trap_SmallFish extends TrapSpawnBase m_RainProcurement
override bool DoPlacingHeightCheck()
string m_AnimationPhaseTriggered
string m_AnimationPhaseSet
class JsonUndergroundAreaTriggerData GetPosition
DEPRECATED, done through the RainProcurementHandler / component instead.
override void SpawnCatch()
override bool CanReceiveAttachment(EntityAI attachment, int slotId)
override bool IsPlaceableAtPosition(vector position)
override void OnVariablesSynchronized()
proto native CGame GetGame()
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].