removed editor granted weapon abilities and prepared granting abilites through an inventory
This commit is contained in:
14
menus/scenes/overlaid_menus/inventory_wrapper.gd
Normal file
14
menus/scenes/overlaid_menus/inventory_wrapper.gd
Normal 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()
|
||||
Reference in New Issue
Block a user