feat: add typed pantry storage site
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=26 format=3]
|
||||
[gd_scene load_steps=25 format=3]
|
||||
|
||||
[ext_resource type="Terrain3DAssets" path="res://terrain/jajce/assets.tres" id="1_assets"]
|
||||
[ext_resource type="PackedScene" path="res://world/resource_nodes/ResourceNode.tscn" id="2_resource"]
|
||||
@@ -13,6 +13,7 @@
|
||||
[ext_resource type="PackedScene" path="res://world/jajce/WaterfallMist.tscn" id="11_mist"]
|
||||
[ext_resource type="PackedScene" path="res://world/jajce/ChimneySmoke.tscn" id="12_smoke"]
|
||||
[ext_resource type="Script" path="res://world/jajce/day_night_cycle.gd" id="13_daynight"]
|
||||
[ext_resource type="PackedScene" path="res://world/storage/StorageNode.tscn" id="14_storage"]
|
||||
|
||||
[sub_resource type="Terrain3DMaterial" id="Terrain3DMaterial_jajce"]
|
||||
_shader_parameters = {
|
||||
@@ -86,10 +87,6 @@ adjustment_brightness = 1.04
|
||||
adjustment_contrast = 1.03
|
||||
adjustment_saturation = 1.1
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="Material_pantry"]
|
||||
albedo_color = Color(0.5, 0.32, 0.2, 1)
|
||||
roughness = 0.85
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="Material_guard"]
|
||||
albedo_color = Color(0.55, 0.45, 0.35, 1)
|
||||
roughness = 0.8
|
||||
@@ -102,10 +99,6 @@ roughness = 0.82
|
||||
albedo_color = Color(0.35, 0.28, 0.22, 1)
|
||||
roughness = 0.88
|
||||
|
||||
[sub_resource type="BoxMesh" id="Mesh_pantry_base"]
|
||||
material = SubResource("Material_pantry")
|
||||
size = Vector3(1.6, 1.1, 1.6)
|
||||
|
||||
[sub_resource type="CylinderMesh" id="Mesh_guard_post"]
|
||||
material = SubResource("Material_guard")
|
||||
top_radius = 0.35
|
||||
@@ -253,14 +246,12 @@ resource_id = &"wood"
|
||||
initial_amount = 12.0
|
||||
yield_per_action = 3.0
|
||||
|
||||
[node name="LegacyActivityMarkers" type="Node3D" parent="."]
|
||||
[node name="StorageSites" type="Node3D" parent="WorldObjects"]
|
||||
|
||||
[node name="PantryMarker" type="Marker3D" parent="LegacyActivityMarkers"]
|
||||
[node name="VillagePantry" parent="WorldObjects/StorageSites" instance=ExtResource("14_storage")]
|
||||
position = Vector3(0, 0, -8)
|
||||
|
||||
[node name="PantryVisual" type="MeshInstance3D" parent="LegacyActivityMarkers/PantryMarker"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.55, 0)
|
||||
mesh = SubResource("Mesh_pantry_base")
|
||||
[node name="LegacyActivityMarkers" type="Node3D" parent="."]
|
||||
|
||||
[node name="GuardZone" type="Marker3D" parent="LegacyActivityMarkers"]
|
||||
position = Vector3(0, 0, 8)
|
||||
|
||||
Reference in New Issue
Block a user