34 {
37 bool isInGuild = Guild.Fighter.IsCurrentZone || Guild.Mage.IsCurrentZone || Guild.Thief.IsCurrentZone ||
Guild.
Merchant.
IsCurrentZone;
38 string bird = (flag2 ? "bird" : "tail");
40 string rumor = (c.IsPCParty ? GetTalk(
"sup") :
GetRumor(c));
43 bool num = !c.IsUnique ||
HasTopic(
"unique", c.
id);
44 if (!flag)
45 {
47 _Talk(
"tg", () => rumor);
48 }
49 if (num && flag3)
50 {
53 {
54 sequence.firstTalk.funcText = () => rumor;
56 Hobby hobby = ((list2.Count > 0) ? list2[0] :
null);
58 {
60 {
61 GameLang.refDrama1 = c.
GetFavCat().GetName().ToLower();
63 rumor =
GetText(c,
"general",
"talk_fav");
64 c.knowFav = true;
65 }
66 else
67 {
68 GameLang.refDrama1 = hobby.
Name.ToLower();
69 rumor =
GetText(c,
"general",
"talk_hobby");
70 }
71 }
72 else
73 {
75 }
77 choice.forceHighlight = true;
78 }).SetCondition(() => c.interest > 0);
79 }
80 bool flag4 = false;
82 {
84 {
86 flag4 = true;
87 }
88 else
89 {
91 }
92 }
94 {
96 if (!
item.CanDeliverToClient(c))
97 {
98 continue;
99 }
102 {
105 {
109 {
111 });
112 }
113 }
115 {
117 {
118 Choice2(
"daMakeHome",
"_makeHome");
119 }
121 {
123 }
124 }
126 {
129 {
131 {
133 {
134 Choice2("daLostProperty".lang(_t.Name), "_lostProperty").SetOnClick(delegate
135 {
136 destThing = _t;
137 });
138 }
139 });
140 }
142 {
144 {
146 {
148 {
149 continue;
150 }
152 if (dest != null)
153 {
155 {
157 });
158 }
160 {
161 continue;
162 }
164 if (dest2 != null)
165 {
167 {
169 });
170 }
171 }
173 {
175 }
176 }
178 {
180 }
182 {
184 }
186 {
188 {
190 }
192 {
194 }
195 }
197 {
199 }
201 {
203 }
205 {
206 Choice2(flag2 ?
"daBird" :
"daTail",
"_tail");
207 }
209 {
211 }
213 {
215 }
217 {
218 Choice2(flag2 ?
"daBirdBuy" :
"daTailBuy",
"_whore");
219 }
221 {
223 }
225 {
227 }
229 {
230 Choice2(
"daSellFame",
"_sellFame");
231 }
233 {
235 {
236 Choice2(
"daInvest",
"_investZone");
237 }
239 {
240 Choice2(
"daInvest",
"_investShop");
241 }
242 }
244 {
246 Choice2(
"daIdentifyAll",
"_identifyAll");
248 }
250 {
252 {
254 }
256 {
259 {
261 });
262 }
263 }
265 {
266 Choice2(
"daDeposit",
"_deposit");
267 }
269 {
270 Choice2(
"daExtraTax",
"_extraTax");
271 }
273 {
274 Choice2(
"daBlessing",
"_blessing");
275 }
276 }
277 }
279 {
281 {
283 {
285 }
286 Choice2(
"daBuyLand",
"_buyLand");
287 Choice2(
"daChangeTitle",
"_changeTitle");
288 }
290 {
291 Choice2(
"enableMove",
"_enableMove");
292 }
294 {
295 Choice2(
"daJoinParty",
"_joinParty");
296 }
297 Choice2(
"daFactionOther",
"_factionOther");
298 }
300 {
301 Choice2(
"daGreatDebt",
"_greatDebt");
302 }
303 if (!flag)
304 {
307 }
308 Step(
"_factionOther");
311 {
313 if (questDebt !=
null && questDebt.
gaveBill)
314 {
315 Choice(
"daGreatDebt2",
"_greatDebt2");
316 }
317 }
319 {
321 {
322 Choice((c.
GetInt(106) == 0) ?
"daShutup" :
"daShutup2",
"_shutup");
324 {
325 Choice((c.
GetInt(108) == 0) ?
"daInsult" :
"daInsult2",
"_insult");
326 }
327 }
328 }
330 {
331 Choice(
"disableMove",
"_disableMove");
332 }
333 Choice((c.
GetInt(123) == 0) ?
"daSleepBeside" :
"daSleepBeside2",
"_sleepBeside");
335 {
336 Choice(
"daEquipSharedOff",
"_toggleSharedEquip");
337 }
338 else
339 {
340 Choice(
"daEquipSharedOn",
"_toggleSharedEquip");
341 }
343 {
344 Choice(
"daMakeMaid",
"_daMakeMaid");
345 }
347 {
348 Choice(
"daBanish",
"_depart");
349 }
351 Step(
"_toggleSharedEquip");
353 {
355 });
360 {
361 EClass.Branch.uidMaid = c.
uid;
362 });
367 {
369 {
370 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
371 TempTalkTopic("invite3", StepDefault);
372 }
373 else
374 {
375 EClass.pc.party.AddMemeber(c, showMsg: true);
376 }
377 });
381 {
384 {
385 EClass.pc.Say("tame_send", c, c.homeZone.Name);
386 c.MoveZone(c.homeZone);
387 }
388 });
392 Step(
"_makeLivestock");
394 {
396 });
397 Talk(
"becomeLivestock",
StepEnd);
398 Step(
"_makeResident");
400 {
402 });
403 Talk(
"becomeResident",
StepEnd);
406 Choice(
"depart1",
"_depart1");
407 Choice(
"depart2",
"_depart2");
410 {
412 {
414 });
415 });
420 Talk("gift_good", null);
424 {
427 {
429 }
430 else
431 {
432 TempTalkTopic("goto", "_goto2");
433 }
434 });
437 {
439 {
440 destCard.Teleport(EClass.pc.pos.GetNearestPoint(allowBlock: false, allowChara: false, allowInstalled: true, ignoreCenter: true) ?? EClass.pc.pos, silent: true, force: true);
441 }
444 });
448 Step(
"_lostProperty");
450 {
454 });
460 {
463 });
467 {
469 {
470 return "";
471 }
476 }, text);
477 string text2 = "daAccept".lang();
479 {
481 }
483 {
487 {
491 {
493 if (supply != null)
494 {
496 {
499 {
504 {
506 });
507 }
508 }
509 }
511 Step(
"_questAccept");
513 Step(
"_questAccept_instance");
516 {
524 {
527 {
528 TempTalkTopic(
"loytel_bill_give_wait",
StepDefault);
529 }
531 {
532 TempTalkTopic(
"loytel_bill_give_given",
StepDefault);
533 }
534 else
535 {
538 }
539 });
542 {
544 TempTalkTopic(
"loytel_bill_give_lost",
StepEnd);
546 });
549 {
551 });
554 Step(
"_sleepBeside");
556 {
558 {
559 c.SetInt(123, (c.GetInt(123) == 0) ? 1 : 0);
560 }
561 else
562 {
563 TempTalkTopic("refuse", StepEnd);
564 }
565 });
570 {
572 });
575 {
577 {
578 c.Talk("insult");
579 }
580 });
584 {
586 });
592 {
593 });
595 {
596 });
599 {
601 {
602 TempTalkTopic("invite2", StepDefault);
603 }
605 {
606 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
607 TempTalkTopic("invite3", StepDefault);
608 }
609 else
610 {
611 TempTalkTopic("invite", null);
612 Choice("yes", delegate
613 {
614 TempTalk("hired", StepEnd);
615 EClass.Sound.Play("good");
616 c.MakeAlly();
617 });
619 }
620 });
623 {
624 TempTalkTopic("guide", null);
626 {
628 {
630 });
631 }
633 TempCancel();
634 });
635 BackChill();
638 {
639 TempTalkTopic(bird + "1", null);
641 {
642 TempTalkTopic(bird +
"2",
StepEnd);
644 {
645 target = c,
646 sell = true
647 });
648 });
650 });
653 {
656 TempTalkTopic(bird + "3", null);
658 {
660 {
661 TempTalkTopic("nomoney", StepDefault);
662 }
663 else
664 {
665 SE.Pay();
666 EClass.pc.ModCurrency(-costWhore);
667 TempTalkTopic(bird + "2", StepEnd);
668 EClass.pc.SetAI(new AI_Fuck
669 {
670 target = c
671 });
672 }
673 });
675 });
678 {
681 TempTalkTopic("bird3", null);
683 {
685 {
686 TempTalkTopic("lockTooHard", StepDefault);
687 }
689 {
690 TempTalkTopic("nomoney", StepDefault);
691 }
692 else
693 {
694 SE.Pay();
695 EClass.pc.ModCurrency(-cost8);
696 manager.layer.SetOnKill(delegate
697 {
698 c.PlaySound("lock_open");
699 c.Say("lockpick_success", c, destThing);
700 c.ModExp(280, 200 + destThing.c_lockLv * 20);
701 destThing.c_lockLv = 0;
702 if (destThing.isLostProperty)
703 {
704 EClass.player.ModKarma(-8);
705 }
706 destThing.isLostProperty = false;
707 });
709 }
710 });
712 });
715 {
717 {
718 SE.Play("click_chat");
719 if (EClass.pc.GetCurrency("medal") > 0)
720 {
721 TempTalkTopic("miral_medal", null);
722 }
723 else
724 {
725 TempTalkTopic("miral_medal2", StepDefault);
726 }
727 }
728 });
730 {
732 {
733 SE.Play("click_chat");
734 TempTalkTopic("shop_blackmarket_noaccess", StepEnd);
735 }
737 {
738 SE.Play("click_chat");
739 TempTalkTopic("shop_criminal", StepEnd);
740 }
741 else
742 {
743 sequence.Exit();
744 manager.layer.Close();
745 c.trait.OnBarter();
746 if ((bool)WidgetFeed.Instance)
747 {
748 WidgetFeed.Instance.Talk(c, "barter");
749 }
751 }
755 {
756 List<ResearchPlan> plans = new List<ResearchPlan>();
758 {
760 {
762 }
763 }
765 {
766 list.moldItem = Resources.Load<
ItemGeneral>(
"UI/Element/Item/ItemGeneralBarter").transform;
768 {
770 {
771 b.button1.mainText.text = a.
Name;
775 uIItem.image1.sprite = c2.resource.Sprite;
777 {
779 });
780 b.
button1.onClick.AddListener(delegate
781 {
782 if (c2.resource.value < c2.cost)
783 {
784 SE.Beep();
785 }
786 else
787 {
788 c2.resource.Mod(-c2.cost);
789 plans.Remove(a);
791 SE.Pay();
792 list.
List(refreshHighlight:
true);
793 }
794 });
795 b.RebuildLayout(recursive: true);
796 },
797 onList = delegate
798 {
800 {
802 }
803 }
804 };
805 }).SetSize()
807 {
808 branchMoney = true
809 });
811 Step(
"_upgradeHearth");
813 {
816 GameLang.refDrama2 = (EClass.Branch.lv + 1).ToString() ?? "";
818 TempTalkTopic("upgrade_heath1", null);
820 {
822 {
823 TempTalkTopic("nomoney", StepDefault);
824 }
825 else
826 {
827 EClass.pc.ModCurrency(-cost7);
828 SE.Pay();
829 LayerDrama.Instance.SetOnKill(delegate
830 {
831 EClass.Branch.Upgrade();
832 });
833 TempTalkTopic(
"upgrade_heath2",
StepEnd);
834 }
835 });
837 });
840 {
841 int cost6 = EClass.player.fame / 5;
842 GameLang.refDrama1 = cost6.ToString() ?? "";
843 if (cost6 == 0)
844 {
846 }
847 else
848 {
849 TempTalkTopic("sellFame1", null);
851 {
853 SE.Pay();
856 });
858 }
859 });
862 {
866 TempTalkTopic("invest1", null);
868 {
869 Invest(quick: false);
870 });
872 Choice(
"quickInvest", delegate
873 {
874 Invest(quick: true);
875 });
876 void Invest(bool quick)
877 {
879 {
881 }
882 else
883 {
885 SE.Pay();
886 EClass._zone.investment += cost5;
890 if (quick)
891 {
893 }
894 else
895 {
897 }
898 }
899 }
900 });
903 {
907 TempTalkTopic("invest_shop1", null);
909 {
910 Invest(quick: false);
911 });
913 Choice(
"quickInvest", delegate
914 {
915 Invest(quick: true);
916 });
917 void Invest(bool quick)
918 {
920 {
922 }
923 else
924 {
926 SE.Pay();
931 if (quick)
932 {
934 }
935 else
936 {
938 }
939 }
940 }
941 });
942 Step(
"_changeTitle");
944 {
945 EClass.player.title = WordGen.Get("title");
951 {
954 GameLang.refDrama1 = "";
955 GameLang.refDrama2 = costLand.ToString() ?? "";
956 if (!num5)
957 {
959 }
960 else
961 {
964 {
966 {
967 TempTalkTopic("nomoney", StepDefault);
968 }
969 else
970 {
971 SE.Pay();
972 EClass.pc.ModCurrency(-costLand, "money2");
973 TempTalkTopic("expand2", StepDefault);
974 EClass._map.bounds.Expand(1);
975 SE.Play("good");
976 EClass._map.RefreshAllTiles();
977 WidgetMinimap.UpdateMap();
978 ScreenEffect.Play("Firework");
979 }
980 });
982 }
983 });
986 {
990 });
994 {
1001 {
1003 TempTalkTopic(
"blessing",
StepEnd);
1005 {
1007 {
1008 if (c.trait is TraitMiko_Mifu)
1009 {
1010 member.AddCondition<ConHolyVeil>()?.SetPerfume();
1011 }
1013 {
1014 member.AddCondition<ConEuphoric>()?.SetPerfume();
1015 }
1016 else
1017 {
1018 member.AddCondition<ConNightVision>()?.SetPerfume();
1019 }
1020 member.
Say(
"blessing", member);
1023 }
1024 c.isRestocking = true;
1025 });
1027 });
1030 {
1032 {
1033 list.moldItem = Resources.Load<
ButtonElement>(
"UI/Element/Button/ButtonElementTrain").transform;
1035 {
1037 {
1039 if (num4 == 0)
1040 {
1041 SE.Beep();
1042 }
1044 {
1046 {
1048 }
1049 else
1050 {
1052 }
1055 }
1056 },
1058 {
1060 b.imagePotential.enabled = flag5;
1064 b.mainText.text = b.mainText.text + " " + (flag5 ? "" : ("notLearned".lang() + " "));
1065 b.subText2.text = ((cost3 == 0) ? "-" : (cost3.ToString() ?? "")).TagColor(() => plat >= cost3 && cost3 != 0);
1066 b.RebuildLayout();
1067 },
1068 onInstantiate = delegate
1069 {
1070 },
1071 onList = delegate
1072 {
1074 {
1075 if (a.tag.Contains("unused"))
1076 {
1077 return false;
1078 }
1079 if (a.tag.Contains("guild"))
1080 {
1082 {
1083 return true;
1084 }
1086 {
1087 return true;
1088 }
1090 {
1091 return true;
1092 }
1094 {
1095 return true;
1096 }
1097 return false;
1098 }
1099 if (isInGuild)
1100 {
1101 return false;
1102 }
1103 return a.category ==
"skill" && a.categorySub == c.
trait.
IDTrainer;
1104 }).ToList())
1105 {
1107 }
1108 }
1109 };
1110 }).SetSize()
1114 {
1115 plat = true
1116 });
1118 Step(
"_changeDomain");
1120 {
1125 {
1129 {
1130 money = true
1131 });
1135 {
1136 LayerPeople.slaveToBuy = null;
1140 {
1141 money = true
1142 });
1144 }, () => !layer, "_buySlaveConfirm");
1145 Step(
"_buySlaveConfirm");
1147 {
1149 if (tc == null)
1150 {
1151 RumorChill();
1152 }
1153 else
1154 {
1156 GameLang.refDrama1 = cost2.ToString() ?? "";
1157 GameLang.refDrama2 = tc.
Name;
1158 TempTalkTopic("slave_buy", null);
1160 {
1162 {
1163 TempTalkTopic("nomoney", StepDefault);
1164 }
1165 else
1166 {
1167 GameLang.refDrama1 = tc.Name;
1168 EClass._zone.AddCard(tc, EClass.pc.pos.GetNearestPoint());
1169 tc.MakeAlly();
1170 c.GetObj<SlaverData>(5).list.Remove(tc);
1171 TempTalkTopic("slave_buy2", StepEnd);
1172 }
1173 }).DisableSound();
1175 }
1176 });
1180 {
1185 {
1191 Step(
"_identifyAll");
1193 {
1194 int costIdentify = 0;
1195 int numIdentify = 0;
1196 int numSuperior = 0;
1198 {
1200 {
1201 numIdentify++;
1202 costIdentify += CalcMoney.Identify(EClass.pc, superior: false);
1203 }
1204 });
1205 GameLang.refDrama1 = costIdentify.ToString() ?? "";
1206 GameLang.refDrama2 = numIdentify.ToString() ?? "";
1207 if (numIdentify == 0)
1208 {
1210 }
1211 else
1212 {
1215 {
1217 {
1218 TempTalkTopic("nomoney", StepDefault);
1219 }
1220 else
1221 {
1222 SE.Pay();
1223 EClass.pc.ModCurrency(-costIdentify);
1224 foreach (Thing item8 in EClass.pc.things.List((Thing t) => !t.IsIdentified, onlyAccessible: true))
1225 {
1226 item8.Thing.Identify(show: false);
1227 if (!item8.IsInstalled)
1228 {
1229 numSuperior++;
1230 }
1231 }
1233 }
1234 });
1236 }
1237 });
1238 Step(
"_identifySP");
1240 {
1248 {
1251 {
1253 {
1256 targetZ = c.pos.z
1257 });
1260 {
1261 target = c
1262 });
1265 {
1266 EClass.pc.MoveZone(z, ZoneTransition.EnterState.Center);
1267 });
1268 TempTalkTopic(
"bout2",
StepEnd);
1269 });
1274 {
1277 {
1278 TempTalkTopic("news2", null);
1279 }
1280 else
1281 {
1282 zone.isKnown = true;
1284 GameLang.refDrama1 = zone.
Name;
1285 TempTalkTopic("news1", null);
1286 }
1288 });
1290 {
1295 {
1298 TempTalkTopic("healer1", null);
1300 {
1302 {
1303 TempTalkTopic("nomoney", StepDefault);
1304 }
1305 else
1306 {
1307 SE.Pay();
1308 foreach (Chara member2 in EClass.pc.party.members)
1309 {
1310 ActEffect.Proc(EffectId.HealComplete, member2);
1311 }
1313 TempTalkTopic(
"healer2",
StepEnd);
1314 }
1315 });
1317 });
1320 {
1323 TempTalkTopic("food1", null);
1325 {
1327 {
1328 TempTalkTopic("alreadyFull", StepDefault);
1329 }
1331 {
1332 TempTalkTopic("nomoney", StepDefault);
1333 }
1334 else
1335 {
1336 SE.Pay();
1337 EClass.pc.ModCurrency(-cost);
1338 TempTalkTopic("food2", StepDefault);
1339 FoodEffect.Proc(EClass.pc, ThingGen.Create("dish_lunch"));
1340 EClass.pc.hunger.value = 0;
1341 }
1342 });
1344 });
1345 int[] bankTier = new int[5] { 100, 1000, 10000, 100000, 1000000 };
1348 {
1352 {
1353 WidgetFeed.Instance.Talk(c, "barter");
1354 }
1355 SE.Play("shop_open");
1361 {
1365 {
1366 WidgetFeed.Instance.Talk(c, "barter");
1367 }
1368 SE.Play("shop_open");
1371 {
1372 c.c_copyContainer = ThingGen.Create("container_deposit");
1373 }
1379 int[] taxTier = new int[6] { 0, 1000, 2000, 5000, 10000, 20000 };
1382 {
1384 TempTalkTopic("extraTax", null);
1385 int[] array2 = taxTier;
1386 foreach (int num3 in array2)
1387 {
1388 int _i2 = num3;
1390 {
1391 EClass.player.extraTax = _i2;
1392 GameLang.refDrama1 = Lang._currency(_i2, "money");
1393 TempTalkTopic("extraTax2", StepDefault);
1394 });
1395 }
1397 });
1400 {
1402 GameLang.refDrama1 = bankMoney.ToString() ?? "";
1403 TempTalkTopic("banker2", null);
1404 int[] array = bankTier;
1405 foreach (int num2 in array)
1406 {
1407 int _i = num2;
1409 {
1411 {
1412 SE.Pay();
1413 EClass.pc.ModCurrency(_i);
1414 EClass.player.bankMoney -= _i;
1415 TempTalkTopic("banker4", StepDefault);
1416 });
1417 }
1418 }
1420 });
1421 Step(
"_disableMove");
1423 {
1424 c.noMove = true;
1427 });
1429 Step(
"_enableMove");
1431 {
1432 c.noMove = false;
1433 c.orgPos = null;
1435 });
1439 {
1441 });
1443 void BackChill()
1444 {
1446 }
1447 string GetTalk(string id)
1448 {
1450 }
1451 void RumorChill()
1452 {
1453 rumor = GetTalk("chill");
1454 }
1455 void Talk(string idTalk, string idJump)
1456 {
1457 _Talk(
"tg", GetTalk(idTalk), idJump);
1458 }
1459 void TempCancel()
1460 {
1462 }
1463 void TempTalk(string idTalk, string idJump)
1464 {
1465 _TempTalk(
"tg", GetTalk(idTalk), idJump);
1466 }
1467 void TempTalkTopic(string idTopc, string idJump)
1468 {
1470 }
1471 bool taken()
1472 {
1473 if (c.
quest !=
null)
1474 {
1476 }
1477 return false;
1478 }
1479 }
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
int GetInt(int id, int? defaultInt=null)
void SetInt(int id, int value=0)
static int Picklock(Chara c, Thing t)
static int InvestZone(Chara c)
static int Identify(Chara c, bool superior)
static int BuySlave(Chara c)
static int InvestShop(Chara c, Chara tc)
static int Whore(Chara seller, Chara buyer)
static int Learn(Chara c, Element e)
static int Train(Chara c, Element _e)
ElementContainerCard elements
bool HasElement(int ele, int req=1)
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")
string GetTalkText(string idTopic, bool stripPun=false, bool useDefault=true)
Effect PlayEffect(string id, bool useRenderPos=true, float range=0f, Vector3 fix=default(Vector3))
void ModCurrency(int a, string id="money")
bool TryPay(int a, string id="money")
void ModExp(string alias, int a)
void Say(string lang, string ref1=null, string ref2=null)
SourceCategory.Row GetFavCat()
override bool IsAliveInCurrentZone
Chara SetGlobal(Zone _home, int x, int z)
override bool IsPCFaction
void SetAIImmediate(AIAct g)
List< Hobby > ListHobbies(bool useMemberType=true)
FactionMemberType memberType
SourceThing.Row GetFavFood()
void MoveZone(string alias)
int GetRaw(int offsetHours=0)
DramaChoice SetCondition(Func< bool > condition)
DramaChoice DisableSound()
DramaChoice SetOnClick(Action action)
void _TempTalk(string idActor, string text, string idJump=null)
void Method(Action action, Func< bool > endFunc=null, string idJump=null)
void EnableCancel(string idCancelJump=null)
void _Talk(string idActor, string text, string idJump=null)
DramaChoice Choice2(string lang, string idJump)
List< Card > GetListGuide()
string GetTopic(Chara c, string idTopic=null)
bool HasTopic(string idSheet, string idTopic)
DramaChoice Choice(string lang, string idJump, bool cancel=false)
void TempGoto(string idJump=null)
string GetText(Chara c, string idSheet, string idTopic)
static SourceManager sources
static FactionBranch Branch
static FactionBranch BranchOrHomeBranch
void Train(int ele, int a=10)
void Learn(int ele, int v=1)
Element SetBase(string alias, int v, int potential=0)
Element GetElement(string alias)
static Element Create(int id, int v=0)
ResearchManager researches
string GetHearthHint(int a)
HomeResourceManager resources
void BanishMember(Chara c, bool skipMsg=false)
void AddContribution(int a)
override bool IsCurrentZone
override bool IsCurrentZone
override bool IsCurrentZone
override bool IsCurrentZone
static GuildMerchant Merchant
static GuildFighter Fighter
static Guild GetCurrentGuild()
static string _currency(object a, string IDCurrency)
static LayerDragGrid CreateGive(Chara c)
static LayerDragGrid CreateIdentify(Chara cc, bool superior=false, BlessedState state=BlessedState.Normal, int price=0, int count=1)
static LayerDrama Instance
static LayerInventory CreateContainer(Card owner)
static LayerInventory CreateBuy(Card c, CurrencyType currency=CurrencyType.Money, PriceType price=PriceType.Default)
static LayerPeople Create(Mode mode)
Layer SetTitles(string langList, string idHeaderRow=null)
Layer SetOnKill(Action action)
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
void RemoveMember(Chara c)
void RequestPathImmediate(PathProgress progress)
static PathManager Instance
Layer SelectDomain(Action onKill=null)
string GetIdTalk_GiveBill()
List< Thing > ListDestThing(bool onlyFirst=false)
Quest Start(string id, string idGlobalChara)
virtual bool IsRandomQuest
virtual string GetTalkComplete()
virtual bool UseInstanceZone
virtual string GetTitle()
virtual string NameDeliver
virtual string GetTalkProgress()
virtual string GetDetail(bool onJournal=false)
virtual bool Deliver(Chara c, Thing t=null)
virtual Zone CreateInstanceZone(Chara c)
Zone CreateRandomSite(Zone center, int radius=8, string idSource=null, bool updateMesh=true, int lv=0)
bool IsListBarter(string idPlan)
static ResearchPlan Create(string id)
SourceResearch.Row source
SourceResearch researches
static Zone CreateInstance(string id, ZoneInstance instance)
List< Thing > List(Func< Thing, bool > func, bool onlyAccessible=false)
void SetSize(int w, int h)
void Foreach(Action< Thing > action, bool onlyAccessible=true)
override void WriteNote(UINote n, Action< UINote > onWriteNote=null, IInspect.NoteMode mode=IInspect.NoteMode.Default, Recipe recipe=null)
override string GetName(NameStyle style, int _num=-1)
virtual bool CanServeFood
virtual bool CanBeBanished
virtual bool CanJoinParty
virtual bool CanInvestTown
virtual bool CanJoinPartyResident
virtual CopyShopType CopyShop
virtual ShopType ShopType
virtual PriceType PriceType
string TextNextRestockPet
virtual CurrencyType CurrencyType
virtual SlaverType SlaverType
virtual bool AllowCriminal
override void Add(object item)
static Transform Instantiate(string path, Component parent=null)
void AddPreEnter(ZonePreEnterEvent e, bool executeIfActiveZone=true)
Dictionary< int, string > dictCitizen
Chara FindChara(string id)
virtual bool AllowCriminal
void ModDevelopment(int a)