removed editor granted weapon abilities and prepared granting abilites through an inventory

This commit is contained in:
2026-04-18 15:44:59 +02:00
parent 9e57641a75
commit 9464fc7caa
13 changed files with 310 additions and 53 deletions

View File

@@ -0,0 +1,14 @@
@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:
inventory.Player = player
func _on_close_button_pressed() -> void:
close()