18 override void OnWasAttached(
EntityAI parent,
int slot_id)
20 super.OnWasAttached(parent, slot_id);
22 if (InventorySlots.GetSlotName(slot_id) ==
"Bait")
24 SetAnimationPhase(
"bait_unhooked",1);
25 SetAnimationPhase(
"bait_hooked",0);
31 super.OnWasDetached(parent, slot_id);
33 if (InventorySlots.GetSlotName(slot_id) ==
"Bait")
35 SetAnimationPhase(
"bait_unhooked",0);
36 SetAnimationPhase(
"bait_hooked",1);
bool CanBeCookedOnStick()
override void OnWasDetached(EntityAI parent, int slot_id)