Class: Studio::Group

Inherits:
Object show all
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

Instance Attribute Details

#custom_conditionsArray<CustomCondition> (readonly)

All the custom condition for the group to be active

Returns:



34
35
36
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 34

def custom_conditions
  @custom_conditions
end

#db_symbolSymbol (readonly)

db_symbol of the group

Returns:

  • (Symbol)


10
11
12
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 10

def db_symbol
  @db_symbol
end

#encountersArray<Encounter> (readonly)

All the wild encounters

Returns:



38
39
40
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 38

def encounters
  @encounters
end

#idInteger (readonly)

ID of the group

Returns:



6
7
8
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 6

def id
  @id
end

#is_double_battleBoolean (readonly)

If the wild battle should be a double battle

Returns:

  • (Boolean)


26
27
28
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 26

def is_double_battle
  @is_double_battle
end

#is_horde_battleBoolean (readonly)

If the wild battle should be a horde battle

Returns:

  • (Boolean)


30
31
32
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 30

def is_horde_battle
  @is_horde_battle
end

#system_tagSymbol (readonly)

System tag in which the wild creature should appear

Returns:

  • (Symbol)


14
15
16
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 14

def system_tag
  @system_tag
end

#terrain_tagInteger (readonly)

Terrain tag in which the wild creature should appear

Returns:



18
19
20
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 18

def terrain_tag
  @terrain_tag
end

#toolSymbol? (readonly)

Tool used to trigger that group (:OldRod, :GoodRod, :SuperRod, :RockSmash, :HeadButt)

Returns:

  • (Symbol, nil)


22
23
24
# File 'scripts/00800 Studio/00001 Data/00011 Group.rb', line 22

def tool
  @tool
end