Cow_Life_Sim_RPG/Interactions/Shopping/VeggieStandShop.gd

25 lines
919 B
GDScript

extends "res://Interactions/Shopping/ShopHaver.gd"
func instantiate_shop_inventory():
var turnip = load("res://Items/Foods/Veggie/Turnip.gd").new()
var eggplant = load("res://Items/Foods/Veggie/Eggplant.gd").new()
var carrot = load("res://Items/Foods/Veggie/Carrot.gd").new()
var tomato = load("res://Items/Foods/Fruits/Tomato.gd").new()
var broccoli = load("res://Items/Foods/Veggie/Broccoli.gd").new()
var cucumber = load("res://Items/Foods/Veggie/Cucumber.gd").new()
var corn = load("res://Items/Foods/Veggie/Corn.gd").new()
var mustardSeed = load("res://Items/Foods/Seeds/MustardSeed.gd").new()
shopInventory = []
shopInventory.append(turnip)
shopInventory.append(eggplant)
shopInventory.append(carrot)
shopInventory.append(tomato)
shopInventory.append(broccoli)
shopInventory.append(cucumber)
shopInventory.append(corn)
shopInventory.append(mustardSeed)
super.instantiate_shop_inventory()