Elin Decompiled Documentation EA 23.183 Nightly Patch 1
Loading...
Searching...
No Matches
RecipeCard.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using Newtonsoft.Json;
3using UnityEngine;
4
5public class RecipeCard : Recipe
6{
8
9 [JsonProperty]
10 public bool freePos;
11
12 [JsonProperty]
13 public float fx;
14
15 [JsonProperty]
16 public float fy;
17
18 public Card _mold;
19
20 public CardRow sourceCard => _sourceCard ?? (_sourceCard = EClass.sources.cards.map.TryGetValue(base.source.row.idString));
21
22 public override RenderRow renderRow => sourceCard;
23
24 public override TileType tileType => Mold.trait.tileType;
25
26 public string idCard => sourceCard.id;
27
28 public override bool CanRotate => tileType.CanRotate(buildMode: true);
29
30 public override bool IsThing => true;
31
32 public override Card Mold => _mold ?? (_mold = CreateMold());
33
34 public bool isDish => sourceCard._origin == "dish";
35
36 public override IRenderer GetRenderer()
37 {
38 return Mold.renderer;
39 }
40
41 public override string GetDetail()
42 {
43 return sourceCard.GetDetail();
44 }
45
46 public override string GetIdThing()
47 {
48 return id;
49 }
50
51 public override void OnRenderMarker(Point point, bool active, HitResult result, bool main, int dir, int bridgeHeight)
52 {
53 Mold.ignoreStackHeight = Input.GetKey(KeyCode.LeftControl);
54 Mold.SetFreePos(point);
56 fx = Mold.fx;
57 fy = Mold.fy;
58 Mold.RenderMarker(point, active, result, main, dir);
59 if (!point.cell.skipRender)
60 {
61 Mold.trait.OnRenderTile(point, result, dir);
62 }
63 }
64
65 public override void BuildIngredientList()
66 {
67 if (ingredients.Count != 0)
68 {
69 return;
70 }
71 base.BuildIngredientList();
73 {
74 return;
75 }
77 {
78 ingredients[0].ingType = IngType.CreativeFood;
79 }
80 if (EClass.pc.Evalue(1650) < 2)
81 {
82 return;
83 }
84 bool flag = ingredients.Count < 3;
85 foreach (Ingredient ingredient in ingredients)
86 {
87 if (ingredient.id == "seasoning")
88 {
89 flag = false;
90 }
91 }
92 if (flag)
93 {
95 {
96 id = "seasoning",
97 useCat = true,
98 optional = true,
99 req = 1
100 });
101 }
102 }
103
104 public override void OnChangeIngredient()
105 {
106 if (!UseStock)
107 {
109 if (base.source.colorIng != 0)
110 {
112 }
113 }
114 }
115
116 public override void OnSelected()
117 {
118 CreateMold();
119 }
120
122 {
123 if (_mold != null)
124 {
125 _mold.Destroy();
126 }
127 if (UseStock)
128 {
129 ingredients[0].RefreshThing();
130 }
131 if (UseStock && ingredients[0].thing != null)
132 {
133 _mold = ingredients[0].thing.Duplicate(1);
134 }
135 else
136 {
138 {
140 }
141 else
142 {
144 }
146 }
147 _mold.dir = _dir;
148 _mold.altitude = ActionMode.Build.altitude;
149 _mold.idSkin = idSkin;
150 return _mold;
151 }
152
153 public override Thing Craft(BlessedState blessed, bool sound = false, List<Thing> ings = null, TraitCrafter crafter = null, bool model = false)
154 {
155 string key = idCard;
156 int num = GetMainMaterial().id;
157 Element reqSkill = base.source.GetReqSkill();
158 int num2 = reqSkill.Value - EClass.pc.Evalue(reqSkill.id);
159 int num3 = GetQualityBonus();
160 int num4 = renderRow.LV + num3;
161 bool flag = num3 < 0;
162 CardRow cardRow = EClass.sources.cards.map.TryGetValue(key);
163 bool flag2 = false;
164 if (ings != null)
165 {
166 foreach (Thing ing in ings)
167 {
168 if (ing != null && ing.IsDecayed)
169 {
170 flag2 = true;
171 }
172 }
173 }
174 if (EClass.debug.godCraft || model)
175 {
176 flag = false;
177 }
178 else if (cardRow != null && cardRow.tag.Contains("no_fail"))
179 {
180 flag = false;
181 }
183 {
184 if (num2 > 0 && EClass.rnd(num2 * 10) > EClass.rnd(100))
185 {
186 key = GetIdFailDish();
187 flag = true;
188 }
189 else
190 {
191 flag = false;
192 }
193 }
194 if (!model)
195 {
196 switch (id)
197 {
198 case "weapon_stone":
199 case "weapon_wood":
200 Rand.SetSeed();
201 key = new string[6] { "dagger", "sword", "axe_hand", "blunt_club", "spear", "staff_long" }.RandomItem();
202 break;
203 case "weapon_anvil":
204 Rand.SetSeed();
205 key = new string[6] { "dagger", "sword", "axe_hand", "blunt_club", "spear", "staff_long" }.RandomItem();
206 num = ings[1].material.id;
207 break;
208 }
209 }
210 bool flag3 = EClass.sources.cards.map[key].tag.Contains("static_craft");
211 if (!isDish && num4 < 1)
212 {
213 num4 = 1;
214 }
215 if (EClass.sources.cards.map[key].tag.Contains("noQuality"))
216 {
217 num4 = -1;
218 }
219 if (EClass.sources.cards.map[key].tag.Contains("noMaterialChange"))
220 {
221 num = -1;
222 }
223 if (flag3)
224 {
225 num3 = 0;
226 flag = false;
227 }
229 {
230 qualityBonus = num3,
231 rarity = (flag ? Rarity.Crude : Rarity.Normal)
232 });
233 Thing thing = (flag3 ? ThingGen.Create(key) : ThingGen.Create(key, num, num4));
234 thing.idSkin = idSkin;
235 if (thing.IsEquipment && ings != null)
236 {
237 foreach (Thing ing2 in ings)
238 {
239 if (ing2.trait is TraitRune)
240 {
241 thing.AddRune(ing2);
242 if (!thing.HasElement(484))
243 {
244 thing.elements.SetBase(484, 1);
245 }
246 }
247 }
248 }
249 thing.Identify(show: false);
250 thing.isCrafted = true;
251 if (!flag3)
252 {
253 if (base.source.colorIng != 0)
254 {
255 thing.Dye(GetColorMaterial());
256 }
257 if (thing.IsContainer)
258 {
259 thing.RemoveThings();
260 thing.c_lockLv = 0;
261 }
262 }
263 thing.SetBlessedState(blessed);
264 if (!flag3)
265 {
266 if (isDish)
267 {
268 if (flag)
269 {
270 thing.ChangeMaterial("meat");
271 }
272 else
273 {
274 MakeDish(thing);
275 }
276 }
277 else
278 {
279 MixIngredients(thing);
280 }
281 if (isDish && flag2)
282 {
283 thing.decay = thing.MaxDecay + 1;
284 }
285 }
286 thing.trait.OnCrafted(this, ings);
287 if (thing.IsAmmo && num2 < 0)
288 {
289 thing.SetEncLv(-num2 / 10);
290 }
291 if (model)
292 {
293 thing.SetNum(1);
294 return thing;
295 }
296 int num5 = thing.trait.CraftNum;
297 if (crafter != null && EClass.pc.Evalue(1417) > 0 && crafter.WitchDoubleCraftChance(thing) > EClass.rnd(100))
298 {
299 num5 *= 2;
300 }
301 if (thing.trait is TraitFoodFishSlice && thing.c_idRefCard == thing.id && (thing.SelfWeight == 0 || thing.Evalue(10) == 0))
302 {
303 Msg.Say("noMoreSlice");
304 num5 = 1;
305 }
306 if (num5 > 1 && (thing.HasElement(703) || thing.HasElement(704) || thing.HasElement(1229)))
307 {
308 num5 = 1;
309 }
310 if (num5 > 1)
311 {
312 thing.SetNum(num5);
313 }
314 if (EClass.pc.held == null || !thing.TryStackTo(EClass.pc.held.Thing))
315 {
316 EClass.pc.HoldCard(thing);
317 }
318 if (sound)
319 {
320 thing.PlaySoundDrop(spatial: false);
321 }
322 Msg.Say("crafted", thing);
323 if (thing.Num > EClass.rnd(1000) || EClass.debug.enable)
324 {
326 }
327 if (isDish)
328 {
330 {
332 EClass.player.flags.canComupWithFoodRecipe = false;
333 }
334 if (flag && crafter != null && crafter.CanTriggerFire && EClass.rnd(4) == 0)
335 {
336 Point point = (crafter.ExistsOnMap ? crafter.owner.pos : EClass.pc.pos);
337 if (!point.cell.HasFire)
338 {
339 EClass._map.ModFire(point.x, point.z, 10);
340 }
341 }
342 }
343 return thing;
344 }
345
346 public void MakeDish(Thing t)
347 {
349 List<Thing> list = new List<Thing>();
350 foreach (Ingredient ingredient in ingredients)
351 {
352 list.Add(ingredient.thing);
353 }
355 Rand.SetSeed();
356 if (EClass.pc.HasElement(1658))
357 {
358 t.elements.SetBase(757, 1);
359 t.c_dateCooked = EClass.world.date.GetRaw() + (EClass.pc.Evalue(1658) - 1) * 48 * 60;
360 }
361 }
362
363 public void MixIngredients(Thing t)
364 {
366 List<Thing> list = new List<Thing>();
367 foreach (Ingredient ingredient in ingredients)
368 {
369 list.Add(ingredient.thing);
370 }
372 Rand.SetSeed();
373 }
374
375 public string GetIdFailDish()
376 {
377 return sourceCard.category switch
378 {
379 "meal_meat" => "fail_meat",
380 "meal_fish" => "fail_fish",
381 "meal_vegi" => "fail_vegi",
382 "meal_fruit" => "fail_fruit",
383 "meal_cake" => "fail_dough_cake",
384 "meal_bread" => "fail_dough_bread",
385 "meal_noodle" => "fail_noodle",
386 "meal_egg" => "fail_egg",
387 "meal_rice" => "fail_rice",
388 "meal_soup" => "fail_drink",
389 _ => "fail_dish",
390 };
391 }
392
393 public override void Build(TaskBuild task)
394 {
395 Card card = null;
396 if (task.target != null)
397 {
398 card = task.target;
399 }
400 else if (IngAsProduct)
401 {
402 if (task.resources.Count == 0)
403 {
404 Thing thing = ingredients[0].RefreshThing();
405 if (thing == null)
406 {
407 SE.Beep();
408 return;
409 }
410 Thing item = thing.Split(1);
411 task.resources.Add(item);
412 if (ingredients[0].thing.isDestroyed || ingredients[0].thing.ExistsOnMap)
413 {
414 ingredients[0].thing = null;
415 }
416 }
417 card = task.resources[0];
418 }
419 else if (sourceCard.isChara)
420 {
422 }
423 else
424 {
426 if (!card.IsUnique)
427 {
428 card.ChangeMaterial(GetMainMaterial());
429 }
430 if (base.source.colorIng != 0)
431 {
432 card.Dye(GetColorMaterial());
433 }
434 if (card.IsContainer)
435 {
436 card.RemoveThings();
437 }
438 foreach (Ingredient ingredient in ingredients)
439 {
440 if (ingredient.thing != null && ingredient.thing.HasElement(759))
441 {
442 card.elements.SetBase(759, ingredient.thing.Evalue(759));
443 }
444 }
445 }
446 Build(task.owner, card, task.pos, ingredients[0].mat, task.dir, task.altitude, task.bridgeHeight);
447 card.renderer.PlayAnime(AnimeID.Place);
448 }
449
450 public override void Build(Chara chara, Card t, Point pos, int mat, int dir, int altitude, int bridgeHeight)
451 {
452 if (mat == -1)
453 {
454 mat = 2;
455 }
456 EClass.pc.PlaySound(EClass.sources.materials.rows[mat].GetSoundImpact());
457 t.SetDir(dir);
458 t.idSkin = idSkin;
459 EClass._zone.AddCard(t, pos);
460 if (t.trait is TraitHouseBoard && ActionMode.Build.houseBoard != null)
461 {
462 (t.trait as TraitHouseBoard).data = IO.DeepCopy(ActionMode.Build.houseBoard.data);
463 }
464 t.SetPlaceState(PlaceState.installed, byPlayer: true);
465 t.altitude = altitude;
466 t.isPlayerCreation = true;
467 if (EClass._zone.idCurrentSubset != null)
468 {
469 t.isSubsetCard = true;
470 }
471 t.ignoreStackHeight = Input.GetKey(KeyCode.LeftControl);
472 if (ActionMode.Build.IsActive && t.trait.MaskOnBuild && EClass.debug.enable)
473 {
474 t.isMasked = true;
475 }
477 {
478 t.isRoofItem = true;
479 t.SetPlaceState(PlaceState.roaming);
480 }
481 try
482 {
483 t.ForeachPoint(delegate(Point p, bool main)
484 {
485 CheckBlock(p);
486 });
487 }
488 catch
489 {
490 Debug.LogWarning("kokodayo");
491 }
492 t.freePos = freePos;
493 if (freePos)
494 {
495 t.fx = fx;
496 t.fy = fy;
497 }
499 void CheckBlock(Point _pos)
500 {
501 if (_pos.cell.IsBlocked && _pos.HasChara)
502 {
503 foreach (Chara item in _pos.ListCharas().Copy())
504 {
505 chara.Kick(item, ignoreSelf: false, karmaLoss: false);
506 }
507 }
508 }
509 }
510
511 public override void OnChangeAltitude(int a)
512 {
513 Mold.altitude = a;
514 }
515
516 public override void Rotate()
517 {
518 Mold.Rotate();
519 _dir = Mold.dir;
520 if ((bool)BuildMenu.Instance)
521 {
523 }
524 }
525
526 public override void SetDir(int d)
527 {
528 Mold.dir = d;
529 base.SetDir(d);
530 }
531
532 public override void WriteNote(UINote n)
533 {
534 n.Clear();
535 if (!Mold.isChara)
536 {
538 }
539 n.Build();
540 }
541
542 public override Recipe Duplicate()
543 {
544 RecipeCard recipeCard = IO.DeepCopy(this);
545 recipeCard._mold = _mold;
546 return recipeCard;
547 }
548}
AnimeID
Definition: AnimeID.cs:2
BlessedState
Definition: BlessedState.cs:2
HitResult
Definition: HitResult.cs:2
PlaceState
Definition: PlaceState.cs:2
Rarity
Definition: Rarity.cs:2
new Chara owner
Definition: AIAct.cs:14
int altitude
Definition: AM_Build.cs:8
TraitHouseBoard houseBoard
Definition: AM_Build.cs:16
void Add(Act a, string s="")
Definition: ActPlan.cs:11
virtual bool IsRoofEditMode(Card c=null)
Definition: ActionMode.cs:311
static AM_Build Build
Definition: ActionMode.cs:49
virtual bool IsBuildMode
Definition: ActionMode.cs:181
static BuildMenu Instance
Definition: BuildMenu.cs:77
UIRecipeInfo info1
Definition: BuildMenu.cs:27
static void Set(CardBlueprint _bp)
void RefreshSprite()
bool isChara
Definition: CardRow.cs:55
string id
Definition: CardRow.cs:7
Definition: Card.cs:11
bool isDestroyed
Definition: Card.cs:73
bool IsDecayed
Definition: Card.cs:2249
virtual bool isThing
Definition: Card.cs:2043
bool IsAmmo
Definition: Card.cs:2209
SocketData AddRune(Card rune)
Definition: Card.cs:3496
Thing Split(int a)
Definition: Card.cs:3382
void SetPlaceState(PlaceState newState, bool byPlayer=false)
Definition: Card.cs:3639
ElementContainerCard elements
Definition: Card.cs:39
string id
Definition: Card.cs:33
bool HasElement(int ele, int req=1)
Definition: Card.cs:5638
float fy
Definition: Card.cs:252
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Definition: Card.cs:5852
Card ChangeMaterial(int idNew, bool ignoreFixedMaterial=false)
Definition: Card.cs:2994
virtual void SetDir(int d)
Definition: Card.cs:5908
float fx
Definition: Card.cs:240
Thing SetNum(int a)
Definition: Card.cs:3393
void ForeachPoint(Action< Point, bool > action)
Definition: Card.cs:7480
virtual void SetBlessedState(BlessedState s)
Definition: Card.cs:3787
Point pos
Definition: Card.cs:57
void RenderMarker(Point point, bool active, HitResult result, bool main, int dir, bool useCurrentPosition=false)
Definition: Card.cs:6000
void Dye(string idMat)
Definition: Card.cs:5708
Trait trait
Definition: Card.cs:51
bool IsEquipment
Definition: Card.cs:2135
void SetEncLv(int a)
Definition: Card.cs:3756
void Destroy()
Definition: Card.cs:4850
virtual void Rotate(bool reverse=false)
Definition: Card.cs:5927
void SetFreePos(Point point)
Definition: Card.cs:5976
virtual bool isChara
Definition: Card.cs:2045
virtual Thing Thing
Definition: Card.cs:2020
int turn
Definition: Card.cs:63
int Evalue(int ele)
Definition: Card.cs:2533
void PlaySoundDrop(bool spatial=true)
Definition: Card.cs:5837
int dir
Definition: Card.cs:144
bool TryStackTo(Thing to)
Definition: Card.cs:3295
int Num
Definition: Card.cs:156
SourceCategory.Row category
Definition: Card.cs:2011
bool IsContainer
Definition: Card.cs:2051
bool freePos
Definition: Card.cs:504
CardRenderer renderer
Definition: Card.cs:59
int LV
Definition: Card.cs:372
string c_idRefCard
Definition: Card.cs:1711
void RemoveThings()
Definition: Card.cs:3208
bool IsBlocked
Definition: Cell.cs:895
bool skipRender
Definition: Cell.cs:270
bool HasFire
Definition: Cell.cs:676
static Chara Create(string id, int lv=-1)
Definition: CharaGen.cs:17
Definition: Chara.cs:10
Card held
Definition: Chara.cs:70
void HoldCard(Card t, int num=-1)
Definition: Chara.cs:4332
void Kick(Point p, bool ignoreSelf=false)
Definition: Chara.cs:5452
bool godCraft
Definition: CoreDebug.cs:180
bool enable
Definition: CoreDebug.cs:285
Game game
Definition: Core.cs:72
bool IsGameStarted
Definition: Core.cs:84
static void MakeDish(Thing food, int lv, Chara crafter=null)
Definition: CraftUtil.cs:61
static Thing MixIngredients(string idProduct, List< Thing > ings, MixType type, int idMat=0, Chara crafter=null)
Definition: CraftUtil.cs:261
int GetRaw(int offsetHours=0)
Definition: Date.cs:322
Definition: EClass.cs:5
static Scene scene
Definition: EClass.cs:30
static Core core
Definition: EClass.cs:6
static Zone _zone
Definition: EClass.cs:20
static World world
Definition: EClass.cs:40
static Map _map
Definition: EClass.cs:18
static int rnd(long a)
Definition: EClass.cs:58
static SourceManager sources
Definition: EClass.cs:42
static Player player
Definition: EClass.cs:12
static Chara pc
Definition: EClass.cs:14
static CoreDebug debug
Definition: EClass.cs:48
void AddNote(UINote n, Func< Element, bool > isValid=null, Action onAdd=null, NoteMode mode=NoteMode.Default, bool addRaceFeat=false, Func< Element, string, string > funcText=null, Action< UINote, Element > onAddNote=null)
Element SetBase(string alias, int v, int potential=0)
int id
Definition: ELEMENT.cs:248
SourceElement.Row source
Definition: ELEMENT.cs:271
bool isLoading
Definition: Game.cs:235
void ModFire(int x, int z, int amount)
Definition: Map.cs:1168
Definition: Msg.cs:5
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
Definition: Msg.cs:58
bool canComupWithFoodRecipe
Definition: Player.cs:398
Flags flags
Definition: Player.cs:1014
RecipeManager recipes
Definition: Player.cs:1017
Definition: Point.cs:9
int x
Definition: Point.cs:36
int z
Definition: Point.cs:39
List< Chara > ListCharas()
Definition: Point.cs:1151
Cell cell
Definition: Point.cs:51
bool HasChara
Definition: Point.cs:226
Definition: Rand.cs:4
static void SetSeed(int a=-1)
Definition: Rand.cs:37
float fy
Definition: RecipeCard.cs:16
override void WriteNote(UINote n)
Definition: RecipeCard.cs:532
void MixIngredients(Thing t)
Definition: RecipeCard.cs:363
override Card Mold
Definition: RecipeCard.cs:32
bool isDish
Definition: RecipeCard.cs:34
override void BuildIngredientList()
Definition: RecipeCard.cs:65
CardRow _sourceCard
Definition: RecipeCard.cs:7
override TileType tileType
Definition: RecipeCard.cs:24
override bool IsThing
Definition: RecipeCard.cs:30
override void OnChangeAltitude(int a)
Definition: RecipeCard.cs:511
string GetIdFailDish()
Definition: RecipeCard.cs:375
float fx
Definition: RecipeCard.cs:13
override void Build(TaskBuild task)
Definition: RecipeCard.cs:393
override void OnRenderMarker(Point point, bool active, HitResult result, bool main, int dir, int bridgeHeight)
Definition: RecipeCard.cs:51
override void Build(Chara chara, Card t, Point pos, int mat, int dir, int altitude, int bridgeHeight)
Definition: RecipeCard.cs:450
Card _mold
Definition: RecipeCard.cs:18
override string GetIdThing()
Definition: RecipeCard.cs:46
CardRow sourceCard
Definition: RecipeCard.cs:20
override Thing Craft(BlessedState blessed, bool sound=false, List< Thing > ings=null, TraitCrafter crafter=null, bool model=false)
Definition: RecipeCard.cs:153
override Recipe Duplicate()
Definition: RecipeCard.cs:542
override string GetDetail()
Definition: RecipeCard.cs:41
override RenderRow renderRow
Definition: RecipeCard.cs:22
override void Rotate()
Definition: RecipeCard.cs:516
Card CreateMold()
Definition: RecipeCard.cs:121
override void OnSelected()
Definition: RecipeCard.cs:116
override bool CanRotate
Definition: RecipeCard.cs:28
string idCard
Definition: RecipeCard.cs:26
override void OnChangeIngredient()
Definition: RecipeCard.cs:104
bool freePos
Definition: RecipeCard.cs:10
void MakeDish(Thing t)
Definition: RecipeCard.cs:346
override void SetDir(int d)
Definition: RecipeCard.cs:526
override IRenderer GetRenderer()
Definition: RecipeCard.cs:36
void ComeUpWithRandomRecipe(string idCat=null, int lvBonus=0)
Definition: Recipe.cs:7
string id
Definition: Recipe.cs:174
List< Ingredient > ingredients
Definition: Recipe.cs:177
IngType
Definition: Recipe.cs:15
virtual SourceMaterial.Row GetMainMaterial()
Definition: Recipe.cs:480
int GetQualityBonus()
Definition: Recipe.cs:393
bool UseStock
Definition: Recipe.cs:180
int _dir
Definition: Recipe.cs:188
int idSkin
Definition: Recipe.cs:194
virtual SourceMaterial.Row GetColorMaterial()
Definition: Recipe.cs:494
bool IngAsProduct
Definition: Recipe.cs:183
string[] tag
Definition: RenderRow.cs:58
ActionMode actionMode
Definition: Scene.cs:79
Dictionary< string, CardRow > map
Definition: SourceCard.cs:8
string GetDetail()
Definition: SourceData.cs:543
SourceMaterial materials
SourceCard cards
string idCurrentSubset
Definition: Spatial.cs:28
int altitude
Definition: TaskBuild.cs:17
Card target
Definition: TaskBuild.cs:35
int bridgeHeight
Definition: TaskBuild.cs:14
int dir
Definition: TaskBuild.cs:11
List< Thing > resources
Definition: TaskBuild.cs:20
Point pos
Definition: TaskPoint.cs:11
static Thing Create(string id, int idMat=-1, int lv=-1)
Definition: ThingGen.cs:53
Definition: Thing.cs:8
override int SelfWeight
Definition: Thing.cs:82
Thing Identify(bool show=true, IDTSource idtSource=IDTSource.Identify)
Definition: Thing.cs:2025
virtual bool CanRotate(bool buildMode)
Definition: TileType.cs:284
virtual int CraftNum
Definition: Trait.cs:132
virtual void OnRenderTile(Point point, HitResult result, int dir)
Definition: Trait.cs:696
virtual TileType tileType
Definition: Trait.cs:49
virtual bool MaskOnBuild
Definition: Trait.cs:176
virtual void OnCrafted(Recipe recipe, List< Thing > ings)
Definition: Trait.cs:655
Definition: UINote.cs:6
void Clear()
Definition: UINote.cs:35
void Build()
Definition: UINote.cs:49
void OnRotate()
GameDate date
Definition: World.cs:6
override int DangerLv
Definition: Zone.cs:107
Card AddCard(Card t, Point point)
Definition: Zone.cs:1925