Files
MovementTests/menus/scenes/overlaid_menus/inventory_wrapper.gd
Minimata 5a59d50be5
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 26s
Create tag and build when new code gets to main / Export (push) Successful in 6m13s
Made a menu to select abilities and grant them (with a few hardcoded stuff)
2026-04-19 11:37:55 +02:00

16 lines
342 B
GDScript

@tool
@icon("res://assets/ui/IconGodotNode/control/icon_crate_02.png")
class_name InventoryWrapper
extends OverlaidMenu
@export var player: PlayerController
@onready var inventory: Control = %Inventory
func _ready() -> void:
if Engine.is_editor_hint(): return
inventory.Player = player
func _on_close_button_pressed() -> void:
close()