swiftdeathsk
Member
I've been using a Call Script... command to set the shop lists, like this:
etc., for each shop. But, I'm wanting a couple shops, not all, to have a limited amount of supplies that can be bought. I was wondering if someone could help me make this so I can use my system (as shown above), but just by adding another element to my array in order to allow limited stock, something like this:
where stock amount = 0 would mean that there is no limit on supplies.
please and thank you!
Code:
$game_temp.shop_goods = []
$game_temp.shop_goods << [<item type>, <item id>]
$scene = Scene_Shop.new
etc., for each shop. But, I'm wanting a couple shops, not all, to have a limited amount of supplies that can be bought. I was wondering if someone could help me make this so I can use my system (as shown above), but just by adding another element to my array in order to allow limited stock, something like this:
Code:
$game_temp.shop_goods = []
$game_temp.shop_goods << [<item type>, <item id>, <stock amount>]
$scene = Scene_Shop.new
please and thank you!