Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
extends StaticBody3D
|
||||
|
||||
func on_interact(player: Node) -> void:
|
||||
var menu = get_node_or_null("/root/Node3D/VendorUI/VendorMenu")
|
||||
if menu and menu.has_method("open_menu"):
|
||||
menu.open_menu(player)
|
||||
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
|
||||
else:
|
||||
print("Vendor menu not found")
|
||||
Reference in New Issue
Block a user