[gd_scene format=3 uid="uid://ygpr1p4jwi4v"] [ext_resource type="Script" uid="uid://ovrpkbwq0piy" path="res://objects/map/tiles/hex_tile_set.gd" id="1_sgwpe"] [ext_resource type="Script" uid="uid://bcelqd50co3p3" path="res://objects/map/tiles/hex_tile.gd" id="2_0fw1f"] [ext_resource type="ArrayMesh" uid="uid://dnhk02pm0g1j" path="res://objects/map/tiles/base/base.tres" id="3_6x72r"] [ext_resource type="Script" uid="uid://boba1g0kd5n68" path="res://objects/map/tiles/hex_tile_types/hex_tile_house.gd" id="4_0fw1f"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oixbx"] albedo_color = Color(0.35686275, 0.6509804, 0.45882353, 1) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sgwpe"] albedo_color = Color(0.47058824, 0.8, 0.43529412, 1) [sub_resource type="CylinderMesh" id="CylinderMesh_g4v7s"] bottom_radius = 12.328 height = 21.673828 radial_segments = 10 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_yf5fn"] albedo_color = Color(0.35686275, 0.6509804, 0.45882353, 1) [sub_resource type="CylinderShape3D" id="CylinderShape3D_sgwpe"] height = 24.650146 radius = 9.0859375 [sub_resource type="CylinderShape3D" id="CylinderShape3D_yf5fn"] height = 24.650146 radius = 12.075195 [sub_resource type="PrismMesh" id="PrismMesh_sgwpe"] size = Vector3(10, 10, 10) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_0fw1f"] albedo_color = Color(0.8, 0.25882354, 0.36862746, 1) [sub_resource type="CylinderMesh" id="CylinderMesh_yf5fn"] height = 200.0 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_57qmd"] transparency = 1 shading_mode = 0 albedo_color = Color(0.8, 0.256, 0.36480018, 0.42352942) [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6x72r"] albedo_color = Color(0.81960785, 0.7058824, 0.7607843, 1) [sub_resource type="CylinderShape3D" id="CylinderShape3D_6x72r"] height = 24.650146 radius = 6.894 [sub_resource type="Gradient" id="Gradient_0fw1f"] interpolation_mode = 1 colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0) [sub_resource type="GradientTexture2D" id="GradientTexture2D_g4v7s"] gradient = SubResource("Gradient_0fw1f") width = 300 height = 300 fill = 1 fill_from = Vector2(0.5, 0.5) fill_to = Vector2(0.5, 1) [node name="HexTileSet" type="Node3D" unique_id=549438538] script = ExtResource("1_sgwpe") [node name="Grass" type="StaticBody3D" parent="." unique_id=940672834] script = ExtResource("2_0fw1f") id = &"Grass" metadata/_custom_type_script = "uid://bcelqd50co3p3" [node name="Base" type="MeshInstance3D" parent="Grass" unique_id=76705257] mesh = ExtResource("3_6x72r") surface_material_override/0 = SubResource("StandardMaterial3D_oixbx") [node name="Grass2" type="StaticBody3D" parent="." unique_id=1341297106] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 0, 0) script = ExtResource("2_0fw1f") id = &"Grass2" metadata/_custom_type_script = "uid://bcelqd50co3p3" [node name="Base" type="MeshInstance3D" parent="Grass2" unique_id=2047809771] mesh = ExtResource("3_6x72r") surface_material_override/0 = SubResource("StandardMaterial3D_sgwpe") [node name="Tree1" type="StaticBody3D" parent="." unique_id=779600102] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 80, 0, 0) script = ExtResource("2_0fw1f") id = &"Tree1" metadata/_custom_type_script = "uid://bcelqd50co3p3" [node name="Base2" type="MeshInstance3D" parent="Tree1" unique_id=627081052] mesh = ExtResource("3_6x72r") surface_material_override/0 = SubResource("StandardMaterial3D_oixbx") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tree1" unique_id=1847158047] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.9956665, 9.836914, -4.9558372) mesh = SubResource("CylinderMesh_g4v7s") surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn") [node name="MeshInstance3D2" type="MeshInstance3D" parent="Tree1" unique_id=770818071] transform = Transform3D(0.515, 0, 0, 0, 0.515, 0, 0, 0, 0.515, 1.0043335, 2.9007664, 4.0441628) mesh = SubResource("CylinderMesh_g4v7s") surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn") [node name="CollisionShape3D" type="CollisionShape3D" parent="Tree1" unique_id=1419584569] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.2411957, 7.078491, -4.7115307) shape = SubResource("CylinderShape3D_sgwpe") [node name="Tree2" type="StaticBody3D" parent="." unique_id=1777082018] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 120, 0, 0) script = ExtResource("2_0fw1f") id = &"Tree2" metadata/_custom_type_script = "uid://bcelqd50co3p3" [node name="Base2" type="MeshInstance3D" parent="Tree2" unique_id=1571316613] mesh = ExtResource("3_6x72r") surface_material_override/0 = SubResource("StandardMaterial3D_oixbx") [node name="MeshInstance3D" type="MeshInstance3D" parent="Tree2" unique_id=1159803776] transform = Transform3D(1.375, 0, 0, 0, 1.375, 0, 0, 0, 1.375, 0.54029846, 11.831854, -0.09746361) mesh = SubResource("CylinderMesh_g4v7s") surface_material_override/0 = SubResource("StandardMaterial3D_yf5fn") [node name="CollisionShape3D" type="CollisionShape3D" parent="Tree2" unique_id=872651782] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.8638458, 7.078491, 0.41245174) shape = SubResource("CylinderShape3D_yf5fn") [node name="House" type="StaticBody3D" parent="." unique_id=2024806559 node_paths=PackedStringArray("life_bar", "house_model", "house_model_broke")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 160, 0, 0) script = ExtResource("4_0fw1f") life_bar = NodePath("LifeBar") house_model = NodePath("HouseModel") house_model_broke = NodePath("HouseModelBroke") hp = 100.0 id = &"House" mandatory_tile = true mandatory_count = 3 metadata/_custom_type_script = "uid://bcelqd50co3p3" [node name="Base2" type="MeshInstance3D" parent="House" unique_id=501829296] mesh = ExtResource("3_6x72r") surface_material_override/0 = SubResource("StandardMaterial3D_oixbx") [node name="HouseModel" type="MeshInstance3D" parent="House" unique_id=1045312946] unique_name_in_owner = true transform = Transform3D(1.375, 0, 0, 0, 1.375, 0, 0, 0, 1.375, 0.54029846, 5.831854, -0.09746361) mesh = SubResource("PrismMesh_sgwpe") surface_material_override/0 = SubResource("StandardMaterial3D_0fw1f") [node name="MeshInstance3D" type="MeshInstance3D" parent="House/HouseModel" unique_id=670837026] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 100, 0) mesh = SubResource("CylinderMesh_yf5fn") surface_material_override/0 = SubResource("StandardMaterial3D_57qmd") [node name="HouseModelBroke" type="MeshInstance3D" parent="House" unique_id=107368671] unique_name_in_owner = true transform = Transform3D(1.375, 0, 0, 0, 1.375, 0, 0, 0, 1.375, 0.54029846, 5.831854, -0.09746361) visible = false mesh = SubResource("PrismMesh_sgwpe") surface_material_override/0 = SubResource("StandardMaterial3D_6x72r") [node name="CollisionShape3D" type="CollisionShape3D" parent="House" unique_id=907138474] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.8638458, 7.078491, 0.41245174) shape = SubResource("CylinderShape3D_6x72r") [node name="LifeBar" type="Sprite3D" parent="House" unique_id=501876162] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.53863525, 16.817535, 0) billboard = 1 texture = SubResource("GradientTexture2D_g4v7s")