local inst = commonfn("greenamulet")
if not 网页链接 then
return inst
end
inst.components.equippable:SetOnEquip(onequip_green)
inst.components.equippable:SetOnUnequip(onunequip_green)
inst.components.equippable:SetOnEquipToModel(onequiptomodel_green)
inst:AddComponent("finiteuses")
inst.components.finiteuses:SetOnFinished(inst.Remove)
inst.components.finiteuses:SetMaxUses(TUNING.GREENAMULET_USES)
inst.components.finiteuses:SetUses(TUNING.GREENAMULET_USES)
MakeHauntableLaunch(inst)
return inst
if not 网页链接 then
return inst
end
inst.components.equippable:SetOnEquip(onequip_green)
inst.components.equippable:SetOnUnequip(onunequip_green)
inst.components.equippable:SetOnEquipToModel(onequiptomodel_green)
inst:AddComponent("finiteuses")
inst.components.finiteuses:SetOnFinished(inst.Remove)
inst.components.finiteuses:SetMaxUses(TUNING.GREENAMULET_USES)
inst.components.finiteuses:SetUses(TUNING.GREENAMULET_USES)
MakeHauntableLaunch(inst)
return inst