feat: Make spawn script independent

This commit is contained in:
Dendy 2026-03-04 22:52:38 +01:00
parent 15c3b0ac8a
commit 164ddbf0ee
3 changed files with 7 additions and 1 deletions

5
spawn.gd Normal file
View File

@ -0,0 +1,5 @@
extends Node3D
func _ready() -> void:
$Mesh.mesh.size.x = Global.chunk_size
$Mesh.mesh.size.y = Global.chunk_size

1
spawn.gd.uid Normal file
View File

@ -0,0 +1 @@
uid://dixivehd47h0o

View File

@ -1,6 +1,6 @@
[gd_scene format=3 uid="uid://m45422rsfnmh"]
[ext_resource type="Script" uid="uid://e3kpo73hvthu" path="res://station.gd" id="1_3a72r"]
[ext_resource type="Script" uid="uid://dixivehd47h0o" path="res://spawn.gd" id="1_3a72r"]
[sub_resource type="PlaneMesh" id="PlaneMesh_kdh3y"]
size = Vector2(150, 150)