feat: add structured economic events
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://dhxxyprqflotq"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://dhxxyprqflotq"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bha8uf40p3sa0" path="res://player/npc/NpcVisual.gd" id="1_ixfoq"]
|
||||
|
||||
@@ -12,6 +12,15 @@ albedo_color = Color(1, 0.22352941, 1, 1)
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_d844k"]
|
||||
material = SubResource("StandardMaterial3D_d844k")
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_food"]
|
||||
albedo_color = Color(0.38, 0.22, 0.08, 1)
|
||||
roughness = 0.9
|
||||
|
||||
[sub_resource type="SphereMesh" id="SphereMesh_food"]
|
||||
material = SubResource("StandardMaterial3D_food")
|
||||
radius = 0.28
|
||||
height = 0.48
|
||||
|
||||
[node name="NpcVisual" type="CharacterBody3D"]
|
||||
collision_layer = 2
|
||||
collision_mask = 1
|
||||
@@ -29,6 +38,11 @@ mesh = SubResource("CapsuleMesh_d844k")
|
||||
transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.35, 0, 1.2, 0.59052056)
|
||||
mesh = SubResource("BoxMesh_d844k")
|
||||
|
||||
[node name="CarriedFood" type="MeshInstance3D" parent="."]
|
||||
visible = false
|
||||
transform = Transform3D(0.75, 0, 0, 0, 0.75, 0, 0, 0, 0.75, 0.48, 0.7, 0)
|
||||
mesh = SubResource("SphereMesh_food")
|
||||
|
||||
[node name="NavigationAgent3D" type="NavigationAgent3D" parent="."]
|
||||
path_desired_distance = 0.3
|
||||
target_desired_distance = 0.5
|
||||
|
||||
Reference in New Issue
Block a user