[gd_scene load_steps=10 format=3 uid="uid://do5j7vqrviv48"] [ext_resource type="Script" path="res://scene/entity/normal.gd" id="1_thex5"] [ext_resource type="SpriteFrames" uid="uid://c3s8u4ifaucpj" path="res://config/animation/entity_sprite_frames.tres" id="3_3rf47"] [ext_resource type="Script" path="res://scene/entity/ux/sign.gd" id="3_4nd6g"] [ext_resource type="Texture2D" uid="uid://dvg6wjwn1qxiv" path="res://asset/art/ui/action_mark/探索ui.png" id="3_thqpp"] [ext_resource type="Texture2D" uid="uid://t526pexw4ng4" path="res://asset/art/neutral_point_light.webp" id="4_3ohmd"] [ext_resource type="Script" path="res://manager/deploy/entity/animated_sound_sprite_2d.gd" id="4_bsxot"] [sub_resource type="GDScript" id="GDScript_ngryc"] script/source = "class_name EntityConfig extends Resource # class EntityStateConfig: # extends Resource # var animation: String = \"\" # var scale: Vector2 = Vector2.ONE # var offset: Vector2 = Vector2.ZERO # var expected_duration: float = 1.0 # for placeholder demo only # var loop: bool = false # set with animation # var sound: String = \"\" # bind to animation @export var entity_name: String = \"\" @export var entity_title: String = \"\" # @export var entity_notes := [] as Array[String] # @export var hud_texture: Texture2D # @export var pickable := false @export var inspection_texture: Texture2D @export var inspection_note: String = \"\" @export var inspection_gameplay: PackedScene # @export var offset := Vector2.ZERO # @export var scale := Vector2.ONE # @export var physical_vibe_effect: PackedScene # @export var hud_thumbnail := \"\" # searched by entity_name # @export var entity_state_inspection: EntityStateConfig @export var placeholder_size := Vector2(32, 64) " [sub_resource type="Resource" id="Resource_w82oj"] script = SubResource("GDScript_ngryc") entity_name = "placeholder" entity_title = "" inspection_note = "" placeholder_size = Vector2(32, 64) [sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"] resource_local_to_scene = true size = Vector2(33, 43) [node name="Normal" type="Sprite2D"] script = ExtResource("1_thex5") entity_config = SubResource("Resource_w82oj") [node name="Sign" type="Sprite2D" parent="."] unique_name_in_owner = true position = Vector2(0, -35) scale = Vector2(0.2, 0.2) texture = ExtResource("3_thqpp") script = ExtResource("3_4nd6g") [node name="PointLight2D" type="PointLight2D" parent="Sign"] unique_name_in_owner = true position = Vector2(0, -2.54313e-05) energy = 0.1 texture = ExtResource("4_3ohmd") texture_scale = 0.5 [node name="AnimatedSoundSprite2D" type="AnimatedSprite2D" parent="."] unique_name_in_owner = true visible = false sprite_frames = ExtResource("3_3rf47") script = ExtResource("4_bsxot") [node name="InteractArea2D" type="Area2D" parent="."] unique_name_in_owner = true collision_layer = 0 [node name="CollisionShape2D" type="CollisionShape2D" parent="InteractArea2D"] unique_name_in_owner = true shape = SubResource("RectangleShape2D_4fuic")