Class: Studio::TechItem

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

Overview

Data class describing an Item that allow a creature to learn a move

Constant Summary collapse

HM_TM_TEXT =

HM/TM text

'%s %s'

Constants inherited from Item

Item::ItemGetME

Instance Attribute Summary collapse

Attributes inherited from Item

#db_symbol, #fling_power, #icon, #id, #is_battle_usable, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Instance Method Summary collapse

Methods inherited from Item

#description, #me, #name, #plural_name

Instance Attribute Details

#is_hmBoolean (readonly)

Get if the item is a Hidden Move or not

Returns:

  • (Boolean)


1205
1206
1207
# File 'docs/3_Studio.rb', line 1205

def is_hm
  @is_hm
end

#moveSymbol (readonly) Also known as: move_db_symbol

Get the db_symbol of the move it teaches

Returns:

  • (Symbol)


1202
1203
1204
# File 'docs/3_Studio.rb', line 1202

def move
  @move
end

Instance Method Details

#exact_nameString

Get the exact name of the item

Returns:



1209
1210
# File 'docs/3_Studio.rb', line 1209

def exact_name
end