1using System.Collections.Generic;
87 public override IEnumerable<Status>
Run()
111 cc.
Say((this.variation ==
Variation.Slime) ?
"slime_start" : ((
this.variation ==
Variation.Bloodsuck) ?
"suck_start" : (
Type.ToString() +
"_start")), cc, tc);
113 maxProgress = ((this.variation == Variation.NTR || this.variation ==
Variation.Bloodsuck) ? 10 : 25);
123 switch (this.variation)
150 cc.
Say(
"ntr", cc, tc);
162 EClass.player.forceTalk =
true;
164 cc.
Talk((this.variation ==
Variation.MotherMilk) ?
"play_baby" :
"tail");
173 EClass.player.forceTalk =
true;
175 tc.
Talk((this.variation ==
Variation.MotherMilk) ?
"play_mama" :
"tailed");
180 if (this.variation ==
Variation.MotherMilk)
186 ((
EClass.
rnd(2) == 0) ? cc : tc).PlayEffect(
"love2");
210 if (i == 0 || i == 10)
222 if (cc == tc ||
item != cc)
265 c.interest -= (c.IsPCFaction ? 20 : (2 * num2 / 100));
269 int num4 = cc.CHA / 2 + cc.
Evalue(237) - c.CHA * 2;
272 num3 = 5 + Mathf.Clamp(num4 / 20, 0, 20);
276 num3 = -5 + ((!tc.
IsPCFaction) ? Mathf.Clamp(num4 / 10, -30, 0) : 0);
344 for (
int i = 0; i < 2; i++)
346 Chara chara3 = ((i == 0) ? chara : chara2);
372 chara.
Talk(
"tail_after");
378 EClass.player.forceTalk =
true;
379 chara2.
Talk(
"seduced");
390 Chara chara4 = chara;
391 Chara chara5 = chara2;
397 Debug.Log(
"buyer:" + chara.
Name +
" seller:" + chara2.
Name +
" money:" + num3);
409 chara.
Talk(
"tail_pay");
413 chara.
Talk(
"tail_nomoney");
415 chara2.
Say(
"angry", chara2);
416 chara2.
Talk(
"angry");
417 flag = (
sell ? true :
false);
437 chara2.c_allowance += num3;
466 SuccubusExp(chara, chara2);
467 SuccubusExp(chara2, chara);
525 for (
int j = 0; j < 10; j++)
527 for (
int k = 0; k < 20; k++)
530 if (
EClass.
rnd(10) < chara.body.slots.Count - 2)
551 thing.c_DNA.type =
DNA.
Type.Inferior;
566 chara.
Say(
"tender_hug", chara, chara2);
572 int num = ((!chara2.
IsPCFaction) ? (chara2.
IsHuman ? 10 : 5) : (chara2.IsHuman ? 5 : 0));
605 chara.
Say(
"tame_fail", chara, chara2);
611 chara2.calmCheckTurn *= 3;
618 return (
int)Mathf.Max(10f * (
float)c1.
END / (
float)Mathf.Max(c2.
END, 1), 0f);
631 c.
Say(
"succubus_exp", c,
item.Name.ToLower());
Status DoGoto(Point pos, int dist=0, bool ignoreConnection=false, Func< Status > _onChildFail=null)
override bool CancelWhenDamaged
override IEnumerable< Status > Run()
override bool CancelOnAggro
override int CurrentProgress
override bool ShouldAllyAttack(Chara tg)
static int Whore(Chara seller, Chara buyer)
void PlayAnime(AnimeID id, bool force)
ElementContainerCard elements
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
void Talk(string idTopic, string ref1=null, string ref2=null, bool forceSync=false)
int GetCurrency(string id="money")
Effect PlayEffect(string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3))
void ShowEmo(Emo _emo=Emo.none, float duration=0f, bool skipSame=true)
void ModCurrency(int a, string id="money")
Card MakeFoodFrom(string _id)
void ModExp(string alias, int a)
void ModNum(int a, bool notify=true)
bool HasElement(int ele, bool includeNagative=false)
void Say(string lang, string ref1=null, string ref2=null)
BodySlot GetSlot(Thing t, bool onlyEmpty=false, bool secondSlot=false)
override bool IsAliveInCurrentZone
Condition AddCondition(string id, int p=100, bool force=false)
void ModAffinity(Chara c, int a, bool show=true, bool showOnlyEmo=false)
void SetFeat(int id, int value=1, bool msg=false)
bool HasCondition(string alias)
override bool IsPCFaction
override bool IsDeadOrSleeping
void MakeAlly(bool msg=true)
void GainAbility(int ele, int mtp=100, Thing origin=null)
FactionMemberType memberType
void SetTempHand(int right=0, int left=0)
Thing MakeGene(DNA.Type? type=null)
void DoHostileAction(Card _tg, bool immediate=false)
override void LookAt(Card c)
static Thing MakeBloodMeal(Chara sucker, Chara feeder, bool msg=true)
void MakeSlimeFood(Chara c)
Element GetInvalidFeat(Chara c)
void ReplaceBodySlot(int slot)
Element GetInvalidAction(Chara c)
static SourceManager sources
static int rndHalf(int a)
void ModExp(int ele, float a, bool chain=false)
Element ModTempPotential(int ele, int v, int threshMsg=0)
int ValueWithoutLink(int ele)
Element ModBase(int ele, int v)
List< Element > ListBestAttributes()
static void Proc(Chara c, Thing food, bool consume=true)
ReligionManager religions
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
Thing DropReward(Thing t, bool silent=false)
List< Chara > ListCharasInRadius(Chara cc, int dist, Func< Chara, bool > func, bool onlyVisible=true)
bool TryWitnessCrime(Chara criminal, Chara target=null, int radius=4, Func< Chara, bool > funcWitness=null)
ReligionMoonShadow MoonShadow
static TargetTypeChara Chara
static Thing Create(string id, int idMat=-1, int lv=-1)