9 EffectInject(EClass.pc, c);
10 c.AddCondition<ConHallucination>(50);
11 TraitGeneMachine traitGeneMachine = c.pos.FindThing<TraitGeneMachine>();
12 if (traitGeneMachine != null && traitGeneMachine.GetTarget() == c)
14 int remainingHours = EClass.world.date.GetRemainingHours(c.conSuspend.dateFinish);
15 remainingHours = remainingHours * 2 / 3 - 10;
16 if (remainingHours < 0)
20 c.conSuspend.dateFinish = EClass.world.date.GetRaw(remainingHours);
21 c.PlayEffect(
"heal_tick");
22 c.PlaySound(
"heal_tick");
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 ModNum(int a, bool notify=true)
override void TrySetHeldAct(ActPlan p)