Class: Studio::Group

Inherits:
Object show all
Defined in:
docs/3_Studio.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:



261
262
263
# File 'docs/3_Studio.rb', line 261

def custom_conditions
  @custom_conditions
end

#db_symbolSymbol (readonly)

db_symbol of the group

Returns:

  • (Symbol)


243
244
245
# File 'docs/3_Studio.rb', line 243

def db_symbol
  @db_symbol
end

#encountersArray<Encounter> (readonly)

All the wild encounters

Returns:



264
265
266
# File 'docs/3_Studio.rb', line 264

def encounters
  @encounters
end

#idInteger (readonly)

ID of the group

Returns:

  • (Integer)


240
241
242
# File 'docs/3_Studio.rb', line 240

def id
  @id
end

#is_double_battleBoolean (readonly)

If the wild battle should be a double battle

Returns:

  • (Boolean)


255
256
257
# File 'docs/3_Studio.rb', line 255

def is_double_battle
  @is_double_battle
end

#is_horde_battleBoolean (readonly)

If the wild battle should be a horde battle

Returns:

  • (Boolean)


258
259
260
# File 'docs/3_Studio.rb', line 258

def is_horde_battle
  @is_horde_battle
end

#steps_averageInteger (readonly)

Average number of steps for the group to have a creature spawn

Returns:

  • (Integer)


267
268
269
# File 'docs/3_Studio.rb', line 267

def steps_average
  @steps_average
end

#system_tagSymbol (readonly)

System tag in which the wild creature should appear

Returns:

  • (Symbol)


246
247
248
# File 'docs/3_Studio.rb', line 246

def system_tag
  @system_tag
end

#terrain_tagInteger (readonly)

Terrain tag in which the wild creature should appear

Returns:

  • (Integer)


249
250
251
# File 'docs/3_Studio.rb', line 249

def terrain_tag
  @terrain_tag
end

#toolSymbol? (readonly)

Tool used to trigger that group (:old_rod, :good_rod, :super_rod, :rock_smash, :head_butt)

Returns:

  • (Symbol, nil)


252
253
254
# File 'docs/3_Studio.rb', line 252

def tool
  @tool
end