Class: Studio::TechItem
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
-
#is_hm ⇒ Boolean
readonly
Get if the item is a Hidden Move or not.
-
#move ⇒ Symbol
(also: #move_db_symbol)
readonly
Get the db_symbol of the move it teaches.
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
-
#exact_name ⇒ String
Get the exact name of the item.
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
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
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
1388 1389 |
# File 'docs/3_Studio.rb', line 1388 def exact_name end |