17 lines
370 B
GDScript3
Raw Normal View History

2024-01-16 22:01:16 +00:00
extends Node
2024-02-06 14:51:48 +00:00
@export var environment: Environment
@export var camera_attributes: CameraAttributesPractical
2024-02-16 19:04:50 +00:00
var account: Account
2024-02-12 15:58:17 +00:00
var camera: Camera
2024-01-16 22:01:16 +00:00
var player: Player
2024-01-28 18:18:16 +00:00
var players: PlayerManager
2024-01-29 11:32:06 +00:00
var instance_id: int
2024-02-16 19:04:50 +00:00
var interacting_with_ui: bool
2024-02-06 14:51:48 +00:00
func _enter_tree():
instance_id = OS.get_process_id() % 4
2024-02-16 19:04:50 +00:00
account = Account.new()
account.name = "user%d" % instance_id