Add portable RV homes and decor prototype
This commit is contained in:
parent
81decf2b71
commit
fe099f47dd
56 changed files with 5459 additions and 112 deletions
35
world/interactables/decor_shop_world.tscn
Normal file
35
world/interactables/decor_shop_world.tscn
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://world/decor_shop_interaction.gd" id="1_shop"]
|
||||
[ext_resource type="PackedScene" path="res://art/exported/characters/base/straywild_base_character.glb" id="2_character"]
|
||||
[ext_resource type="Script" path="res://world/world_character_display.gd" id="3_display"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="InteractionShape"]
|
||||
resource_local_to_scene = true
|
||||
radius = 3.0
|
||||
|
||||
[node name="DecorShopWorld" type="Node3D"]
|
||||
|
||||
[node name="Shopkeeper" parent="." instance=ExtResource("2_character")]
|
||||
script = ExtResource("3_display")
|
||||
species_id = "round"
|
||||
fur_color_id = "orange"
|
||||
ears_id = "pointy_short"
|
||||
tail_id = "cat"
|
||||
eyes_id = "simple_shine"
|
||||
nose_id = "dog_round"
|
||||
mouth_id = "three"
|
||||
head_look_enabled = true
|
||||
|
||||
[node name="AnimationPlayer" parent="Shopkeeper"]
|
||||
autoplay = "idle"
|
||||
|
||||
[node name="InteractionArea" type="Area3D" parent="."]
|
||||
unique_name_in_owner = true
|
||||
position = Vector3(0, 1, -0.3)
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_shop")
|
||||
|
||||
[node name="InteractionShape" type="CollisionShape3D" parent="InteractionArea"]
|
||||
shape = SubResource("InteractionShape")
|
||||
|
|
@ -27,6 +27,8 @@ size = Vector3(1.62, 0.86, 1.02)
|
|||
radius = 2.3
|
||||
|
||||
[node name="PlayerStorageBox" type="Node3D"]
|
||||
process_mode = 4
|
||||
visible = false
|
||||
|
||||
[node name="Body" type="MeshInstance3D" parent="."]
|
||||
position = Vector3(0, 0.35, 0)
|
||||
|
|
@ -44,6 +46,7 @@ collision_mask = 0
|
|||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D"]
|
||||
position = Vector3(0, 0.43, 0)
|
||||
disabled = true
|
||||
shape = SubResource("CollisionShape")
|
||||
|
||||
[node name="InteractionArea" type="Area3D" parent="."]
|
||||
|
|
@ -54,6 +57,7 @@ collision_mask = 2
|
|||
script = ExtResource("1_interaction")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="InteractionArea"]
|
||||
disabled = true
|
||||
shape = SubResource("InteractionShape")
|
||||
|
||||
[node name="PromptAnchor" type="Marker3D" parent="."]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue