Files
seeding-planets/entities/interactable_3d/lift/lift.tscn
Zacharie Guet 76707171fa Amélioration QOL et fix divers pour l'alpha-1.1
* Ajout des icônes dans les descriptions des mutations
* QOL sur la fonctionnalité de drop d'item
* Ajout des contrôles dans le tutoriel
* Réécriture des dialogues d'intro et d'échec
* Changements mineurs sur des dialogues et traduction
* Les graines apparaissent avec déjà une mutation
* Limitation du Talion autour de la station de recharge
* Fix de l'ascenseur dans la base Astra
* Ajout d'un effet visuel quand il n'y a plus d'énergie
* Le nombre de graine apparrait désormais dans l'inspécteur de plantes
* Ajout d'un petit icône de progrès de durée de vie de la plante au survol
* Ajout d'une description de la signification des icônes dans le menu pause
* La mutation éphémère réduit désormais la durée de vie de 1
2026-03-13 11:40:31 +01:00

82 lines
3.1 KiB
Plaintext

[gd_scene format=3 uid="uid://ch8m1rohg5d33"]
[ext_resource type="Script" uid="uid://bj4d1x8n8ina" path="res://entities/interactable_3d/interactable_3d.gd" id="1_werxl"]
[ext_resource type="Texture2D" uid="uid://eug5icp6t1h3" path="res://common/icons/arrow-narrow-up.svg" id="2_cun7v"]
[ext_resource type="PackedScene" uid="uid://dcbtr1sx2edj1" path="res://entities/interactable_3d/lift/assets/3d/lift.blend" id="3_x56sx"]
[sub_resource type="BoxShape3D" id="BoxShape3D_werxl"]
size = Vector3(0.9637451, 1.8898926, 1)
[sub_resource type="CylinderShape3D" id="CylinderShape3D_werxl"]
height = 0.2268219
radius = 1.0737305
[sub_resource type="Animation" id="Animation_0mfvw"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(1, 0.99999994, 0.99999994)]
}
[sub_resource type="Animation" id="Animation_xa016"]
resource_name = "hover"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite3D:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector3(1, 0.99999994, 0.99999994), Vector3(1.5, 1.5, 1.5), Vector3(1, 0.99999994, 0.99999994)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_0mfvw"]
_data = {
&"RESET": SubResource("Animation_0mfvw"),
&"hover": SubResource("Animation_xa016")
}
[node name="Lift" type="Area3D" unique_id=1854388434 node_paths=PackedStringArray("hover_animation_player")]
script = ExtResource("1_werxl")
interactable = false
hover_animation_player = NodePath("HoverAnimationPlayer")
[node name="Sprite3D" type="Sprite3D" parent="." unique_id=1624930927]
transform = Transform3D(-4.2294918e-08, 0.17856175, 0.9839286, 7.805184e-09, 0.9839286, -0.17856175, -1, 1.2749e-10, -4.3008885e-08, -0.8393693, 1.5452437, 0)
texture = ExtResource("2_cun7v")
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=525472594]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.1801186, 1.1958501, 0)
shape = SubResource("BoxShape3D_werxl")
[node name="Model" parent="." unique_id=1852940735 instance=ExtResource("3_x56sx")]
[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=11561025]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2593379, 0)
light_color = Color(0.717588, 0.45361686, 0.5535787, 1)
shadow_enabled = true
[node name="RigidBody3D" type="RigidBody3D" parent="." unique_id=618737753]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.26774597, 1.1958501, 0)
gravity_scale = 0.0
freeze = true
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D" unique_id=1756356716]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.33335906, -1.2537155, 0)
shape = SubResource("CylinderShape3D_werxl")
[node name="HoverAnimationPlayer" type="AnimationPlayer" parent="." unique_id=487483897]
libraries/ = SubResource("AnimationLibrary_0mfvw")