1using System.Collections.Generic;
88 public override IEnumerable<Status>
Run()
122 if (destoryResources)
131 if (destoryResources)
149 for (
int i = 0; i <
num; i++)
154 Msg.
Say(
"invalidCraftResource");
void Add(Act a, string s="")
ElementContainerCard elements
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
static SoundManager Sound
static Effect Get(Effect original)
void Play(float delay, Point from, float fixY=0f, Point to=null, Sprite sprite=null)
void ModExp(int ele, int a, bool chain=false)
Element GetOrCreateElement(Element ele)
static LayerCraftFloat Instance
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
virtual RenderRow renderRow
List< Ingredient > ingredients
virtual SourceMaterial.Row GetMainMaterial()
virtual Thing Craft(BlessedState blessed, bool sound=false, List< Thing > ings=null, TraitCrafter crafter=null, bool model=false)
virtual SourceMaterial.Row GetColorMaterial()
override void OnCreateProgress(Progress_Custom p)
override bool _CanPerformTask(Chara chara, int radius)
override bool CanManualCancel()
override void OnProgressComplete()
override void OnBeforeProgress()
override bool CanProgress()
override void OnProgress()
bool IsIngredientsValid(bool destoryResources=false, int numCraft=1)
override IEnumerable< Status > Run()
Card AddCard(Card t, Point point)