inventory bug fixes, multiplayer pickup sync
This commit is contained in:
parent
04a9a299d7
commit
000269875a
14 changed files with 88 additions and 43 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue