1using System.Collections.Generic;
23 genBounds.marginPartial = 2;
24 genBounds.FuncCheckEmpty = (
Cell cell) => cell.sourceFloor.id == 42;
26 for (
int i = 0; i < 50; i++)
32 int num = 1 +
EClass.
rnd(5 + base.quest.difficulty * 2);
38 int num2 = item.growth.HarvestStage -
EClass.
rnd(4);
39 item.growth.SetStage(num2);
40 if (num2 ==
item.growth.HarvestStage)
44 item.cell.isClearSnow =
true;
51 thing.isNPCProperty =
true;
53 for (
int j = 0; j < 12; j++)
57 for (
int k = 0; k < 30; k++)
79 List<Thing> list =
new List<Thing>();
94 Msg.
Say(
"harvest_confiscate", list.Count.ToString() ??
"");
static SourceManager sources
static GenBounds Create(Zone z)
List< Point > ListEmptyPoint()
PartialMap TryAddMapPiece(MapPiece.Type type=MapPiece.Type.Any, float ruin=-1f, string tags=null, Action< PartialMap, GenBounds > onCreate=null)
static string _weight(int a, int b, bool showUnit=true, int unitSize=0)
PlantData AddPlant(Point pos, Thing seed)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
void Apply(Point _point, ApplyMode mode)
static SpawnSetting HomeWild(int lv)
void Foreach(Action< Thing > action, bool onlyAccessible=true)
override string TextWidgetDate
override void OnLeaveZone()
QuestHarvest questHarvest
override ZoneInstance.Status OnReachTimeLimit()
void SetBGM(List< int > ids, bool refresh=true)
Chara SpawnMob(Point pos=null, SpawnSetting setting=null)