1using System.Collections.Generic;
3using System.Text.RegularExpressions;
9 Dictionary<string, int> dict =
new Dictionary<string, int>();
14 LayerDrama.fromBook =
true;
15 string text3 = a.drama[0];
16 string idStep =
"quest_" + a.id;
17 if (a.id ==
"pre_debt_runaway")
19 idStep =
"loytelEscaped";
28 static Chara GetChara(
string id)
35 string text = Regex.Replace(r.id,
"([0-9]*$)",
"");
36 string str = r.id.Replace(text,
"");
49 if (!dict.ContainsKey(name))
54 return name +
" " + dict[name];
58 if (r.drama.IsEmpty() || GetChara(r.drama[0]) ==
null)
66 string text2 = Regex.Replace(r.id,
"([0-9]*$)",
"");
71 string str2 = r.id.Replace(text2,
"");
78 if (quest !=
null && num <= 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)