Module: Util::GiveTakeItem
- Included in:
- GamePlay::Party_Menu, GamePlay::PokemonStorage
- Defined in:
- docs/4_Systems_102_Party.rb
Overview
Module adding the give / take item functionality to a scene
Instance Method Summary collapse
-
#givetake_give_egg_message(item)
Display the give item message to an egg.
-
#givetake_give_item(pokemon, item = -1)) {|pokemon| ... } ⇒ Boolean
Give an item to a Pokemon.
-
#givetake_give_item_message(item1, item2, pokemon)
Display the give item message.
-
#givetake_give_item_update_state(item1, item2, pokemon)
Update the bag and pokemon state when giving an item.
-
#givetake_take_item(pokemon) {|pokemon| ... }
Action of taking the item from the Pokemon.
Instance Method Details
#givetake_give_egg_message(item)
Display the give item message to an egg
19 20 |
# File 'docs/4_Systems_102_Party.rb', line 19 def (item) end |
#givetake_give_item(pokemon, item = -1)) {|pokemon| ... } ⇒ Boolean
Give an item to a Pokemon
9 10 |
# File 'docs/4_Systems_102_Party.rb', line 9 def givetake_give_item(pokemon, item = -1) end |
#givetake_give_item_message(item1, item2, pokemon)
Display the give item message
15 16 |
# File 'docs/4_Systems_102_Party.rb', line 15 def (item1, item2, pokemon) end |
#givetake_give_item_update_state(item1, item2, pokemon)
Update the bag and pokemon state when giving an item
25 26 |
# File 'docs/4_Systems_102_Party.rb', line 25 def givetake_give_item_update_state(item1, item2, pokemon) end |
#givetake_take_item(pokemon) {|pokemon| ... }
Action of taking the item from the Pokemon
30 31 |
# File 'docs/4_Systems_102_Party.rb', line 30 def givetake_take_item(pokemon) end |