From 164ddbf0eeef7c01c7853f118f4c76a100584c0e Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Wed, 4 Mar 2026 22:52:38 +0100 Subject: [PATCH] feat: Make spawn script independent --- spawn.gd | 5 +++++ spawn.gd.uid | 1 + spawn.tscn | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 spawn.gd create mode 100644 spawn.gd.uid diff --git a/spawn.gd b/spawn.gd new file mode 100644 index 0000000..28921e3 --- /dev/null +++ b/spawn.gd @@ -0,0 +1,5 @@ +extends Node3D + +func _ready() -> void: + $Mesh.mesh.size.x = Global.chunk_size + $Mesh.mesh.size.y = Global.chunk_size diff --git a/spawn.gd.uid b/spawn.gd.uid new file mode 100644 index 0000000..d7698df --- /dev/null +++ b/spawn.gd.uid @@ -0,0 +1 @@ +uid://dixivehd47h0o diff --git a/spawn.tscn b/spawn.tscn index 1983551..5bd7c4c 100644 --- a/spawn.tscn +++ b/spawn.tscn @@ -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)