9 public string idSourceZone
13 return this.owner.GetStr(30,
null);
23 return EClass.sources.zones.map[this.idSourceZone];
29 public override bool CanStack
38 public override int GetActDuration(
Chara c)
49 return this.idSourceZone.IsEmpty() || !
EClass.sources.zones.map.ContainsKey(this.idSourceZone);
59 return this.owner.GetInt(24,
null) != 0;
64 public override void SetName(ref
string s)
70 s =
"_of".lang(this.sourceZone.GetName(), s,
null,
null,
null);
73 s =
EClass.sources.zoneAffixes.map[this.owner.GetInt(24,
null)].GetName() + Lang.space + s;
75 int @
int = this.owner.GetInt(25,
null);
76 s = s +
" Lv " + @
int.ToString();
80 public override void OnRead(
Chara c)
82 Zone zone =
EClass.world.region.CreateRandomSite(
EClass._zone, 8,
this.idSourceZone,
true);
85 Msg.Say(
"nothingHappens");
91 zone.idPrefix = this.owner.GetInt(24,
null);
93 Msg.Say(
"discoverZone", zone.Name,
null,
null,
null);
94 this.owner.ModNum(-1,
true);
95 Debug.Log(
string.Concat(
new string[]