9 public override bool CanBeDestroyed
18 public override void OnRead(
Chara c)
20 if (!
EClass._zone.IsRegion)
22 Msg.Say(
"globalmap_item");
26 if (cell ==
null || (cell.zone !=
null && (!(cell.zone is
Zone_Field) || cell.zone.IsPCFaction)))
28 Msg.Say(
"cannot_use_here");
31 List<FactionBranch> list =
EClass.pc.faction.GetChildren();
34 Zone z = list[a].owner;
35 Dialog.YesNo(
"dialog_relocateLand", delegate
37 if (cell.zone !=
null)
41 EClass.game.Save(
false,
null,
false);
42 EClass.Sound.Play(
"jingle_embark");
43 EClass.pc.PlaySound(
"build", 1f,
true);
44 this.owner.ModNum(-1,
true);
45 EClass.scene.elomap.SetZone(z.x, z.y,
null,
false);
49 EClass.scene.elomap.SetZone(z.x, z.y, z,
true);
50 Msg.Say(
"base_relocate", z.Name,
null,
null,
null);
51 },
null,
"yes",
"no");
52 },
true).TryShowHint(
"h_relocate");