15 : base(
owner, container, _currency)
22 list.
Add(
"actUnequip", 0, delegate
28 Msg.Say(
"backpack_full");
33 EClass.pc.body.Unequip(t);
34 EClass.Sound.Play(
"equip");
44 Msg.
Say(
"unequipCursed", t);
53 if (button.
card ==
null)
65 base.OnWriteNote(button, n);
BlessedState blessedState
override void ListInteractions(ListInteraction list, Thing t, Trait trait, ButtonGrid b, bool context)
override bool IsFailByCurse(Thing t)
override void OnWriteNote(ButtonGrid button, UINote n)
override bool AlwaysShowTooltip
override bool AllowDrop(Thing t)
InvOwnerEquip(Card owner, BodySlot slot, Card container=null, CurrencyType _currency=CurrencyType.None)
Interaction Add(string s, int priority, Action action, string idPriority=null)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
static void AddAttackEvaluation(UINote n, Chara chara, Thing current=null)
UIItem AddHeader(string text, Sprite sprite=null)
UIItem AddText(string text, FontColor color=FontColor.DontChange)