16 lines
423 B
GDScript
16 lines
423 B
GDScript
extends "res://Interactions/Shopping/ShopHaver.gd"
|
|
|
|
func instantiate_shop_inventory():
|
|
var orange = load("res://Items/Foods/Fruits/Orange.gd").new()
|
|
var apple = load("res://Items/Foods/Fruits/Apple.gd").new()
|
|
var grape = load("res://Items/Foods/Fruits/Grape.gd").new()
|
|
|
|
|
|
shopInventory = []
|
|
|
|
shopInventory.append(orange)
|
|
shopInventory.append(apple)
|
|
shopInventory.append(grape)
|
|
|
|
super.instantiate_shop_inventory()
|