aboutsummaryrefslogtreecommitdiff
path: root/client/map/tiles/lamp.tscn
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-07-28 17:41:50 +0200
committernokoe <nokoe@mailbox.org>2024-07-28 17:44:01 +0200
commite2ba0525717fa02ffb3c21fc5edb6b75210e0443 (patch)
tree3bc9c4a44d7c8aa315b539c369e755f050d624b0 /client/map/tiles/lamp.tscn
parentdd298408f031b5db48f91679986e8a65aed41ad6 (diff)
downloadhurrycurry-e2ba0525717fa02ffb3c21fc5edb6b75210e0443.tar
hurrycurry-e2ba0525717fa02ffb3c21fc5edb6b75210e0443.tar.bz2
hurrycurry-e2ba0525717fa02ffb3c21fc5edb6b75210e0443.tar.zst
lamps
Diffstat (limited to 'client/map/tiles/lamp.tscn')
-rw-r--r--client/map/tiles/lamp.tscn8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/map/tiles/lamp.tscn b/client/map/tiles/lamp.tscn
index 17a96b20..30ec4ec3 100644
--- a/client/map/tiles/lamp.tscn
+++ b/client/map/tiles/lamp.tscn
@@ -1,10 +1,11 @@
[gd_scene load_steps=3 format=3 uid="uid://b6x5xlchih2mc"]
[ext_resource type="ArrayMesh" uid="uid://cranpcmdoa8mx" path="res://map/tiles/lamp.res" id="1_2f0v1"]
-[ext_resource type="Script" path="res://map/tiles/lamp.gd" id="1_snoxq"]
+[ext_resource type="Script" path="res://map/tiles/light_tile.gd" id="1_87gp4"]
-[node name="Lamp" type="Node3D"]
-script = ExtResource("1_snoxq")
+[node name="Lamp" type="Node3D" node_paths=PackedStringArray("lights")]
+script = ExtResource("1_87gp4")
+lights = [NodePath("OmniLight3D")]
[node name="Mesh" type="MeshInstance3D" parent="."]
transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0)
@@ -15,4 +16,3 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.68634, 0)
light_color = Color(0.896459, 0.717604, 0.587842, 1)
light_energy = 3.0
light_size = 0.503
-omni_range = 8.0