11 public override string LangUse =>
"ActRestrain";
45 actRestrain.shackle =
this;
52 tc.isRestrained =
true;
53 owner.c_uidRefCard = tc.
uid;
56 tc.
Say(
"restrained", tc);
77 owner.c_uidRefCard = chara2.
uid;
bool TrySetAct(string lang, Func< bool > onPerform, Card tc, CursorInfo cursor=null, int dist=1, bool isHostileAct=false, bool localAct=true, bool canRepeat=false)
void MoveImmediate(Point p, bool focus=true, bool cancelAI=true)
void Say(string lang, string ref1=null, string ref2=null)
static GameSetting setting
bool Equals(int _x, int _z)
virtual Vector3 GetRestrainPos
override bool CanUse(Chara c)
virtual bool AllowTraining
override bool CanStackTo(Thing to)
override bool OnUse(Chara c)
void Restrain(Card tc, bool msg=false)
override void TrySetHeldAct(ActPlan p)