1using System.Collections.Generic;
3using System.Text.RegularExpressions;
13 LayerDrama.fromBook =
true;
14 string text3 = a.drama[0];
15 string idStep =
"quest_" + a.id;
16 if (a.id ==
"pre_debt_runaway")
18 idStep =
"loytelEscaped";
27 static Chara GetChara(
string id)
34 string text = Regex.Replace(r.id,
"([0-9]*$)",
"");
35 string str = r.id.Replace(text,
"");
39 num = 1 + str.ToInt();
49 return name +
" " + num;
53 if (r.drama.IsEmpty() || GetChara(r.drama[0]) ==
null)
61 string text2 = Regex.Replace(r.id,
"([0-9]*$)",
"");
66 string str2 = r.id.Replace(text2,
"");
73 if (quest !=
null && num2 <= quest.
phase)
GlobalCharaList globalCharas
override string GetName(NameStyle style, int num=-1)
static SourceManager sources
static LayerDrama Activate(string book, string idSheet, string idStep, Chara target=null, Card ref1=null, string tag="")
Layer SetOnKill(Action action)
HashSet< string > completedIDs
override void OnRead(Chara c)