Class: Studio::Group
Overview
Data class describing a wild Group
Defined Under Namespace
Classes: CustomCondition, Encounter
Instance Attribute Summary collapse
-
#custom_conditions ⇒ Array<CustomCondition>
readonly
All the custom condition for the group to be active.
-
#db_symbol ⇒ Symbol
readonly
db_symbol of the group.
-
#encounters ⇒ Array<Encounter>
readonly
All the wild encounters.
-
#id ⇒ Integer
readonly
ID of the group.
-
#is_double_battle ⇒ Boolean
readonly
If the wild battle should be a double battle.
-
#is_horde_battle ⇒ Boolean
readonly
If the wild battle should be a horde battle.
-
#steps_average ⇒ Integer
readonly
Average number of steps for the group to have a creature spawn.
-
#system_tag ⇒ Symbol
readonly
System tag in which the wild creature should appear.
-
#terrain_tag ⇒ Integer
readonly
Terrain tag in which the wild creature should appear.
-
#tool ⇒ Symbol?
readonly
Tool used to trigger that group (:old_rod, :good_rod, :super_rod, :rock_smash, :head_butt).
Instance Attribute Details
#custom_conditions ⇒ Array<CustomCondition> (readonly)
All the custom condition for the group to be active
261 262 263 |
# File 'docs/3_Studio.rb', line 261 def custom_conditions @custom_conditions end |
#db_symbol ⇒ Symbol (readonly)
db_symbol of the group
243 244 245 |
# File 'docs/3_Studio.rb', line 243 def db_symbol @db_symbol end |
#encounters ⇒ Array<Encounter> (readonly)
All the wild encounters
264 265 266 |
# File 'docs/3_Studio.rb', line 264 def encounters @encounters end |
#id ⇒ Integer (readonly)
ID of the group
240 241 242 |
# File 'docs/3_Studio.rb', line 240 def id @id end |
#is_double_battle ⇒ Boolean (readonly)
If the wild battle should be a double battle
255 256 257 |
# File 'docs/3_Studio.rb', line 255 def is_double_battle @is_double_battle end |
#is_horde_battle ⇒ Boolean (readonly)
If the wild battle should be a horde battle
258 259 260 |
# File 'docs/3_Studio.rb', line 258 def is_horde_battle @is_horde_battle end |
#steps_average ⇒ Integer (readonly)
Average number of steps for the group to have a creature spawn
267 268 269 |
# File 'docs/3_Studio.rb', line 267 def steps_average @steps_average end |
#system_tag ⇒ Symbol (readonly)
System tag in which the wild creature should appear
246 247 248 |
# File 'docs/3_Studio.rb', line 246 def system_tag @system_tag end |
#terrain_tag ⇒ Integer (readonly)
Terrain tag in which the wild creature should appear
249 250 251 |
# File 'docs/3_Studio.rb', line 249 def terrain_tag @terrain_tag end |
#tool ⇒ Symbol? (readonly)
Tool used to trigger that group (:old_rod, :good_rod, :super_rod, :rock_smash, :head_butt)
252 253 254 |
# File 'docs/3_Studio.rb', line 252 def tool @tool end |