10 public override bool ShowGoto
20 public override bool ShowHome
32 if (!c.IsAliveInCurrentZone || !ex.costs.CanPay())
37 UIContextMenu uicontextMenu =
EClass.ui.CreateContextMenuInteraction().SetHighlightTarget(i);
38 uicontextMenu.AddButton(
"sendExpedition", delegate()
40 EClass.Branch.expeditions.Add(ex);
42 this.list.List(
false);
48 public override void OnList()
55 this.expeditions[chara.uid] =
Expedition.Create(chara, this.type);
63 Expedition expedition = this.expeditions[a.uid];
65 if (a.IsAliveInCurrentZone)
67 lang = expedition.costs.GetText() +
"subExpedition".lang((expedition.MinHour / 24).ToString() ??
"", (expedition.MaxHour / 24).ToString() ??
"",
null,
null,
null);
71 lang =
"isDead".lang();
75 Zone currentZone = a.currentZone;
76 if (((currentZone !=
null) ? currentZone.id :
null) ==
"somewhere")
78 lang =
"isExploring".lang();
81 b.SetSubText(lang, 280, FontColor.Default, TextAnchor.MiddleLeft);
85 public Dictionary<int, Expedition> expeditions =
new Dictionary<int, Expedition>();
88 public ExpeditionType type;