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'

Instance Attribute Summary collapse

Attributes inherited from Item

#berry_data, #cooking_data, #db_symbol, #fling_power, #icon, #id, #is_allowing_mega, #is_battle_usable, #is_berry, #is_holdable, #is_limited, #is_map_usable, #position, #price, #socket

Instance Method Summary collapse

Methods inherited from Item

#bitter, #description, #dry, #me, #name, #plural_name, #sour, #spicy, #sweet

Instance Attribute Details

#is_hm ⇒ Boolean (readonly)

Get if the item is a Hidden Move or not

Returns:

  • (Boolean)


1384
1385
1386
# File 'docs/3_Studio.rb', line 1384

def is_hm
  @is_hm
end

#move ⇒ Symbol (readonly) Also known as: move_db_symbol

Get the db_symbol of the move it teaches

Returns:

  • (Symbol)


1381
1382
1383
# File 'docs/3_Studio.rb', line 1381

def move
  @move
end

Instance Method Details

#exact_name ⇒ String

Get the exact name of the item

Returns:



1388
1389
# File 'docs/3_Studio.rb', line 1388

def exact_name
end