1using System.Collections.Generic;
107 if (thing.
id ==
"medal")
109 thing.isHidden =
false;
179 public override IEnumerable<Status>
Run()
214 yield
return Status.Running;
239 foreach (
Point p
in list)
245 for (
int _x = p.
x - 1; _x <= p.
x + 1; _x++)
247 for (
int _z = p.
z - 1; _z <= p.
z + 1; _z++)
253 yield
return DoGoto(dest);
256 yield
return Status.Success;
270 for (
int i = p.
x - 1; i <= p.
x + 1; i++)
272 for (
int j = p.
z - 1; j <= p.
z + 1; j++)
291 int[] array =
new int[15]
293 233, 235, 236, 236, 236, 1170, 1143, 1144, 727, 728,
294 237, 869, 1178, 1179, 1180
303 text =
"book_ancient";
310 text =
"scratchcard";
314 text =
"casino_coin";
322 text =
new string[7] {
"659",
"758",
"759",
"806",
"828",
"1190",
"1191" }.RandomItem();
342 num2 =
EClass.
rnd(num / (num3 + 10)) + 1;
Status DoWait(int count=1)
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
override bool ShowProgress
override void OnProgressComplete()
override void OnProgress()
override bool CanPerform()
static Point GetFishingPoint(Point p)
override AIProgress CreateProgress()
override bool CanManualCancel()
static Thing Makefish(Chara c)
override IEnumerable< Status > Run()
void PlayAnime(AnimeID id, bool force)
ElementContainerCard elements
bool HasElement(int ele, int req=1)
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
virtual void SetBlessedState(BlessedState s)
int ChildrenAndSelfWeight
void ModNum(int a, bool notify=true)
void Say(string lang, string ref1=null, string ref2=null)
override bool IsPCFaction
void ClearInventory(ClearInventoryType type)
override void LookAt(Card c)
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
static FactionBranch Branch
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)
List< Point > ListPoints()
ConfigPreference preference
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
Point Set(int _x, int _z)
SoundSource PlaySound(string id, bool synced=true, float v=1f, bool spatial=true)
static TargetTypeGround Ground
List< Thing > List(Func< Thing, bool > func, bool onlyAccessible=false)
static Thing Create(string id, int idMat=-1, int lv=-1)
Card AddCard(Card t, Point point)