Untracked Files

This commit is contained in:
2026-02-22 13:54:40 -06:00
parent 63e2f75e7b
commit 90241d6830
56 changed files with 1083 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
extends Node
@onready var item_notification: Label = $"../CanvasLayer/Item Notification"
var current_shop_item: ShopItem = null
# Public Methods
func OnPlayerInteractScannerAreaEntered(area: Area2D) -> void:
if area is not ShopItem:
return
var shop_item := area as ShopItem
if shop_item != current_shop_item:
current_shop_item = shop_item
var check_location := shop_item.check_location
var item := GameManager.location_items.CheckItemAtLocation(check_location)
var item_name: String = Enums.Items.keys()[item]
item_notification.text = item_name
func OnPlayerInteractScannerAreaExited(area: Area2D) -> void:
if area is not ShopItem:
return
if area == current_shop_item:
item_notification.text = ""
current_shop_item = null

View File

@@ -0,0 +1 @@
uid://cpr710p4wdgx