[gd_scene format=3 uid="uid://6y7xvxkhylpw"] [ext_resource type="Script" uid="uid://3llsew1f8mgs" path="res://scripts/Level.gd" id="1_ppgk2"] [ext_resource type="Texture2D" uid="uid://cm8xcvhqaxmwi" path="res://assets/grass_new.jpg" id="2_2r41h"] [ext_resource type="Texture2D" uid="uid://bjfuko7rdmax" path="res://assets/stone_big.png" id="3_klq6b"] [ext_resource type="ArrayMesh" uid="uid://b5do7gjnxif80" path="res://assets/stonewall_long.obj" id="4_b121j"] [ext_resource type="ArrayMesh" uid="uid://ul1cypdhef5a" path="res://assets/stone_big.obj" id="5_8c41q"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ppgk2"] [sub_resource type="Sky" id="Sky_ppgk2"] sky_material = SubResource("ProceduralSkyMaterial_ppgk2") [sub_resource type="Environment" id="Environment_1"] background_mode = 2 background_color = Color(0.4118684, 0.67867154, 0.94944257, 1) sky = SubResource("Sky_ppgk2") ambient_light_source = 2 ambient_light_color = Color(0.41145328, 0.6625951, 0.9125854, 1) ambient_light_energy = 0.9 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rccsh"] albedo_texture = ExtResource("2_2r41h") uv1_scale = Vector3(4.25, 4.25, 4.25) [sub_resource type="ShaderMaterial" id="ShaderMaterial_qifjx"] [sub_resource type="PlaneMesh" id="PlaneMesh_1"] size = Vector2(28, 28) subdivide_width = 8 subdivide_depth = 8 [sub_resource type="BoxShape3D" id="BoxShape3D_1"] size = Vector3(28, 0.2, 28) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6vs76"] albedo_color = Color(0.70613354, 0.69966733, 0.76709455, 1) albedo_texture = ExtResource("3_klq6b") [sub_resource type="BoxShape3D" id="BoxShape3D_2"] size = Vector3(29.378223, 1, 1.2) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_4qegb"] albedo_texture = ExtResource("3_klq6b") [sub_resource type="BoxShape3D" id="BoxShape3D_3"] size = Vector3(1.2, 1, 28) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_faw0r"] albedo_texture = ExtResource("3_klq6b") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_2eouu"] albedo_texture = ExtResource("3_klq6b") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_dke22"] albedo_texture = ExtResource("3_klq6b") [sub_resource type="CylinderShape3D" id="CylinderShape3D_6vs76"] height = 1.7565918 radius = 1.0966797 [sub_resource type="BoxShape3D" id="BoxShape3D_qifjx"] size = Vector3(2.2670898, 1, 3.7305298) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_forge"] albedo_color = Color(0.28, 0.24, 0.2, 1) roughness = 0.95 [sub_resource type="BoxMesh" id="BoxMesh_forge"] size = Vector3(2, 1.8, 2) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_chimney"] albedo_color = Color(0.2, 0.18, 0.16, 1) [sub_resource type="BoxMesh" id="BoxMesh_chimney"] size = Vector3(0.6, 1, 0.6) [sub_resource type="BoxShape3D" id="BoxShape3D_forge"] size = Vector3(2, 1.8, 2) [sub_resource type="BoxMesh" id="BoxMesh_etable"] size = Vector3(1.4, 0.9, 1.4) [sub_resource type="BoxMesh" id="BoxMesh_ebook"] size = Vector3(0.7, 0.12, 0.5) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_etable"] albedo_color = Color(0.12, 0.08, 0.22, 1) roughness = 0.6 metallic = 0.2 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ebook"] albedo_color = Color(0.55, 0.08, 0.08, 1) roughness = 0.9 [sub_resource type="BoxShape3D" id="BoxShape3D_etable"] size = Vector3(1.4, 0.9, 1.4) [node name="Level" type="Node3D" unique_id=696519] script = ExtResource("1_ppgk2") show_grid = false [node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1954340881] environment = SubResource("Environment_1") [node name="Sun" type="DirectionalLight3D" parent="." unique_id=87011309] transform = Transform3D(0.90630776, 0.34618863, -0.24240388, 0, 0.57357645, 0.81915206, 0.42261827, -0.74240386, 0.5198368, 0, 0, 0) light_energy = 1.8 shadow_enabled = true [node name="Floor" type="MeshInstance3D" parent="." unique_id=1146297477] transform = Transform3D(3, 0, 0, 0, 3.0000002, 0, 0, 0, 3, 0.008, 0, 0.114) material_override = SubResource("StandardMaterial3D_rccsh") material_overlay = SubResource("ShaderMaterial_qifjx") mesh = SubResource("PlaneMesh_1") [node name="FloorBody" type="StaticBody3D" parent="." unique_id=507870675] transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0) [node name="CollisionShape3D" type="CollisionShape3D" parent="FloorBody" unique_id=1093224413] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0998226, 0) shape = SubResource("BoxShape3D_1") [node name="WallNorth" type="StaticBody3D" parent="." unique_id=442625322] transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -40.939087) metadata/is_wall = true [node name="StonewallLong" type="MeshInstance3D" parent="WallNorth" unique_id=1566838376] transform = Transform3D(0.33333334, 0, 0, 0, 1, 0, 0, 0, 1, -14.111143, -0.4524665, -0.22309875) material_override = SubResource("StandardMaterial3D_6vs76") mesh = ExtResource("4_b121j") [node name="CollisionShape3D" type="CollisionShape3D" parent="WallNorth" unique_id=253964319] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.7779843, 0, 0) shape = SubResource("BoxShape3D_2") [node name="WallSouth" type="StaticBody3D" parent="." unique_id=801810254] transform = Transform3D(3, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 42.038788) metadata/is_wall = true [node name="StonewallLong" type="MeshInstance3D" parent="WallSouth" unique_id=2124717224] transform = Transform3D(0.33333334, 0, 0, 0, 1, 0, 0, 0, 1, -14.042586, -0.46504664, -1.3490562) material_override = SubResource("StandardMaterial3D_4qegb") mesh = ExtResource("4_b121j") skeleton = NodePath("../..") [node name="CollisionShape3D" type="CollisionShape3D" parent="WallSouth" unique_id=1338546258] shape = SubResource("BoxShape3D_2") [node name="WallEast" type="StaticBody3D" parent="." unique_id=42880987] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 3, 41.519997, 0.5, 0) metadata/is_wall = true [node name="CollisionShape3D" type="CollisionShape3D" parent="WallEast" unique_id=345267630] shape = SubResource("BoxShape3D_3") [node name="WallWest" type="StaticBody3D" parent="." unique_id=1381404439] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 3, -41.94265, 0.5, 0) metadata/is_wall = true [node name="CollisionShape3D" type="CollisionShape3D" parent="WallWest" unique_id=1886984920] shape = SubResource("BoxShape3D_3") [node name="StonewallLong" type="MeshInstance3D" parent="." unique_id=344639736] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -41.812336, 0.03495334, 41.707535) material_override = SubResource("StandardMaterial3D_faw0r") mesh = ExtResource("4_b121j") [node name="StonewallLong2" type="MeshInstance3D" parent="." unique_id=662260765] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 41.5473, 0.03495334, 41.707535) material_override = SubResource("StandardMaterial3D_2eouu") mesh = ExtResource("4_b121j") [node name="stone_big_static_body" type="StaticBody3D" parent="." unique_id=1255608090] transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -41.812336, 0.03495334, 41.707535) metadata/is_wall = true [node name="StoneBig" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1168238989] transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.406992, -0.03442, 62.38336) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig2" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1676907334] transform = Transform3D(-0.12806861, 0, -2.2567358, 0, 2.0585825, 0, 1.5920911, 0, -0.18153314, 23.829947, -0.984745, 26.145203) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig4" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1246644641] transform = Transform3D(1.5559804, -0.36610112, -0.31502956, -0.24391624, -0.13370866, -2.2326329, 0.26568016, 2.0213497, -0.20474209, 22.185747, -2.0810232, 20.007593) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig9" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1861534294] transform = Transform3D(-0.41531914, -1.9763203, 0.23432715, -0.24391624, -0.13370866, -2.2326329, 1.5228827, -0.56039596, -0.29368994, 60.134903, -2.0810232, 28.066338) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig5" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1443706271] transform = Transform3D(1.5559807, -0.36610094, -0.3150296, 0.31859365, 0.8005848, 2.0363264, -0.16905348, -1.8608594, 0.9380533, 13.821587, -2.0810232, 42.629684) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig6" type="MeshInstance3D" parent="stone_big_static_body" unique_id=334858580] transform = Transform3D(-0.08797024, -2.02528, -0.3859474, 0.3230838, -0.3668037, 2.180216, -1.5617405, 0.038198426, 0.4727706, 68.155014, -2.0810232, 61.285988) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig8" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1906336718] transform = Transform3D(-0.14056785, -3.2361987, -0.6167059, -2.2630332, -0.09968095, 1.6690874, -1.1716492, 0.58079386, -3.1498418, 65.5587, 0.17454244, 53.531506) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig7" type="MeshInstance3D" parent="stone_big_static_body" unique_id=2059340291] transform = Transform3D(-0.087970294, -2.0252798, -0.3859474, 1.5811539, -0.064864956, -0.31240427, 0.20825109, -0.3630381, 2.208904, 61.453, -2.0810232, 59.94174) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="StoneBig3" type="MeshInstance3D" parent="stone_big_static_body" unique_id=1633278989] transform = Transform3D(-1.4497156, 0, 0.3155121, 0, 1.8903506, 0, -0.22258863, 0, -2.0549233, 61.013603, -0.03441809, 36.614697) material_override = SubResource("StandardMaterial3D_dke22") mesh = ExtResource("5_8c41q") skeleton = NodePath("../..") [node name="CollisionShape3D" type="CollisionShape3D" parent="stone_big_static_body" unique_id=117954266] transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.652334, 1.6238549, 62.58667) shape = SubResource("CylinderShape3D_6vs76") [node name="CollisionShape3D4" type="CollisionShape3D" parent="stone_big_static_body" unique_id=1462918149] transform = Transform3D(2.0258698, 0, 0.36553356, 0, 2.0585828, 0, -0.36553356, 0, 2.0258698, 63.120853, 1.6238549, 53.199097) shape = SubResource("BoxShape3D_qifjx") [node name="CollisionShape3D2" type="CollisionShape3D" parent="stone_big_static_body" unique_id=761915354] transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 23.887691, 1.6238549, 26.62331) shape = SubResource("CylinderShape3D_6vs76") [node name="CollisionShape3D3" type="CollisionShape3D" parent="stone_big_static_body" unique_id=1397239926] transform = Transform3D(1.9385185, 0, -0.69275445, 0, 2.0585828, 0, 0.69275445, 0, 1.9385185, 60.670692, 1.6238549, 36.420376) shape = SubResource("CylinderShape3D_6vs76") [node name="Forge" type="StaticBody3D" parent="." unique_id=734179063] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0.9, -8) metadata/is_forge = true [node name="ForgeMesh" type="MeshInstance3D" parent="Forge" unique_id=1062255408] material_override = SubResource("StandardMaterial3D_forge") mesh = SubResource("BoxMesh_forge") [node name="ChimneyMesh" type="MeshInstance3D" parent="Forge" unique_id=1649367044] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 1.4, -0.4) material_override = SubResource("StandardMaterial3D_chimney") mesh = SubResource("BoxMesh_chimney") [node name="CollisionShape3D" type="CollisionShape3D" parent="Forge" unique_id=726531191] shape = SubResource("BoxShape3D_forge") [node name="EnchantingTable" type="StaticBody3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8, 0.45, -8) metadata/is_enchanting_table = true [node name="TableMesh" type="MeshInstance3D" parent="EnchantingTable"] mesh = SubResource("BoxMesh_etable") material_override = SubResource("StandardMaterial3D_etable") [node name="BookMesh" type="MeshInstance3D" parent="EnchantingTable"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.51, 0) mesh = SubResource("BoxMesh_ebook") material_override = SubResource("StandardMaterial3D_ebook") [node name="CollisionShape3D" type="CollisionShape3D" parent="EnchantingTable"] shape = SubResource("BoxShape3D_etable")