17 lines
366 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-02-21 19:15:11 +00:00
var terrain: Terrain3D
2024-01-29 11:32:06 +00:00
var instance_id: int
2024-02-06 14:51:48 +00:00
func _enter_tree():
2024-02-28 11:15:58 +00:00
instance_id = 0 #OS.get_process_id() % 2
2024-02-16 19:04:50 +00:00
account = Account.new()
account.name = "user%d" % instance_id