Class: Studio::Group
- Defined in:
- scripts/00800 Studio/00001 Data/00011 Group.rb
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.
-
#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 (:OldRod, :GoodRod, :SuperRod, :RockSmash, :HeadButt).
Instance Attribute Details
#custom_conditions ⇒ Array<CustomCondition> (readonly)
All the custom condition for the group to be active
34 35 36 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 34 def custom_conditions @custom_conditions end |
#db_symbol ⇒ Symbol (readonly)
db_symbol of the group
10 11 12 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 10 def db_symbol @db_symbol end |
#encounters ⇒ Array<Encounter> (readonly)
All the wild encounters
38 39 40 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 38 def encounters @encounters end |
#id ⇒ Integer (readonly)
ID of the group
6 7 8 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 6 def id @id end |
#is_double_battle ⇒ Boolean (readonly)
If the wild battle should be a double battle
26 27 28 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 26 def is_double_battle @is_double_battle end |
#is_horde_battle ⇒ Boolean (readonly)
If the wild battle should be a horde battle
30 31 32 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 30 def is_horde_battle @is_horde_battle end |
#system_tag ⇒ Symbol (readonly)
System tag in which the wild creature should appear
14 15 16 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 14 def system_tag @system_tag end |
#terrain_tag ⇒ Integer (readonly)
Terrain tag in which the wild creature should appear
18 19 20 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 18 def terrain_tag @terrain_tag end |
#tool ⇒ Symbol? (readonly)
Tool used to trigger that group (:OldRod, :GoodRod, :SuperRod, :RockSmash, :HeadButt)
22 23 24 |
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 22 def tool @tool end |