8 public override bool ShowFuel
12 return this.crafter.IsRequireFuel;
18 public override string langTransfer
22 return this.crafter.CrafterTitle;
28 public override int numDragGrid
32 return this.crafter.numIng;
38 public override bool DenyImportant
47 public InvOwnerCraft(
Card owner =
null,
Card container =
null, CurrencyType _currency = CurrencyType.None) : base(owner, container, _currency)
52 public override bool ShouldShowGuide(
Thing t)
54 return this.crafter.IsCraftIngredient(t, base.dragGrid.currentIndex);
58 public override void _OnProcess(
Thing t)
60 t.PlaySoundDrop(
false);
65 public override void OnAfterRefuel()
71 public void TryStartCraft()
73 for (
int i = 0; i < this.numDragGrid; i++)
75 if (base.dragGrid.buttons[i].Card ==
null)
80 if (!this.owner.trait.IsFuelEnough(1, base.dragGrid.GetTargets(),
true))
82 Msg.Say(
"notEnoughFuel");
87 crafter = this.crafter,