mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Renamed variables and methods relating to the Bag, renamed $PokemonBag to $Bag, $bag.has? can now check for a minimum quantity
This commit is contained in:
@@ -586,7 +586,7 @@ class MiningGameScene
|
||||
def pbGiveItems
|
||||
if @itemswon.length>0
|
||||
for i in @itemswon
|
||||
if $PokemonBag.pbStoreItem(i)
|
||||
if $bag.add(i)
|
||||
pbMessage(_INTL("One {1} was obtained.\\se[Mining item get]\\wtnp[30]",
|
||||
GameData::Item.get(i).name))
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user