inventory bug fixes, multiplayer pickup sync

This commit is contained in:
N0ble 2025-07-22 00:50:08 -06:00
parent 04a9a299d7
commit 000269875a
14 changed files with 88 additions and 43 deletions

View file

@ -2,8 +2,17 @@ extends Resource
class_name Item
@export var id : int
@export var value : int
@export var name : String
@export var weight : int
@export var primary_objective : bool
@export var secondary_objective : bool
var controller : Marker3D
func set_controller(new_controller : Marker3D):
controller = new_controller
func get_controller() -> Marker3D:
return controller