1using System.Collections.Generic;
11 public override string GetText(
string str =
"")
14 string text = list[Mathf.Clamp(
target.
c_fur / 10, 0, list.Length - 1)];
15 return "AI_Shear".lang() +
"(" + text +
")";
30 return base.Perform();
33 public override IEnumerable<Status>
Run()
40 onProgressBegin = delegate
67 onProgressComplete = delegate
79 }.SetDuration((6 + furLv * 6) * 100 / (100 +
owner.
Tool.
material.hardness * 2), 3);
85 return Mathf.Clamp(c.
c_fur / 10 + 1, 1, 5);
91 string text =
"fiber";
92 string idMat =
"wool";
94 if (!(text2 ==
"putty_snow"))
96 if (text2 ==
"putty_snow_gold")
102 string[] array = c.
Chara.
race.fur.Split(
'/');
112 int num = mod * furLv + furLv * furLv * 10;
120 int num3 = 20 + thing.material.tier * 20;
Status Do(AIAct _seq, Func< Status > _onChildFail=null)
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
override IEnumerable< Status > Run()
override bool ShouldAllyAttack(Chara tg)
static int GetFurLv(Chara c)
static Thing GetFur(Chara c, int mod=100)
override string GetText(string str="")
override bool IsValidTC(Card c)
void PlayAnime(AnimeID id, bool force)
ElementContainerCard elements
SourceMaterial.Row material
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
virtual bool IsAliveInCurrentZone
void Say(string lang, string ref1=null, string ref2=null)
void ModAffinity(Chara c, int a, bool show=true, bool showOnlyEmo=false)
MoveResult TryMoveTowards(Point p)
override void LookAt(Card c)
Thing Pick(Thing t, bool msg=true, bool tryStack=true)
static int curve(int a, int start, int step, int rate=75)
void ModExp(int ele, int a, bool chain=false)
Element ModBase(int ele, int v)
static string[] GetList(string id)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
static Thing Create(string id, int idMat=-1, int lv=-1)