34 if (
old_item.ConfigIsExisting(
"ChangeIntoOnAttach"))
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
void ClearInventoryReservationEx(ActionData action_data)
override bool HasTarget()
override bool ActionConditionContinue(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override void OnExecuteClient(ActionData action_data)
override void CreateConditionComponents()
override void OnExecuteServer(ActionData action_data)
void FoldBandanaToSlotLambda(EntityAI old_item, string new_item_type, PlayerBase player, int slot)
provides access to slot configuration
static proto native owned string GetSlotName(int id)
converts slot_id to string
const int INVALID
Invalid slot (-1)
proto native CGame GetGame()