|
| 1 | +[gd_scene format=3 uid="uid://cqtrjqk6xxx84"] |
| 2 | + |
| 3 | +[ext_resource type="Texture2D" uid="uid://djpqmeu1t8pxk" path="res://scenes/game_elements/props/buildings/inn/components/inn.png" id="1_f08qg"] |
| 4 | +[ext_resource type="Texture2D" uid="uid://b5ooaiyxdrp6a" path="res://scenes/game_elements/components/light_texture_256x256.tres" id="2_thw4m"] |
| 5 | +[ext_resource type="Script" uid="uid://bk52qjv58locq" path="res://scenes/game_logic/light2d_behaviors/artificial_light_behavior.gd" id="3_6v01s"] |
| 6 | + |
| 7 | +[sub_resource type="RectangleShape2D" id="RectangleShape2D_f08qg"] |
| 8 | +size = Vector2(102, 54) |
| 9 | + |
| 10 | +[sub_resource type="RectangleShape2D" id="RectangleShape2D_mkj5x"] |
| 11 | +size = Vector2(54, 42) |
| 12 | + |
| 13 | +[node name="Inn" type="Node2D" unique_id=1528729065] |
| 14 | + |
| 15 | +[node name="Sprite2D" type="Sprite2D" parent="." unique_id=880549347] |
| 16 | +position = Vector2(0, -71) |
| 17 | +texture = ExtResource("1_f08qg") |
| 18 | + |
| 19 | +[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=1966422159] |
| 20 | +collision_layer = 16 |
| 21 | +collision_mask = 0 |
| 22 | + |
| 23 | +[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D" unique_id=1898797309] |
| 24 | +position = Vector2(0, -25) |
| 25 | +shape = SubResource("RectangleShape2D_f08qg") |
| 26 | + |
| 27 | +[node name="CollisionShape2D2" type="CollisionShape2D" parent="StaticBody2D" unique_id=1951487947] |
| 28 | +position = Vector2(78, -31) |
| 29 | +shape = SubResource("RectangleShape2D_mkj5x") |
| 30 | + |
| 31 | +[node name="PointLight2D" type="PointLight2D" parent="." unique_id=2118406319 groups=["night-lights"]] |
| 32 | +visibility_layer = 2 |
| 33 | +position = Vector2(82, -32) |
| 34 | +scale = Vector2(0.384, 0.384) |
| 35 | +enabled = false |
| 36 | +color = Color(1, 1, 0, 1) |
| 37 | +energy = 0.5 |
| 38 | +texture = ExtResource("2_thw4m") |
| 39 | + |
| 40 | +[node name="ArtificialLightBehavior" type="Node" parent="PointLight2D" unique_id=710365563 node_paths=PackedStringArray("light")] |
| 41 | +editor_description = "A random delay here adds variation to a stack of houses." |
| 42 | +script = ExtResource("3_6v01s") |
| 43 | +light = NodePath("..") |
| 44 | +random_delay = 3.0 |
| 45 | +metadata/_custom_type_script = "uid://bk52qjv58locq" |
| 46 | + |
| 47 | +[node name="PointLight2D2" type="PointLight2D" parent="." unique_id=1269358253 groups=["night-lights"]] |
| 48 | +visibility_layer = 2 |
| 49 | +position = Vector2(-71, -26) |
| 50 | +scale = Vector2(0.377, 0.377) |
| 51 | +enabled = false |
| 52 | +color = Color(1, 1, 0, 1) |
| 53 | +energy = 0.5 |
| 54 | +texture = ExtResource("2_thw4m") |
| 55 | + |
| 56 | +[node name="ArtificialLightBehavior" type="Node" parent="PointLight2D2" unique_id=2047170713 node_paths=PackedStringArray("light")] |
| 57 | +editor_description = "A random delay here adds variation to a stack of houses." |
| 58 | +script = ExtResource("3_6v01s") |
| 59 | +light = NodePath("..") |
| 60 | +random_delay = 3.0 |
| 61 | +metadata/_custom_type_script = "uid://bk52qjv58locq" |
0 commit comments