33 {
36 bool isInGuild = Guild.Fighter.IsCurrentZone || Guild.Mage.IsCurrentZone || Guild.Thief.IsCurrentZone ||
Guild.
Merchant.
IsCurrentZone;
37 string bird = (flag2 ? "bird" : "tail");
39 string rumor = (c.IsPCParty ? GetTalk(
"sup") :
GetRumor(c));
42 bool num = !c.IsUnique ||
HasTopic(
"unique", c.
id);
43 if (!flag)
44 {
46 _Talk(
"tg", () => rumor);
47 }
48 if (num && flag3)
49 {
52 {
53 sequence.firstTalk.funcText = () => rumor;
55 Hobby hobby = ((list2.Count > 0) ? list2[0] :
null);
57 {
59 {
60 GameLang.refDrama1 = c.
GetFavCat().GetName().ToLower();
62 rumor =
GetText(c,
"general",
"talk_fav");
63 c.knowFav = true;
64 }
65 else
66 {
67 GameLang.refDrama1 = hobby.
Name.ToLower();
68 rumor =
GetText(c,
"general",
"talk_hobby");
69 }
70 }
71 else
72 {
74 }
76 choice.forceHighlight = true;
77 }).SetCondition(() => c.interest > 0);
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 {
117 Choice2(
"daMakeHome",
"_makeHome");
118 }
120 {
122 }
123 }
125 {
128 {
130 {
132 {
133 Choice2("daLostProperty".lang(_t.Name), "_lostProperty").SetOnClick(delegate
134 {
135 destThing = _t;
136 });
137 }
138 });
139 }
141 {
143 {
145 {
147 {
148 continue;
149 }
151 if (dest != null)
152 {
154 {
156 });
157 }
159 {
160 continue;
161 }
163 if (dest2 != null)
164 {
166 {
168 });
169 }
170 }
172 {
174 }
175 }
177 {
179 }
181 {
183 }
185 {
187 {
189 }
191 {
193 }
194 }
196 {
198 }
200 {
202 }
204 {
205 Choice2(flag2 ?
"daBird" :
"daTail",
"_tail");
206 }
208 {
210 }
212 {
214 }
216 {
217 Choice2(flag2 ?
"daBirdBuy" :
"daTailBuy",
"_whore");
218 }
220 {
222 }
224 {
226 }
228 {
229 Choice2(
"daSellFame",
"_sellFame");
230 }
232 {
234 {
235 Choice2(
"daInvest",
"_investZone");
236 }
238 {
239 Choice2(
"daInvest",
"_investShop");
240 }
241 }
243 {
245 Choice2(
"daIdentifyAll",
"_identifyAll");
247 }
249 {
251 {
253 }
255 {
258 {
260 });
261 }
262 }
264 {
265 Choice2(
"daDeposit",
"_deposit");
266 }
268 {
269 Choice2(
"daExtraTax",
"_extraTax");
270 }
272 {
273 Choice2(
"daBlessing",
"_blessing");
274 }
275 }
277 {
278 Choice2(flag2 ?
"daBird" :
"daTail",
"_tail");
279 }
280 }
282 {
284 {
286 {
288 }
289 Choice2(
"daBuyLand",
"_buyLand");
290 Choice2(
"daChangeTitle",
"_changeTitle");
291 }
293 {
294 Choice2(
"enableMove",
"_enableMove");
295 }
297 {
298 Choice2(
"daJoinParty",
"_joinParty");
299 }
301 {
303 }
304 Choice2(
"daFactionOther",
"_factionOther");
305 }
307 {
308 Choice2(
"daGreatDebt",
"_greatDebt");
309 }
310 if (!flag)
311 {
314 }
315 Step(
"_factionOther");
318 {
320 {
323 {
325 });
326 }
327 }
329 {
331 }
333 {
335 if (questDebt !=
null && questDebt.
gaveBill)
336 {
337 Choice(
"daGreatDebt2",
"_greatDebt2");
338 }
339 }
341 {
343 {
344 Choice((c.
GetInt(106) == 0) ?
"daShutup" :
"daShutup2",
"_shutup");
346 {
347 Choice((c.
GetInt(108) == 0) ?
"daInsult" :
"daInsult2",
"_insult");
348 }
349 }
350 }
352 {
353 Choice(
"disableMove",
"_disableMove");
354 }
355 Choice((c.
GetInt(123) == 0) ?
"daSleepBeside" :
"daSleepBeside2",
"_sleepBeside");
357 {
358 Choice((c.
GetInt(126) == 0) ?
"daDisableLoyal" :
"daDisableLoyal2",
"_disableLoyal");
359 }
361 {
362 Choice(
"daEquipSharedOff",
"_toggleSharedEquip");
363 }
364 else
365 {
366 Choice(
"daEquipSharedOn",
"_toggleSharedEquip");
367 }
369 {
370 Choice(
"daMakeMaid",
"_daMakeMaid");
371 }
373 {
374 Choice(
"daBanish",
"_depart");
375 }
377 Step(
"_toggleSharedEquip");
379 {
381 });
386 {
387 EClass.Branch.uidMaid = c.
uid;
388 });
393 {
395 {
396 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
397 TempTalkTopic("invite3", StepDefault);
398 }
399 else
400 {
401 EClass.pc.party.AddMemeber(c, showMsg: true);
402 }
403 });
407 {
410 {
411 EClass.pc.Say("tame_send", c, c.homeZone.Name);
412 c.MoveZone(c.homeZone);
413 }
414 });
418 Step(
"_makeLivestock");
420 {
422 });
423 Talk(
"becomeLivestock",
StepEnd);
424 Step(
"_makeResident");
426 {
428 });
429 Talk(
"becomeResident",
StepEnd);
432 Choice(
"depart1",
"_depart1");
433 Choice(
"depart2",
"_depart2");
436 {
438 {
440 });
441 });
446 Talk("gift_good", null);
450 {
453 {
455 }
456 else
457 {
458 TempTalkTopic("goto", "_goto2");
459 }
460 });
463 {
465 {
466 destCard.Teleport(EClass.pc.pos.GetNearestPoint(allowBlock: false, allowChara: false, allowInstalled: true, ignoreCenter: true) ?? EClass.pc.pos, silent: true, force: true);
467 }
470 });
474 Step(
"_lostProperty");
476 {
480 });
486 {
489 });
493 {
495 {
496 return "";
497 }
502 }, text);
503 string text2 = "daAccept".lang();
505 {
507 }
509 {
513 {
517 {
519 if (supply != null)
520 {
522 {
525 {
530 {
532 });
533 }
534 }
535 }
537 Step(
"_questAccept");
539 Step(
"_questAccept_instance");
542 {
550 {
553 {
554 TempTalkTopic(
"loytel_bill_give_wait",
StepDefault);
555 }
557 {
558 TempTalkTopic(
"loytel_bill_give_given",
StepDefault);
559 }
560 else
561 {
564 }
565 });
568 {
570 TempTalkTopic(
"loytel_bill_give_lost",
StepEnd);
572 });
575 {
577 });
580 Step(
"_sleepBeside");
582 {
584 {
585 c.SetInt(123, (c.GetInt(123) == 0) ? 1 : 0);
586 }
587 else
588 {
589 TempTalkTopic("refuse", StepEnd);
590 }
591 });
596 {
598 {
599 TempTalkTopic("refuse", StepEnd);
600 }
601 });
604 {
606 {
610 {
611 destThing.rarity = Rarity.Mythical;
612 }
622 });
623 });
627 {
630 {
631 TempTalkTopic("wedding_deed", StepDefault);
632 }
634 {
635 TempTalkTopic("wedding_zone", StepDefault);
636 }
637 else
638 {
639 TempTalkTopic("wedding_confirm", null);
640 Choice("yes", delegate
641 {
642 TempTalkTopic("wedding_accept", null);
643 if (deed != null)
644 {
645 deed.ModNum(-1);
646 }
647 if (c.c_love != null)
648 {
649 c.c_love.dateWedding = EClass.world.date.GetRaw();
650 }
651 });
653 }
654 });
657 {
661 {
662 EClass.pc.party.AddMemeber(c);
663 }
665 {
666 if (item7 != EClass.pc && item7 != c)
667 {
668 EClass.pc.party.RemoveMember(item7);
669 }
670 }
672 {
673 ActRide.Unride(EClass.pc, c == EClass.pc.parasite, talk: false);
674 }
677 Zone z2 = quest.CreateInstanceZone(c);
679 {
680 state = ZoneTransition.EnterState.Exact,
681 x = 50,
682 z = 53
683 });
685 });
687 Step(
"_disableLoyal");
689 {
691 });
695 _Talk(
"tg", GetTalk(
"pervert4"));
697 {
699 {
700 c.UseAbility("ActBloodsuck", EClass.pc);
701 }
702 else
703 {
704 c.Sniff(EClass.pc);
705 }
707 });
711 {
713 });
716 {
718 {
719 c.Talk("insult");
720 }
721 });
725 {
727 });
733 {
734 });
736 {
737 });
740 {
742 {
743 string[] recruitItems = c.source.recruitItems;
744 if (!recruitItems.IsEmpty())
745 {
746 string[] array3 = recruitItems[0].Split('/');
747 string reqId = array3[0];
748 int reqNum = array3[1].ToInt();
749 CardBlueprint.Set(CardBlueprint.Original);
750 GameLang.refDrama1 = ThingGen.Create(reqId).SetNum(reqNum).Name;
751 TempTalkTopic("inviteReq1", null);
752 foreach (Thing t2 in EClass.pc.things.List((Thing t) => t.id == reqId && t.Num >= reqNum, onlyAccessible: true))
753 {
754 Thing _t6 = t2;
755 Choice("daDeliver".lang("", _t6.GetName(NameStyle.Full, _t6.Num)), delegate
756 {
757 t2.ModNum(-reqNum);
758 TempTalk("hired", StepEnd);
759 EClass.Sound.Play("good");
760 c.MakeAlly();
761 }).SetOnTooltip(delegate(UITooltip a)
762 {
763 _t6.WriteNote(a.note);
764 });
765 }
766 Choice("no2", StepDefault, cancel: true).SetOnClick(RumorChill);
767 }
768 else
769 {
770 TempTalkTopic("invite2", StepDefault);
771 }
772 }
774 {
775 GameLang.refDrama1 = c.GetBestAttribute().ToString() ?? "";
776 TempTalkTopic("invite3", StepDefault);
777 }
778 else
779 {
780 TempTalkTopic("invite", null);
781 Choice("yes", delegate
782 {
783 TempTalk("hired", StepEnd);
784 EClass.Sound.Play("good");
785 c.MakeAlly();
786 });
788 }
789 });
792 {
793 TempTalkTopic("guide", null);
795 {
797 {
799 });
800 }
802 TempCancel();
803 });
804 BackChill();
807 {
808 TempTalkTopic(c.
IsMarried ?
"tail4" : (bird +
"1"),
null);
810 {
811 TempTalkTopic(bird +
"2",
StepEnd);
813 {
814 target = c,
815 sell = true
816 });
817 });
819 });
822 {
825 TempTalkTopic(bird + "3", null);
827 {
829 {
830 TempTalkTopic("nomoney", StepDefault);
831 }
832 else
833 {
834 SE.Pay();
835 EClass.pc.ModCurrency(-costWhore);
836 TempTalkTopic(bird + "2", StepEnd);
837 EClass.pc.SetAI(new AI_Fuck
838 {
839 target = c
840 });
841 }
842 });
844 });
847 {
850 TempTalkTopic("bird3", null);
852 {
854 {
855 TempTalkTopic("lockTooHard", StepDefault);
856 }
858 {
859 TempTalkTopic("nomoney", StepDefault);
860 }
861 else
862 {
863 SE.Pay();
864 EClass.pc.ModCurrency(-cost8);
865 manager.layer.SetOnKill(delegate
866 {
867 c.PlaySound("lock_open");
868 c.Say("lockpick_success", c, destThing);
869 c.ModExp(280, 200 + destThing.c_lockLv * 20);
870 destThing.c_lockLv = 0;
871 if (destThing.isLostProperty)
872 {
873 EClass.player.ModKarma(-8);
874 }
875 destThing.isLostProperty = false;
876 });
878 }
879 });
881 });
884 {
885 TempTalkTopic("blooming1", null);
887 {
890 {
891 if (EClass._zone.influence < 10)
892 {
893 TempTalkTopic("blooming3", StepDefault);
894 }
895 else
896 {
897 EClass._zone.ModInfluence(-10);
898 LayerDrama.Instance.SetOnKill(delegate
899 {
900 c.Talk("goodBoy");
901 c4.Say("dingExp", c);
902 c4.Talk("insulted");
903 c4.SetFeat(1273, 1, msg: true);
904 c4.PlayEffect("aura_heaven");
905 c4.feat += 10;
906 EClass.pc.PlaySound("pray");
907 });
908 TempTalkTopic(
"blooming2",
StepEnd);
909 }
910 });
911 }
913 });
916 {
918 {
919 SE.Play("click_chat");
920 if (EClass.pc.GetCurrency("medal") > 0)
921 {
922 TempTalkTopic("miral_medal", null);
923 }
924 else
925 {
926 TempTalkTopic("miral_medal2", StepDefault);
927 }
928 }
929 });
931 {
933 {
934 SE.Play("click_chat");
935 TempTalkTopic("shop_blackmarket_noaccess", StepEnd);
936 }
938 {
939 SE.Play("click_chat");
940 TempTalkTopic("shop_criminal", StepEnd);
941 }
942 else
943 {
944 sequence.Exit();
945 manager.layer.Close();
946 c.trait.OnBarter();
947 if ((bool)WidgetFeed.Instance)
948 {
949 WidgetFeed.Instance.Talk(c, "barter");
950 }
952 }
956 {
957 List<ResearchPlan> plans = new List<ResearchPlan>();
959 {
961 {
963 }
964 }
966 {
967 list.moldItem = Resources.Load<
ItemGeneral>(
"UI/Element/Item/ItemGeneralBarter").transform;
969 {
971 {
972 b.button1.mainText.text = a.
Name;
976 uIItem.image1.sprite = c3.resource.Sprite;
978 {
980 });
981 b.
button1.onClick.AddListener(delegate
982 {
983 if (c3.resource.value < c3.cost)
984 {
985 SE.Beep();
986 }
987 else
988 {
989 c3.resource.Mod(-c3.cost);
990 plans.Remove(a);
992 SE.Pay();
993 list.
List(refreshHighlight:
true);
994 }
995 });
996 b.RebuildLayout(recursive: true);
997 },
998 onList = delegate
999 {
1001 {
1003 }
1004 }
1005 };
1006 }).SetSize()
1008 {
1009 branchMoney = true
1010 });
1012 Step(
"_upgradeHearth");
1014 {
1017 GameLang.refDrama2 = (EClass.Branch.lv + 1).ToString() ?? "";
1019 TempTalkTopic("upgrade_heath1", null);
1021 {
1023 {
1024 TempTalkTopic("nomoney", StepDefault);
1025 }
1026 else
1027 {
1028 EClass.pc.ModCurrency(-cost7);
1029 SE.Pay();
1030 LayerDrama.Instance.SetOnKill(delegate
1031 {
1032 EClass.Branch.Upgrade();
1033 });
1034 TempTalkTopic(
"upgrade_heath2",
StepEnd);
1035 }
1036 });
1038 });
1041 {
1042 int cost6 = EClass.player.fame / 5;
1043 GameLang.refDrama1 = cost6.ToString() ?? "";
1044 if (cost6 == 0)
1045 {
1047 }
1048 else
1049 {
1050 TempTalkTopic("sellFame1", null);
1052 {
1054 SE.Pay();
1057 });
1059 }
1060 });
1061 Step(
"_investZone");
1063 {
1067 TempTalkTopic("invest1", null);
1069 {
1070 Invest(quick: false);
1071 });
1073 Choice(
"quickInvest", delegate
1074 {
1075 Invest(quick: true);
1076 });
1077 void Invest(bool quick)
1078 {
1080 {
1082 }
1083 else
1084 {
1086 SE.Pay();
1087 EClass._zone.investment += cost5;
1091 if (quick)
1092 {
1094 }
1095 else
1096 {
1098 }
1099 }
1100 }
1101 });
1102 Step(
"_investShop");
1104 {
1108 TempTalkTopic("invest_shop1", null);
1110 {
1111 Invest(quick: false);
1112 });
1114 Choice(
"quickInvest", delegate
1115 {
1116 Invest(quick: true);
1117 });
1118 void Invest(bool quick)
1119 {
1121 {
1123 }
1124 else
1125 {
1127 SE.Pay();
1132 if (quick)
1133 {
1135 }
1136 else
1137 {
1139 }
1140 }
1141 }
1142 });
1143 Step(
"_changeTitle");
1145 {
1146 EClass.player.title = WordGen.Get("title");
1152 {
1155 GameLang.refDrama1 = "";
1156 GameLang.refDrama2 = costLand.ToString() ?? "";
1157 if (!num5)
1158 {
1160 }
1161 else
1162 {
1165 {
1167 {
1168 TempTalkTopic("nomoney", StepDefault);
1169 }
1170 else
1171 {
1172 SE.Pay();
1173 EClass.pc.ModCurrency(-costLand, "money2");
1174 TempTalkTopic("expand2", StepDefault);
1175 EClass._map.bounds.Expand(1);
1176 SE.Play("good");
1177 EClass._map.RefreshAllTiles();
1178 WidgetMinimap.UpdateMap();
1179 ScreenEffect.Play("Firework");
1180 }
1181 });
1183 }
1184 });
1187 {
1191 });
1195 {
1202 {
1204 TempTalkTopic(
"blessing",
StepEnd);
1206 {
1208 {
1209 if (c.trait is TraitMiko_Mifu)
1210 {
1211 member.AddCondition<ConHolyVeil>()?.SetPerfume();
1212 }
1214 {
1215 member.AddCondition<ConEuphoric>()?.SetPerfume();
1216 }
1217 else
1218 {
1219 member.AddCondition<ConNightVision>()?.SetPerfume();
1220 }
1221 member.
Say(
"blessing", member);
1224 }
1225 c.isRestocking = true;
1226 });
1228 });
1231 {
1233 {
1234 list.moldItem = Resources.Load<
ButtonElement>(
"UI/Element/Button/ButtonElementTrain").transform;
1236 {
1238 {
1240 if (num4 == 0)
1241 {
1242 SE.Beep();
1243 }
1245 {
1247 {
1249 }
1250 else
1251 {
1253 }
1256 }
1257 },
1259 {
1261 b.imagePotential.enabled = flag5;
1265 b.mainText.text = b.mainText.text + " " + (flag5 ? "" : ("notLearned".lang() + " "));
1266 b.subText2.text = ((cost3 == 0) ? "-" : (cost3.ToString() ?? "")).TagColor(() => plat >= cost3 && cost3 != 0);
1267 b.RebuildLayout();
1268 },
1269 onInstantiate = delegate
1270 {
1271 },
1272 onList = delegate
1273 {
1275 {
1276 if (a.tag.Contains("unused"))
1277 {
1278 return false;
1279 }
1280 if (a.tag.Contains("guild"))
1281 {
1283 {
1284 return true;
1285 }
1287 {
1288 return true;
1289 }
1291 {
1292 return true;
1293 }
1295 {
1296 return true;
1297 }
1298 return false;
1299 }
1300 if (isInGuild)
1301 {
1302 return false;
1303 }
1304 return a.category ==
"skill" && a.categorySub == c.
trait.
IDTrainer;
1305 }).ToList())
1306 {
1308 }
1309 }
1310 };
1311 }).SetSize()
1315 {
1316 plat = true
1317 });
1319 Step(
"_changeDomain");
1321 {
1326 {
1330 {
1331 money = true
1332 });
1336 {
1337 LayerPeople.slaveToBuy = null;
1341 {
1342 money = true
1343 });
1345 }, () => !layer, "_buySlaveConfirm");
1346 Step(
"_buySlaveConfirm");
1348 {
1350 if (tc == null)
1351 {
1352 RumorChill();
1353 }
1354 else
1355 {
1357 GameLang.refDrama1 = cost2.ToString() ?? "";
1358 GameLang.refDrama2 = tc.
Name;
1359 TempTalkTopic("slave_buy", null);
1361 {
1363 {
1364 TempTalkTopic("nomoney", StepDefault);
1365 }
1366 else
1367 {
1368 GameLang.refDrama1 = tc.Name;
1369 EClass._zone.AddCard(tc, EClass.pc.pos.GetNearestPoint());
1370 tc.MakeAlly();
1371 c.GetObj<SlaverData>(5).list.Remove(tc);
1372 TempTalkTopic("slave_buy2", StepEnd);
1373 }
1374 }).DisableSound();
1376 }
1377 });
1381 {
1386 {
1392 Step(
"_identifyAll");
1394 {
1395 int costIdentify = 0;
1396 int numIdentify = 0;
1397 int numSuperior = 0;
1399 {
1401 {
1402 numIdentify++;
1403 costIdentify += CalcMoney.Identify(EClass.pc, superior: false);
1404 }
1405 });
1406 GameLang.refDrama1 = costIdentify.ToString() ?? "";
1407 GameLang.refDrama2 = numIdentify.ToString() ?? "";
1408 if (numIdentify == 0)
1409 {
1411 }
1412 else
1413 {
1416 {
1418 {
1419 TempTalkTopic("nomoney", StepDefault);
1420 }
1421 else
1422 {
1423 SE.Pay();
1424 EClass.pc.ModCurrency(-costIdentify);
1425 foreach (Thing item11 in EClass.pc.things.List((Thing t) => !t.IsIdentified, onlyAccessible: true))
1426 {
1427 item11.Thing.Identify(show: false);
1428 if (!item11.IsInstalled)
1429 {
1430 numSuperior++;
1431 }
1432 }
1434 }
1435 });
1437 }
1438 });
1439 Step(
"_identifySP");
1441 {
1449 {
1452 {
1454 {
1457 targetZ = c.pos.z
1458 });
1461 {
1462 target = c
1463 });
1466 {
1467 EClass.pc.MoveZone(z, ZoneTransition.EnterState.Center);
1468 });
1469 TempTalkTopic(
"bout2",
StepEnd);
1470 });
1475 {
1478 {
1479 TempTalkTopic("news2", null);
1480 }
1481 else
1482 {
1483 zone.isKnown = true;
1485 GameLang.refDrama1 = zone.
Name;
1486 TempTalkTopic("news1", null);
1487 }
1489 });
1491 {
1496 {
1499 TempTalkTopic("healer1", null);
1501 {
1503 {
1504 TempTalkTopic("nomoney", StepDefault);
1505 }
1506 else
1507 {
1508 SE.Pay();
1509 foreach (Chara member2 in EClass.pc.party.members)
1510 {
1511 ActEffect.Proc(EffectId.HealComplete, member2);
1512 }
1514 TempTalkTopic(
"healer2",
StepEnd);
1515 }
1516 });
1518 });
1521 {
1524 TempTalkTopic("food1", null);
1526 {
1528 {
1529 TempTalkTopic("alreadyFull", StepDefault);
1530 }
1532 {
1533 TempTalkTopic("nomoney", StepDefault);
1534 }
1535 else
1536 {
1537 SE.Pay();
1538 EClass.pc.ModCurrency(-cost);
1539 TempTalkTopic("food2", StepDefault);
1540 FoodEffect.Proc(EClass.pc, ThingGen.Create("dish_lunch"), consume: false);
1541 EClass.pc.hunger.value = 0;
1542 }
1543 });
1545 });
1546 int[] bankTier = new int[5] { 100, 1000, 10000, 100000, 1000000 };
1549 {
1553 {
1554 WidgetFeed.Instance.Talk(c, "barter");
1555 }
1556 SE.Play("shop_open");
1562 {
1566 {
1567 WidgetFeed.Instance.Talk(c, "barter");
1568 }
1569 SE.Play("shop_open");
1572 {
1573 c.c_copyContainer = ThingGen.Create("container_deposit");
1574 }
1580 int[] taxTier = new int[6] { 0, 1000, 2000, 5000, 10000, 20000 };
1583 {
1585 TempTalkTopic("extraTax", null);
1586 int[] array2 = taxTier;
1587 foreach (int num3 in array2)
1588 {
1589 int _i2 = num3;
1591 {
1592 EClass.player.extraTax = _i2;
1593 GameLang.refDrama1 = Lang._currency(_i2, "money");
1594 TempTalkTopic("extraTax2", StepDefault);
1595 });
1596 }
1598 });
1601 {
1603 GameLang.refDrama1 = bankMoney.ToString() ?? "";
1604 TempTalkTopic("banker2", null);
1605 int[] array = bankTier;
1606 foreach (int num2 in array)
1607 {
1608 int _i = num2;
1610 {
1612 {
1613 SE.Pay();
1614 EClass.pc.ModCurrency(_i);
1615 EClass.player.bankMoney -= _i;
1616 TempTalkTopic("banker4", StepDefault);
1617 });
1618 }
1619 }
1621 });
1622 Step(
"_disableMove");
1624 {
1625 c.noMove = true;
1628 });
1630 Step(
"_enableMove");
1632 {
1633 c.noMove = false;
1634 c.orgPos = null;
1636 });
1640 {
1642 });
1646 void BackChill()
1647 {
1649 }
1650 string GetTalk(string id)
1651 {
1653 }
1654 void RumorChill()
1655 {
1656 rumor = GetTalk("chill");
1657 }
1658 void Talk(string idTalk, string idJump)
1659 {
1660 _Talk(
"tg", GetTalk(idTalk), idJump);
1661 }
1662 void TempCancel()
1663 {
1665 }
1666 void TempTalk(string idTalk, string idJump)
1667 {
1668 _TempTalk(
"tg", GetTalk(idTalk), idJump);
1669 }
1670 void TempTalkTopic(string idTopc, string idJump)
1671 {
1673 }
1674 bool taken()
1675 {
1676 if (c.
quest !=
null)
1677 {
1679 }
1680 return false;
1681 }
1682 }
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
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)
bool HasElement(int ele, bool includeNagative=false)
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()
bool TryEquip(Thing t, bool useFav=false)
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 ModBase(int ele, int v)
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 Activate(string book, string idSheet, string idStep, Chara target=null, Card ref1=null, string tag="")
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)
static async UniTask< bool > SendChat(string name, string msg, ChatCategory cat, string idLang)
void RemoveMember(Chara c)
void RequestPathImmediate(PathProgress progress)
static PathManager Instance
Layer SelectDomain(Action onKill=null)
void EndTurn(bool consume=true)
string GetIdTalk_GiveBill()
List< Thing > ListDestThing(bool onlyFirst=false)
Quest Start(string id, string idGlobalChara)
virtual bool IsRandomQuest
virtual string GetTalkComplete()
virtual bool UseInstanceZone
static Quest Create(string _id, string _idPerson=null, Chara c=null, bool assignQuest=true)
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
void OnBarter(bool reroll=false)
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)