Untracked Files
This commit is contained in:
24
Scripts/Item Locations/location_items.gd
Normal file
24
Scripts/Item Locations/location_items.gd
Normal file
@@ -0,0 +1,24 @@
|
||||
extends AbstractLocationItems
|
||||
class_name LocationItems
|
||||
|
||||
# Public Methods
|
||||
func CheckItemAtLocation(location: Enums.CheckLocations) -> Enums.Items:
|
||||
match location:
|
||||
Enums.CheckLocations.SHOP_1:
|
||||
return Enums.Items.WOOD_SWORD
|
||||
Enums.CheckLocations.SHOP_2:
|
||||
return Enums.Items.BRONZE_KEY
|
||||
Enums.CheckLocations.SHOP_3:
|
||||
return Enums.Items.RED_POTION
|
||||
return Enums.Items.GOLD_100
|
||||
|
||||
|
||||
func GetLocationShopPrice(location: Enums.CheckLocations) -> int:
|
||||
match location:
|
||||
Enums.CheckLocations.SHOP_1:
|
||||
return 500
|
||||
Enums.CheckLocations.SHOP_2:
|
||||
return 200
|
||||
Enums.CheckLocations.SHOP_3:
|
||||
return 100
|
||||
return 1234
|
||||
Reference in New Issue
Block a user