6 super.InitItemVariables();
12 if (!
super.CanPutAsAttachment(parent))
return false;
13 const int SLOTS_ARRAY = 8;
17 string slot_names[SLOTS_ARRAY] = {
"BerryR",
"BerryB",
"Plant",
"Nails",
"OakBark",
"BirchBark",
"Lime",
"Guts" };
21 if (parent.IsKindOf(
"Barrel_ColorBase"))
25 if (
is_barrel && parent.GetAnimationPhase(
"Lid") == 1)
29 for (
int i = 0;
i < SLOTS_ARRAY ;
i++)
31 if (parent.FindAttachmentBySlotName(slot_names[
i]) !=
NULL)
50 if (parent.IsKindOf(
"Barrel_ColorBase"))
54 if (
is_barrel && parent.GetAnimationPhase(
"Lid") == 1)
void ActionDisinfectSelf()
void AddAction(typename actionName)
bool can_this_be_combined
override int GetQuantityMax()
override void SetActions()
override void InitItemVariables()
override bool CanDetachAttachment(EntityAI parent)
override bool CanPutAsAttachment(EntityAI parent)
override float GetDisinfectQuantity(int system=0, Param param1=null)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...