9 public override string langTransfer
19 public override InvOwnerDraglet.ProcessType processType
29 public override bool InvertSell
39 public override bool DenyImportant
48 public InvOwnerRecycle(
Card owner =
null,
Card container =
null, CurrencyType _currency = CurrencyType.Ecopo) : base(owner, container, _currency)
53 public override void BuildUICurrency(
UICurrency uiCurrency,
bool canReroll =
false)
55 uiCurrency.SetActive(
true);
64 public override bool ShouldShowGuide(
Thing t)
66 return !t.c_isImportant && t.things.Count == 0 && !t.trait.CanOnlyCarry && t.rarity < Rarity.Artifact && t.category.GetRoot().id !=
"currency" && !(t.trait is
TraitRecycle);
70 public override void _OnProcess(
Thing t)
73 Msg.Say(
"dump", t, this.Container.Name,
null,
null);
74 int num = t.Num * Mathf.Clamp(t.GetPrice(CurrencyType.Money,
false, PriceType.Default,
null) / 100, 1, 100);
78 EClass.pc.Pick(
ThingGen.Create(
"ecopo", -1, -1).SetNum(num / 10 + 1),
true,
true);