1using System.Collections.Generic;
67 p.onProgressBegin = delegate
79 p.onProgress = delegate
140 if (p.Equals(traitScrollMapTreasure.
GetDest(fix:
true)))
151 num = ((num <= 0) ? 1 : (2 + num / 10));
174 int num2 = (p.HasBridge ? p.matBridge.hardness : p.
matFloor.hardness);
176 taskDig.owner =
owner;
190 SE.Play(
"ding_skill");
194 Thing thing = ThingGen.CreateTreasure(
"chest_treasure", map.LV);
195 EClass._zone.AddCard(thing, p);
196 ThingGen.TryLickChest(thing);
199 EClass.player.willAutoSave =
true;
208 case Mode.RemoveFloor:
void SetTarget(Chara c, Thing _tool=null)
ElementContainerCard elements
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void Say(string lang, string ref1=null, string ref2=null)
SourceMaterial.Row matFloor
override bool IsAliveInCurrentZone
void ModExp(int ele, float a, bool chain=false)
void SetBridge(int x, int z, int height=0, int idMat=0, int idBridge=0, int dir=0, byte idPillar=0)
void MineFloor(Point point, Chara c=null, bool recoverBlock=false, bool removePlatform=true)
List< Point > ListPointsInSquare(Point center, int radius, bool mustBeWalkable=true, bool los=true)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
SourceMaterial.Row matFloor
bool TryWitnessCrime(Chara criminal, Chara target=null, int radius=4, Func< Chara, bool > funcWitness=null)
SourceFloor.Row sourceFloor
void Animate(AnimeID id, bool animeBlock=false)
SourceFloor.Row sourceBridge
static void UseSeed(int seed, Action action)
void ComeUpWithRecipe(string idRecipe, int chanceForRandomRecipe=0)
string GetSoundImpact(RenderRow c=null)
void AddBlood(Point p, int a=1)
void PlayHitEffect(Point p, int emit=2)
override void OnCreateProgress(Progress_Custom p)
override void OnProgressComplete()
Thing GetTreasureMap(Point p)
override bool destIgnoreConnection
override HarvestType harvestType
override string GetTextSmall(Card c)
override string GetIdRecipe(Point p)
override CursorInfo CursorIcon
override bool IsHostileAct
override HitResult GetHitResult()
List< Thing > List(Func< Thing, bool > func, bool onlyAccessible=false)
static Thing Create(string id, int idMat=-1, int lv=-1)
bool IsCrime(Chara c, Act act)