Separate Stele concept from Npc

This commit is contained in:
2026-06-04 23:38:59 -07:00
parent d8b99e07de
commit bb46f0dcd9
11 changed files with 420 additions and 52 deletions
@@ -1,7 +1,7 @@
[gd_scene load_steps=14 format=4 uid="uid://d6pjtdg6wh38"]
[gd_scene load_steps=17 format=4 uid="uid://d6pjtdg6wh38"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_38s7d"]
[ext_resource type="Texture2D" uid="uid://br0vjonsyq32m" path="res://src/map/assets/Steles/Steles_ALUMPLAT.jpg" id="1_hc3bc"]
[ext_resource type="Script" uid="uid://bee0bhxtd4r8s" path="res://src/npc/Stele.cs" id="1_y65cn"]
[ext_resource type="Texture2D" uid="uid://cqcjbeoghy70" path="res://src/items/special/textures/Flower.png" id="3_y65cn"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a85ng"]
@@ -123,8 +123,44 @@ radius = 0.709473
height = 2.24425
radius = 1.941
[sub_resource type="Animation" id="Animation_hrxn4"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FLOWER:transparency")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [1.0]
}
[sub_resource type="Animation" id="Animation_flixp"]
resource_name = "fade_in"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("FLOWER:transparency")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [1.0, 0.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_6ihe1"]
_data = {
&"RESET": SubResource("Animation_hrxn4"),
&"fade_in": SubResource("Animation_flixp")
}
[node name="SteleF" type="Node3D"]
script = ExtResource("1_38s7d")
script = ExtResource("1_y65cn")
[node name="Steles_" type="Node3D" parent="."]
@@ -179,6 +215,12 @@ shape = SubResource("CylinderShape3D_sma6b")
[node name="FLOWER" type="Sprite3D" parent="."]
transform = Transform3D(0.363695, 0.343112, 1.17177e-08, -0.212973, 0.225749, 0.39202, 0.269014, -0.285151, 0.310355, 0, 0.0524253, 0.687786)
visible = false
transparency = 1.0
shaded = true
texture = ExtResource("3_y65cn")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_6ihe1")
}