Class: Studio::Zone
Overview
Data class describing a zone (set of map under the same name, group etc…)
Defined Under Namespace
Classes: MapCoordinate
Instance Attribute Summary collapse
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the zone.
-
#forced_weather ⇒ Integer?
readonly
ID of the weather to automatically trigger.
-
#id ⇒ Integer
readonly
ID of the zone.
-
#is_fly_allowed ⇒ Boolean
readonly
If the player can use fly, otherwise use dig.
-
#is_warp_disallowed ⇒ Boolean
readonly
If the player cannot use any teleportation method (fly, dig, teleport).
-
#maps ⇒ Array<Integer>
readonly
List of maps included in this zone.
-
#panel_id ⇒ Integer
readonly
ID of the panel to show when entering the zone (0 = none).
-
#position ⇒ MapCoordinate
readonly
Default position of the zone on the worldmap.
-
#warp ⇒ MapCoordinate
readonly
Target warp coordinates when using Dig, Fly or Teleport.
-
#wild_groups ⇒ Array<Symbol>
readonly
List of wild group db_symbol included on this map.
-
#worldmaps ⇒ Array<Integer>
readonly
List of worldmap included in this zone.
Instance Method Summary collapse
-
#name ⇒ String
Get the zone name.
Instance Attribute Details
#db_symbol ⇒ Symbol (readonly)
db_symbol of the zone
1101 1102 1103 |
# File 'docs/3_Studio.rb', line 1101 def db_symbol @db_symbol end |
#forced_weather ⇒ Integer? (readonly)
ID of the weather to automatically trigger
1125 1126 1127 |
# File 'docs/3_Studio.rb', line 1125 def forced_weather @forced_weather end |
#id ⇒ Integer (readonly)
ID of the zone
1098 1099 1100 |
# File 'docs/3_Studio.rb', line 1098 def id @id end |
#is_fly_allowed ⇒ Boolean (readonly)
If the player can use fly, otherwise use dig
1119 1120 1121 |
# File 'docs/3_Studio.rb', line 1119 def is_fly_allowed @is_fly_allowed end |
#is_warp_disallowed ⇒ Boolean (readonly)
If the player cannot use any teleportation method (fly, dig, teleport)
1122 1123 1124 |
# File 'docs/3_Studio.rb', line 1122 def is_warp_disallowed @is_warp_disallowed end |
#maps ⇒ Array<Integer> (readonly)
List of maps included in this zone
1104 1105 1106 |
# File 'docs/3_Studio.rb', line 1104 def maps @maps end |
#panel_id ⇒ Integer (readonly)
ID of the panel to show when entering the zone (0 = none)
1110 1111 1112 |
# File 'docs/3_Studio.rb', line 1110 def panel_id @panel_id end |
#position ⇒ MapCoordinate (readonly)
Default position of the zone on the worldmap
1116 1117 1118 |
# File 'docs/3_Studio.rb', line 1116 def position @position end |
#warp ⇒ MapCoordinate (readonly)
Target warp coordinates when using Dig, Fly or Teleport
1113 1114 1115 |
# File 'docs/3_Studio.rb', line 1113 def warp @warp end |
#wild_groups ⇒ Array<Symbol> (readonly)
List of wild group db_symbol included on this map
1128 1129 1130 |
# File 'docs/3_Studio.rb', line 1128 def wild_groups @wild_groups end |
#worldmaps ⇒ Array<Integer> (readonly)
List of worldmap included in this zone
1107 1108 1109 |
# File 'docs/3_Studio.rb', line 1107 def worldmaps @worldmaps end |