Class: Studio::CreatureForm::ItemHeld

Inherits:
Object
  • Object
show all
Defined in:
docs/3_Studio.rb

Overview

Item held by the creature when generated

Instance Attribute Summary collapse

Instance Attribute Details

#chanceInteger (readonly)

Chance that the creature is holding this item

Returns:

  • (Integer)


722
723
724
# File 'docs/3_Studio.rb', line 722

def chance
  @chance
end

#db_symbolSymbol (readonly)

db_symbol of the item that should be held

Returns:

  • (Symbol)


719
720
721
# File 'docs/3_Studio.rb', line 719

def db_symbol
  @db_symbol
end