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 if (!flag)
44 {
46 _Talk(
"tg", () => rumor);
47 if (flag3)
48 {
51 {
52 sequence.firstTalk.funcText = () => rumor;
54 Hobby hobby = ((list2.Count > 0) ? list2[0] :
null);
56 {
58 {
59 GameLang.refDrama1 = c.
GetFavCat().GetName().ToLower();
61 rumor =
GetText(c,
"general",
"talk_fav");
62 c.knowFav = true;
63 }
64 else
65 {
66 GameLang.refDrama1 = hobby.
Name.ToLower();
67 rumor =
GetText(c,
"general",
"talk_hobby");
68 }
69 }
70 else
71 {
73 }
75 choice.forceHighlight = true;
76 }).SetCondition(() => c.interest > 0);
77 }
78 }
79 bool flag4 = false;
81 {
83 {
85 flag4 = true;
86 }
87 else
88 {
90 }
91 }
93 {
95 if (!
item.CanDeliverToClient(c))
96 {
97 continue;
98 }
101 {
104 {
108 {
110 });
111 }
112 }
114 {
116 {
118 {
119 Choice2(
"daMakeHome",
"_makeHome");
120 }
122 {
124 }
125 }
126 }
128 {
130 {
132 {
134 {
135 continue;
136 }
138 if (dest != null)
139 {
141 {
143 });
144 }
146 {
147 continue;
148 }
150 if (dest2 != null)
151 {
153 {
155 });
156 }
157 }
159 {
161 }
162 }
165 {
167 {
169 {
170 Choice2("daLostProperty".lang(_t.Name), "_lostProperty").SetOnClick(delegate
171 {
172 destThing = _t;
173 });
174 }
175 });
176 }
178 {
180 }
182 {
184 }
186 {
188 }
190 {
192 }
194 {
196 }
198 {
200 }
202 {
203 Choice2(flag2 ?
"daBird" :
"daTail",
"_tail");
204 }
206 {
208 }
210 {
212 }
214 {
215 Choice2(flag2 ?
"daBirdBuy" :
"daTailBuy",
"_whore");
216 }
218 {
220 }
222 {
224 }
226 {
227 Choice2(
"daSellFame",
"_sellFame");
228 }
230 {
232 {
233 Choice2(
"daInvest",
"_investZone");
234 }
236 {
237 Choice2(
"daInvest",
"_investShop");
238 }
239 }
241 {
243 Choice2(
"daIdentifyAll",
"_identifyAll");
245 }
247 {
249 {
251 }
253 {
256 {
258 });
259 }
260 }
262 {
263 Choice2(
"daDeposit",
"_deposit");
264 }
266 {
267 Choice2(
"daExtraTax",
"_extraTax");
268 }
270 {
271 Choice2(
"daBlessing",
"_blessing");
272 }
273 }
275 {
277 {
279 {
281 }
282 Choice2(
"daBuyLand",
"_buyLand");
283 Choice2(
"daChangeTitle",
"_changeTitle");
284 }
286 {
287 Choice2(
"enableMove",
"_enableMove");
288 }
290 {
291 Choice2(
"daJoinParty",
"_joinParty");
292 }
293 Choice2(
"daFactionOther",
"_factionOther");
294 }
296 {
297 Choice2(
"daGreatDebt",
"_greatDebt");
298 }
299 if (!flag)
300 {
303 }
304 Step(
"_factionOther");
307 {
309 if (questDebt !=
null && questDebt.
gaveBill)
310 {
311 Choice(
"daGreatDebt2",
"_greatDebt2");
312 }
313 }
315 {
317 {
318 Choice((c.
GetInt(106) == 0) ?
"daShutup" :
"daShutup2",
"_shutup");
320 {
321 Choice((c.
GetInt(108) == 0) ?
"daInsult" :
"daInsult2",
"_insult");
322 }
323 }
324 }
326 {
327 Choice(
"disableMove",
"_disableMove");
328 }
329 Choice((c.
GetInt(123) == 0) ?
"daSleepBeside" :
"daSleepBeside2",
"_sleepBeside");
331 {
332 Choice(
"daEquipSharedOff",
"_toggleSharedEquip");
333 }
334 else
335 {
336 Choice(
"daEquipSharedOn",
"_toggleSharedEquip");
337 }
339 {
340 Choice(
"daMakeMaid",
"_daMakeMaid");
341 }
343 {
344 Choice(
"daBanish",
"_depart");
345 }
347 Step(
"_toggleSharedEquip");
349 {
351 });
356 {
357 EClass.Branch.uidMaid = c.
uid;
358 });
363 {
365 {
366 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
367 TempTalkTopic("invite3", StepDefault);
368 }
369 else
370 {
371 EClass.pc.party.AddMemeber(c, showMsg: true);
372 }
373 });
377 {
380 {
381 EClass.pc.Say("tame_send", c, c.homeZone.Name);
382 c.MoveZone(c.homeZone);
383 }
384 });
388 Step(
"_makeLivestock");
390 {
392 });
393 Talk(
"becomeLivestock",
StepEnd);
394 Step(
"_makeResident");
396 {
398 });
399 Talk(
"becomeResident",
StepEnd);
402 Choice(
"depart1",
"_depart1");
403 Choice(
"depart2",
"_depart2");
406 {
408 {
410 });
411 });
416 Talk("gift_good", null);
420 {
423 {
425 }
426 else
427 {
428 TempTalkTopic("goto", "_goto2");
429 }
430 });
433 {
435 {
436 destCard.Teleport(EClass.pc.pos.GetNearestPoint(allowBlock: false, allowChara: false, allowInstalled: true, ignoreCenter: true) ?? EClass.pc.pos, silent: true, force: true);
437 }
440 });
444 Step(
"_lostProperty");
446 {
450 });
456 {
459 });
463 {
465 {
466 return "";
467 }
472 }, text);
473 string text2 = "daAccept".lang();
475 {
477 }
479 {
483 {
487 {
489 if (supply != null)
490 {
492 {
495 {
500 {
502 });
503 }
504 }
505 }
507 Step(
"_questAccept");
509 Step(
"_questAccept_instance");
512 {
520 {
523 {
524 TempTalkTopic(
"loytel_bill_give_wait",
StepDefault);
525 }
527 {
528 TempTalkTopic(
"loytel_bill_give_given",
StepDefault);
529 }
530 else
531 {
534 }
535 });
538 {
540 TempTalkTopic(
"loytel_bill_give_lost",
StepEnd);
542 });
545 {
547 });
550 Step(
"_sleepBeside");
552 {
554 {
555 c.SetInt(123, (c.GetInt(123) == 0) ? 1 : 0);
556 }
557 else
558 {
559 TempTalkTopic("refuse", StepEnd);
560 }
561 });
566 {
568 });
571 {
573 {
574 c.Talk("insult");
575 }
576 });
580 {
582 });
588 {
589 });
591 {
592 });
595 {
597 {
598 TempTalkTopic("invite2", StepDefault);
599 }
601 {
602 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
603 TempTalkTopic("invite3", StepDefault);
604 }
605 else
606 {
607 TempTalkTopic("invite", null);
608 Choice("yes", delegate
609 {
610 TempTalk("hired", StepEnd);
611 EClass.Sound.Play("good");
612 c.MakeAlly();
613 });
615 }
616 });
619 {
620 TempTalkTopic("guide", null);
622 {
624 {
626 });
627 }
629 TempCancel();
630 });
631 BackChill();
634 {
635 TempTalkTopic(bird + "1", null);
637 {
638 TempTalkTopic(bird +
"2",
StepEnd);
640 {
641 target = c,
642 sell = true
643 });
644 });
646 });
649 {
652 TempTalkTopic(bird + "3", null);
654 {
656 {
657 TempTalkTopic("nomoney", StepDefault);
658 }
659 else
660 {
661 SE.Pay();
662 EClass.pc.ModCurrency(-costWhore);
663 TempTalkTopic(bird + "2", StepEnd);
664 EClass.pc.SetAI(new AI_Fuck
665 {
666 target = c
667 });
668 }
669 });
671 });
674 {
677 TempTalkTopic("bird3", null);
679 {
681 {
682 TempTalkTopic("lockTooHard", StepDefault);
683 }
685 {
686 TempTalkTopic("nomoney", StepDefault);
687 }
688 else
689 {
690 SE.Pay();
691 EClass.pc.ModCurrency(-cost8);
692 manager.layer.SetOnKill(delegate
693 {
694 c.PlaySound("lock_open");
695 c.Say("lockpick_success", c, destThing);
696 c.ModExp(280, 200 + destThing.c_lockLv * 20);
697 destThing.c_lockLv = 0;
698 if (destThing.isLostProperty)
699 {
700 EClass.player.ModKarma(-8);
701 }
702 destThing.isLostProperty = false;
703 });
705 }
706 });
708 });
711 {
713 {
714 SE.Play("click_chat");
715 if (EClass.pc.GetCurrency("medal") > 0)
716 {
717 TempTalkTopic("miral_medal", null);
718 }
719 else
720 {
721 TempTalkTopic("miral_medal2", StepDefault);
722 }
723 }
724 });
726 {
728 {
729 SE.Play("click_chat");
730 TempTalkTopic("shop_criminal", StepEnd);
731 }
732 else
733 {
734 sequence.Exit();
735 manager.layer.Close();
736 c.trait.OnBarter();
737 if ((bool)WidgetFeed.Instance)
738 {
739 WidgetFeed.Instance.Talk(c, "barter");
740 }
742 }
746 {
747 List<ResearchPlan> plans = new List<ResearchPlan>();
749 {
751 {
753 }
754 }
756 {
757 list.moldItem = Resources.Load<
ItemGeneral>(
"UI/Element/Item/ItemGeneralBarter").transform;
759 {
761 {
762 b.button1.mainText.text = a.
Name;
766 uIItem.image1.sprite = c2.resource.Sprite;
768 {
770 });
771 b.
button1.onClick.AddListener(delegate
772 {
773 if (c2.resource.value < c2.cost)
774 {
775 SE.Beep();
776 }
777 else
778 {
779 c2.resource.Mod(-c2.cost);
780 plans.Remove(a);
782 SE.Pay();
783 list.
List(refreshHighlight:
true);
784 }
785 });
786 b.RebuildLayout(recursive: true);
787 },
788 onList = delegate
789 {
791 {
793 }
794 }
795 };
796 }).SetSize()
798 {
799 branchMoney = true
800 });
802 Step(
"_upgradeHearth");
804 {
807 GameLang.refDrama2 = (EClass.Branch.lv + 1).ToString() ?? "";
809 TempTalkTopic("upgrade_heath1", null);
811 {
813 {
814 TempTalkTopic("nomoney", StepDefault);
815 }
816 else
817 {
818 EClass.pc.ModCurrency(-cost7);
819 SE.Pay();
820 LayerDrama.Instance.SetOnKill(delegate
821 {
822 EClass.Branch.Upgrade();
823 });
824 TempTalkTopic(
"upgrade_heath2",
StepEnd);
825 }
826 });
828 });
831 {
832 int cost6 = EClass.player.fame / 5;
833 GameLang.refDrama1 = cost6.ToString() ?? "";
834 if (cost6 == 0)
835 {
837 }
838 else
839 {
840 TempTalkTopic("sellFame1", null);
842 {
844 SE.Pay();
847 });
849 }
850 });
853 {
857 TempTalkTopic("invest1", null);
859 {
860 Invest(quick: false);
861 });
863 Choice(
"quickInvest", delegate
864 {
865 Invest(quick: true);
866 });
867 void Invest(bool quick)
868 {
870 {
872 }
873 else
874 {
876 SE.Pay();
877 EClass._zone.investment += cost5;
881 if (quick)
882 {
884 }
885 else
886 {
888 }
889 }
890 }
891 });
894 {
898 TempTalkTopic("invest_shop1", null);
900 {
901 Invest(quick: false);
902 });
904 Choice(
"quickInvest", delegate
905 {
906 Invest(quick: true);
907 });
908 void Invest(bool quick)
909 {
911 {
913 }
914 else
915 {
917 SE.Pay();
922 if (quick)
923 {
925 }
926 else
927 {
929 }
930 }
931 }
932 });
933 Step(
"_changeTitle");
935 {
936 EClass.player.title = WordGen.Get("title");
942 {
945 GameLang.refDrama1 = "";
946 GameLang.refDrama2 = costLand.ToString() ?? "";
947 if (!num4)
948 {
950 }
951 else
952 {
955 {
957 {
958 TempTalkTopic("nomoney", StepDefault);
959 }
960 else
961 {
962 SE.Pay();
963 EClass.pc.ModCurrency(-costLand, "money2");
964 TempTalkTopic("expand2", StepDefault);
965 EClass._map.bounds.Expand(1);
966 SE.Play("good");
967 EClass._map.RefreshAllTiles();
968 ScreenEffect.Play("Firework");
969 }
970 });
972 }
973 });
976 {
980 });
984 {
991 {
993 TempTalkTopic(
"blessing",
StepEnd);
995 {
997 {
998 if (c.trait is TraitMiko_Mifu)
999 {
1000 member.AddCondition<ConHolyVeil>()?.SetPerfume();
1001 }
1003 {
1004 member.AddCondition<ConEuphoric>()?.SetPerfume();
1005 }
1006 else
1007 {
1008 member.AddCondition<ConNightVision>()?.SetPerfume();
1009 }
1010 member.
Say(
"blessing", member);
1013 }
1014 c.isRestocking = true;
1015 });
1017 });
1020 {
1022 {
1023 list.moldItem = Resources.Load<
ButtonElement>(
"UI/Element/Button/ButtonElementTrain").transform;
1025 {
1027 {
1029 if (num3 == 0)
1030 {
1031 SE.Beep();
1032 }
1034 {
1036 {
1038 }
1039 else
1040 {
1042 }
1045 }
1046 },
1048 {
1050 b.imagePotential.enabled = flag5;
1054 b.mainText.text = b.mainText.text + " " + (flag5 ? "" : ("notLearned".lang() + " "));
1055 b.subText2.text = ((cost3 == 0) ? "-" : (cost3.ToString() ?? "")).TagColor(() => plat >= cost3 && cost3 != 0);
1056 b.RebuildLayout();
1057 },
1058 onInstantiate = delegate
1059 {
1060 },
1061 onList = delegate
1062 {
1064 {
1065 if (a.tag.Contains("unused"))
1066 {
1067 return false;
1068 }
1069 if (a.tag.Contains("guild"))
1070 {
1072 {
1073 return true;
1074 }
1076 {
1077 return true;
1078 }
1080 {
1081 return true;
1082 }
1084 {
1085 return true;
1086 }
1087 return false;
1088 }
1089 if (isInGuild)
1090 {
1091 return false;
1092 }
1093 return a.category ==
"skill" && a.categorySub == c.
trait.
IDTrainer;
1094 }).ToList())
1095 {
1097 }
1098 }
1099 };
1100 }).SetSize()
1104 {
1105 plat = true
1106 });
1108 Step(
"_changeDomain");
1110 {
1115 {
1119 {
1120 money = true
1121 });
1125 {
1126 LayerPeople.slaveToBuy = null;
1130 {
1131 money = true
1132 });
1134 }, () => !layer, "_buySlaveConfirm");
1135 Step(
"_buySlaveConfirm");
1137 {
1139 if (tc == null)
1140 {
1141 RumorChill();
1142 }
1143 else
1144 {
1146 GameLang.refDrama1 = cost2.ToString() ?? "";
1147 GameLang.refDrama2 = tc.
Name;
1148 TempTalkTopic("slave_buy", null);
1150 {
1152 {
1153 TempTalkTopic("nomoney", StepDefault);
1154 }
1155 else
1156 {
1157 GameLang.refDrama1 = tc.Name;
1158 EClass._zone.AddCard(tc, EClass.pc.pos.GetNearestPoint());
1159 tc.MakeAlly();
1160 c.GetObj<SlaverData>(5).list.Remove(tc);
1161 TempTalkTopic("slave_buy2", StepEnd);
1162 }
1163 }).DisableSound();
1165 }
1166 });
1170 {
1175 {
1181 Step(
"_identifyAll");
1183 {
1184 int costIdentify = 0;
1185 int numIdentify = 0;
1186 int numSuperior = 0;
1188 {
1190 {
1191 numIdentify++;
1192 costIdentify += CalcMoney.Identify(EClass.pc, superior: false);
1193 }
1194 });
1195 GameLang.refDrama1 = costIdentify.ToString() ?? "";
1196 GameLang.refDrama2 = numIdentify.ToString() ?? "";
1197 if (numIdentify == 0)
1198 {
1200 }
1201 else
1202 {
1205 {
1207 {
1208 TempTalkTopic("nomoney", StepDefault);
1209 }
1210 else
1211 {
1212 SE.Pay();
1213 EClass.pc.ModCurrency(-costIdentify);
1214 foreach (Thing item8 in EClass.pc.things.List((Thing t) => !t.IsIdentified, onlyAccessible: true))
1215 {
1216 item8.Thing.Identify(show: false);
1217 if (!item8.IsInstalled)
1218 {
1219 numSuperior++;
1220 }
1221 }
1223 }
1224 });
1226 }
1227 });
1228 Step(
"_identifySP");
1230 {
1238 {
1241 {
1243 {
1246 targetZ = c.pos.z
1247 });
1250 {
1251 target = c
1252 });
1255 {
1256 EClass.pc.MoveZone(z, ZoneTransition.EnterState.Center);
1257 });
1258 TempTalkTopic(
"bout2",
StepEnd);
1259 });
1264 {
1267 {
1268 TempTalkTopic("news2", null);
1269 }
1270 else
1271 {
1272 zone.isKnown = true;
1274 GameLang.refDrama1 = zone.
Name;
1275 TempTalkTopic("news1", null);
1276 }
1278 });
1280 {
1285 {
1288 TempTalkTopic("healer1", null);
1290 {
1292 {
1293 TempTalkTopic("nomoney", StepDefault);
1294 }
1295 else
1296 {
1297 SE.Pay();
1298 foreach (Chara member2 in EClass.pc.party.members)
1299 {
1300 ActEffect.Proc(EffectId.HealComplete, member2);
1301 }
1303 TempTalkTopic(
"healer2",
StepEnd);
1304 }
1305 });
1307 });
1310 {
1313 TempTalkTopic("food1", null);
1315 {
1317 {
1318 TempTalkTopic("alreadyFull", StepDefault);
1319 }
1321 {
1322 TempTalkTopic("nomoney", StepDefault);
1323 }
1324 else
1325 {
1326 SE.Pay();
1327 EClass.pc.ModCurrency(-cost);
1328 TempTalkTopic("food2", StepDefault);
1329 FoodEffect.Proc(EClass.pc, ThingGen.Create("dish_lunch"));
1330 EClass.pc.hunger.value = 0;
1331 }
1332 });
1334 });
1335 int[] bankTier = new int[5] { 100, 1000, 10000, 100000, 1000000 };
1338 {
1342 {
1343 WidgetFeed.Instance.Talk(c, "barter");
1344 }
1345 SE.Play("shop_open");
1351 {
1355 {
1356 WidgetFeed.Instance.Talk(c, "barter");
1357 }
1358 SE.Play("shop_open");
1361 {
1362 c.c_copyContainer = ThingGen.Create("container_deposit");
1363 }
1369 int[] taxTier = new int[6] { 0, 1000, 2000, 5000, 10000, 20000 };
1372 {
1374 TempTalkTopic("extraTax", null);
1375 int[] array2 = taxTier;
1376 foreach (int num2 in array2)
1377 {
1378 int _i2 = num2;
1380 {
1381 EClass.player.extraTax = _i2;
1382 GameLang.refDrama1 = Lang._currency(_i2, "money");
1383 TempTalkTopic("extraTax2", StepDefault);
1384 });
1385 }
1387 });
1390 {
1392 GameLang.refDrama1 = bankMoney.ToString() ?? "";
1393 TempTalkTopic("banker2", null);
1394 int[] array = bankTier;
1395 foreach (int num in array)
1396 {
1397 int _i = num;
1399 {
1401 {
1402 SE.Pay();
1403 EClass.pc.ModCurrency(_i);
1404 EClass.player.bankMoney -= _i;
1405 TempTalkTopic("banker4", StepDefault);
1406 });
1407 }
1408 }
1410 });
1411 Step(
"_disableMove");
1413 {
1414 c.noMove = true;
1417 });
1419 Step(
"_enableMove");
1421 {
1422 c.noMove = false;
1423 c.orgPos = null;
1425 });
1429 {
1431 });
1433 void BackChill()
1434 {
1436 }
1437 string GetTalk(string id)
1438 {
1440 }
1441 void RumorChill()
1442 {
1443 rumor = GetTalk("chill");
1444 }
1445 void Talk(string idTalk, string idJump)
1446 {
1447 _Talk(
"tg", GetTalk(idTalk), idJump);
1448 }
1449 void TempCancel()
1450 {
1452 }
1453 void TempTalk(string idTalk, string idJump)
1454 {
1455 _TempTalk(
"tg", GetTalk(idTalk), idJump);
1456 }
1457 void TempTalkTopic(string idTopc, string idJump)
1458 {
1460 }
1461 bool taken()
1462 {
1463 if (c.
quest !=
null)
1464 {
1466 }
1467 return false;
1468 }
1469 }
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)
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)