2023-11-18 15:27:42 +02:00
|
|
|
extends Node3D
|
|
|
|
|
2023-12-20 02:54:22 +02:00
|
|
|
const Room = preload("res://content/system/house/room/room.tscn")
|
|
|
|
const RoomType = preload("res://content/system/house/room/room.gd")
|
2023-12-09 22:45:18 +02:00
|
|
|
|
2023-12-01 22:37:36 +02:00
|
|
|
const window_scene = preload("./window.tscn")
|
2023-11-18 15:27:42 +02:00
|
|
|
|
2023-11-26 03:01:27 +02:00
|
|
|
@onready var background = $Background
|
2023-11-18 15:27:42 +02:00
|
|
|
|
|
|
|
func _ready():
|
2023-11-26 03:01:27 +02:00
|
|
|
background.visible = false
|
2023-11-18 15:27:42 +02:00
|
|
|
|
2023-12-09 22:45:18 +02:00
|
|
|
HomeApi.on_connect.connect(func():
|
2023-12-20 02:54:22 +02:00
|
|
|
var rooms = House.body.get_rooms(0)
|
2023-11-29 23:24:38 +02:00
|
|
|
|
2023-12-20 02:54:22 +02:00
|
|
|
for room in rooms:
|
|
|
|
var mesh = room.wall_mesh
|
|
|
|
|
|
|
|
|
2023-11-18 15:27:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
)
|