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=15 format=4 uid="uid://r5d74jsx8tq6"]
[gd_scene load_steps=18 format=4 uid="uid://r5d74jsx8tq6"]
[ext_resource type="Script" uid="uid://bee0bhxtd4r8s" path="res://src/npc/Stele.cs" id="1_4nuqd"]
[ext_resource type="Texture2D" uid="uid://35g2bx4vh3wd" path="res://src/map/assets/Steles/Steles_IMG0031.png" id="1_6obim"]
[ext_resource type="Script" uid="uid://dcqssoikr3pl7" path="res://src/npc/Npc.cs" id="1_ochsp"]
[ext_resource type="Texture2D" uid="uid://c8nvb5jn8f6k1" path="res://src/map/assets/Steles/Steles_Untitled-1.png" id="2_ochsp"]
[ext_resource type="Texture2D" uid="uid://bwelhd4sx7mkw" path="res://src/map/assets/Steles/Steles_COPPEROX.jpg" id="3_4nuqd"]
[ext_resource type="Texture2D" uid="uid://cqcjbeoghy70" path="res://src/items/special/textures/Flower.png" id="5_4nuqd"]
@@ -120,8 +120,44 @@ radius = 1.21191
height = 4.34136
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="SteleB" type="Node3D"]
script = ExtResource("1_ochsp")
script = ExtResource("1_4nuqd")
[node name="Steles_" type="Node3D" parent="."]
@@ -171,6 +207,12 @@ shape = SubResource("CylinderShape3D_jdh7s")
[node name="FLOWER" type="Sprite3D" parent="."]
transform = Transform3D(0.363695, 0.343112, 3.26848e-08, -0.137431, 0.145675, 0.458139, 0.314387, -0.333246, 0.200271, 0, 0.36902, 0.90642)
visible = false
transparency = 1.0
shaded = true
texture = ExtResource("5_4nuqd")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
unique_name_in_owner = true
libraries = {
&"": SubResource("AnimationLibrary_6ihe1")
}