This commit is contained in:
betalars 2025-02-06 19:11:05 +01:00
parent 3322248384
commit 9b70ea60d3
1 changed files with 146 additions and 187 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=129 format=4 uid="uid://b3b0gyvklqn50"] [gd_scene load_steps=127 format=4 uid="uid://b3b0gyvklqn50"]
[ext_resource type="Script" path="res://base-environments/youth_room/room_handle.gd" id="1_aitp0"] [ext_resource type="Script" path="res://base-environments/youth_room/room_handle.gd" id="1_aitp0"]
[ext_resource type="PackedScene" uid="uid://c0i4ydmxtxfho" path="res://base-environments/youth_room/import/youth_room.glb" id="1_jf3oi"] [ext_resource type="PackedScene" uid="uid://c0i4ydmxtxfho" path="res://base-environments/youth_room/import/youth_room.glb" id="1_jf3oi"]
@ -25,11 +25,9 @@
[ext_resource type="PackedScene" uid="uid://c3l8tm8ku50vt" path="res://base-environments/youth_room/scnees/childhood.tscn" id="12_viwxf"] [ext_resource type="PackedScene" uid="uid://c3l8tm8ku50vt" path="res://base-environments/youth_room/scnees/childhood.tscn" id="12_viwxf"]
[ext_resource type="Texture2D" uid="uid://bqilajx05t0eb" path="res://logic-scenes/board/particle_textures/void_nomotion.png" id="12_xnele"] [ext_resource type="Texture2D" uid="uid://bqilajx05t0eb" path="res://logic-scenes/board/particle_textures/void_nomotion.png" id="12_xnele"]
[ext_resource type="Texture2D" uid="uid://d005qvnbnishb" path="res://import/interface-elements/cursor_grab.png" id="13_lqj71"] [ext_resource type="Texture2D" uid="uid://d005qvnbnishb" path="res://import/interface-elements/cursor_grab.png" id="13_lqj71"]
[ext_resource type="PackedScene" uid="uid://dvwuhobhka78d" path="res://logic-scenes/misc/skip_control.tscn" id="15_7nc4e"]
[ext_resource type="PackedScene" uid="uid://brk4hjdf2x81a" path="res://logic-scenes/card_picker/card_picker.tscn" id="19_a4n1o"] [ext_resource type="PackedScene" uid="uid://brk4hjdf2x81a" path="res://logic-scenes/card_picker/card_picker.tscn" id="19_a4n1o"]
[ext_resource type="PackedScene" uid="uid://cgwuoc1jfi7w6" path="res://base-environments/youth_room/scnees/draven.tscn" id="19_d3c7p"] [ext_resource type="PackedScene" uid="uid://cgwuoc1jfi7w6" path="res://base-environments/youth_room/scnees/draven.tscn" id="19_d3c7p"]
[ext_resource type="ArrayMesh" uid="uid://bfc3d4g40n0wy" path="res://logic-scenes/collectable/import/old-mask.res" id="19_jr2bb"] [ext_resource type="ArrayMesh" uid="uid://bfc3d4g40n0wy" path="res://logic-scenes/collectable/import/old-mask.res" id="19_jr2bb"]
[ext_resource type="FontFile" uid="uid://b231f0liphck" path="res://import/fonts/AtkinsonHyperlegible-Regular.ttf" id="20_pyf88"]
[ext_resource type="PackedScene" uid="uid://dwtxjvprjyx8p" path="res://base-environments/youth_room/lava-lamp.tscn" id="21_0k2gr"] [ext_resource type="PackedScene" uid="uid://dwtxjvprjyx8p" path="res://base-environments/youth_room/lava-lamp.tscn" id="21_0k2gr"]
[ext_resource type="AudioStream" uid="uid://bghjiqkyehs1p" path="res://base-environments/youth_room/import/sounds/rain and thunder.mp3" id="22_xrkbj"] [ext_resource type="AudioStream" uid="uid://bghjiqkyehs1p" path="res://base-environments/youth_room/import/sounds/rain and thunder.mp3" id="22_xrkbj"]
[ext_resource type="PackedScene" uid="uid://bpjympn3ps3wo" path="res://logic-scenes/luna/luna_imported.tscn" id="27_pb1jl"] [ext_resource type="PackedScene" uid="uid://bpjympn3ps3wo" path="res://logic-scenes/luna/luna_imported.tscn" id="27_pb1jl"]
@ -1041,7 +1039,7 @@ tracks/2/type = "value"
tracks/2/imported = false tracks/2/imported = false
tracks/2/enabled = true tracks/2/enabled = true
tracks/2/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer:scroll_vertical") tracks/2/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer:scroll_vertical")
tracks/2/interp = 2 tracks/2/interp = 1
tracks/2/loop_wrap = true tracks/2/loop_wrap = true
tracks/2/keys = { tracks/2/keys = {
"times": PackedFloat32Array(78.1, 81, 148.1, 152, 155.7, 155.8, 158.009), "times": PackedFloat32Array(78.1, 81, 148.1, 152, 155.7, 155.8, 158.009),
@ -1053,7 +1051,7 @@ tracks/3/type = "value"
tracks/3/imported = false tracks/3/imported = false
tracks/3/enabled = true tracks/3/enabled = true
tracks/3/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer:mouse_filter") tracks/3/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer:mouse_filter")
tracks/3/interp = 1 tracks/3/interp = 0
tracks/3/loop_wrap = true tracks/3/loop_wrap = true
tracks/3/keys = { tracks/3/keys = {
"times": PackedFloat32Array(0, 90), "times": PackedFloat32Array(0, 90),
@ -1085,39 +1083,25 @@ tracks/5/keys = {
"update": 0, "update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)] "values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
} }
tracks/6/type = "method" tracks/6/type = "value"
tracks/6/imported = false tracks/6/imported = false
tracks/6/enabled = true tracks/6/enabled = true
tracks/6/path = NodePath(".") tracks/6/path = NodePath("ScenePlayer/jui_jutsu:visible")
tracks/6/interp = 1 tracks/6/interp = 0
tracks/6/loop_wrap = true tracks/6/loop_wrap = true
tracks/6/keys = { tracks/6/keys = {
"times": PackedFloat32Array(177.8),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"_on_childhood_done"
}]
}
tracks/7/type = "value"
tracks/7/imported = false
tracks/7/enabled = true
tracks/7/path = NodePath("ScenePlayer/jui_jutsu:visible")
tracks/7/interp = 1
tracks/7/loop_wrap = true
tracks/7/keys = {
"times": PackedFloat32Array(0, 206.7), "times": PackedFloat32Array(0, 206.7),
"transitions": PackedFloat32Array(1, 1), "transitions": PackedFloat32Array(1, 1),
"update": 1, "update": 1,
"values": [true, false] "values": [true, false]
} }
tracks/8/type = "audio" tracks/7/type = "audio"
tracks/8/imported = false tracks/7/imported = false
tracks/8/enabled = true tracks/7/enabled = true
tracks/8/path = NodePath("ScenePlayer/Jui_Jutsu") tracks/7/path = NodePath("ScenePlayer/Jui_Jutsu")
tracks/8/interp = 1 tracks/7/interp = 1
tracks/8/loop_wrap = true tracks/7/loop_wrap = true
tracks/8/keys = { tracks/7/keys = {
"clips": [{ "clips": [{
"end_offset": 0.0, "end_offset": 0.0,
"start_offset": 0.0, "start_offset": 0.0,
@ -1125,122 +1109,122 @@ tracks/8/keys = {
}], }],
"times": PackedFloat32Array(3) "times": PackedFloat32Array(3)
} }
tracks/8/use_blend = true tracks/7/use_blend = true
tracks/8/type = "value"
tracks/8/imported = false
tracks/8/enabled = true
tracks/8/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer/Label:visible_characters")
tracks/8/interp = 1
tracks/8/loop_wrap = true
tracks/8/keys = {
"times": PackedFloat32Array(0.7, 2.5, 4.2, 8.59882, 11.202, 17.9, 22.9, 28.4866, 34.1, 40.7, 44.6, 50, 53.9237, 58.9, 63.2334, 71.5, 75.5, 79.8, 84.7, 88.7, 91.9227, 98.6, 102.972, 106, 106.8, 109.1, 110.3, 114.8, 117.385, 120.6, 121.989, 125.4, 128.512, 136.313, 143.8, 149.7, 153, 156.2, 160.1, 163, 170.3, 175.771, 182.9, 183.9, 184.6, 188.4, 189.567, 195.1, 198.112, 201),
"transitions": PackedFloat32Array(0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 1, 0.287175, 0.965937, 0.287175, 0.287175, 0.287175, 0.287175, 1, 1, 0.287175, 0.287175, 0.287175, 0.517633, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175),
"update": 0,
"values": [0, 43, 43, 110, 110, 275, 275, 360, 508, 540, 540, 648, 648, 735, 735, 1024, 1091, 1091, 1162, 1279, 1279, 1434, 1434, 1452, 1452, 1483, 1483, 1596, 1596, 1647, 1647, 1698, 1698, 1788, 1906, 2061, 2061, 2101, 2150, 2150, 2229, 2313, 2352, 2357, 2363, 2411, 2411, 2503, 2503, 2540]
}
tracks/9/type = "value" tracks/9/type = "value"
tracks/9/imported = false tracks/9/imported = false
tracks/9/enabled = true tracks/9/enabled = true
tracks/9/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/VBoxContainer/ScrollContainer/Label:visible_characters") tracks/9/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:emitting")
tracks/9/interp = 1 tracks/9/interp = 1
tracks/9/loop_wrap = true tracks/9/loop_wrap = true
tracks/9/keys = { tracks/9/keys = {
"times": PackedFloat32Array(0.7, 2.5, 4.2, 8.59882, 11.202, 17.9, 22.9, 28.4866, 34.1, 40.7, 44.6, 50, 53.9237, 58.9, 63.2334, 71.5, 75.5, 79.8, 84.7, 88.7, 91.9227, 98.6, 102.972, 106, 106.8, 109.1, 110.3, 114.8, 117.385, 120.6, 121.989, 125.4, 128.512, 136.313, 143.8, 149.7, 153, 156.2, 160.1, 163, 170.3, 175.771, 182.9, 183.9, 184.6, 188.4, 189.5, 195.1, 198.112, 201),
"transitions": PackedFloat32Array(0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 1, 0.287175, 0.965937, 0.287175, 0.287175, 0.287175, 0.287175, 1, 1, 0.287175, 0.287175, 0.287175, 0.517633, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175, 0.287175),
"update": 0,
"values": [0, 43, 43, 110, 110, 275, 275, 360, 508, 540, 540, 648, 648, 735, 735, 1024, 1091, 1091, 1162, 1279, 1279, 1434, 1434, 1452, 1452, 1483, 1483, 1596, 1596, 1647, 1647, 1698, 1698, 1790, 1906, 2061, 2061, 2101, 2150, 2150, 2229, 2313, 2352, 2357, 2363, 2412, 2412, 2503, 2503, 2540]
}
tracks/10/type = "value"
tracks/10/imported = false
tracks/10/enabled = true
tracks/10/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:emitting")
tracks/10/interp = 1
tracks/10/loop_wrap = true
tracks/10/keys = {
"times": PackedFloat32Array(0, 5.8, 11.3, 18.2, 26.1, 34.4, 43.7, 53.2, 65.1, 75.7, 93), "times": PackedFloat32Array(0, 5.8, 11.3, 18.2, 26.1, 34.4, 43.7, 53.2, 65.1, 75.7, 93),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1, "update": 1,
"values": [false, true, true, true, true, true, true, true, true, true, true] "values": [false, true, true, true, true, true, true, true, true, true, true]
} }
tracks/11/type = "value" tracks/10/type = "value"
tracks/11/imported = false tracks/10/imported = false
tracks/11/enabled = true tracks/10/enabled = true
tracks/11/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:amount") tracks/10/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:amount")
tracks/11/interp = 1 tracks/10/interp = 1
tracks/11/loop_wrap = true tracks/10/loop_wrap = true
tracks/11/keys = { tracks/10/keys = {
"times": PackedFloat32Array(4, 11.1, 18, 25.9, 34.2, 43.5, 53, 65, 75.6, 92.1), "times": PackedFloat32Array(4, 11.1, 18, 25.9, 34.2, 43.5, 53, 65, 75.6, 92.1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1, "update": 1,
"values": [1, 10, 20, 40, 80, 180, 160, 320, 400, 500] "values": [1, 10, 20, 40, 80, 180, 160, 320, 400, 500]
} }
tracks/12/type = "value" tracks/11/type = "value"
tracks/12/imported = false tracks/11/imported = false
tracks/12/enabled = true tracks/11/enabled = true
tracks/12/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite:noise_speed") tracks/11/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite:noise_speed")
tracks/12/interp = 1 tracks/11/interp = 1
tracks/12/loop_wrap = true tracks/11/loop_wrap = true
tracks/12/keys = { tracks/11/keys = {
"times": PackedFloat32Array(2, 129.7, 149.1, 167.15), "times": PackedFloat32Array(2, 129.7, 149.1, 167.15),
"transitions": PackedFloat32Array(0.482968, 1.86607, 1, 1), "transitions": PackedFloat32Array(0.482968, 1.86607, 1, 1),
"update": 0, "update": 0,
"values": [0.0, 10.0, 5.0, 10.0] "values": [0.0, 10.0, 5.0, 10.0]
} }
tracks/13/type = "value" tracks/12/type = "value"
tracks/13/imported = false tracks/12/imported = false
tracks/13/enabled = true tracks/12/enabled = true
tracks/13/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:one_shot") tracks/12/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:one_shot")
tracks/13/interp = 1 tracks/12/interp = 1
tracks/13/loop_wrap = true tracks/12/loop_wrap = true
tracks/13/keys = { tracks/12/keys = {
"times": PackedFloat32Array(0, 93), "times": PackedFloat32Array(0, 93),
"transitions": PackedFloat32Array(1, 1), "transitions": PackedFloat32Array(1, 1),
"update": 1, "update": 1,
"values": [true, false] "values": [true, false]
} }
tracks/14/type = "value" tracks/13/type = "value"
tracks/14/imported = false tracks/13/imported = false
tracks/14/enabled = true tracks/13/enabled = true
tracks/14/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:lifetime") tracks/13/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:lifetime")
tracks/14/interp = 1 tracks/13/interp = 1
tracks/14/loop_wrap = true tracks/13/loop_wrap = true
tracks/14/keys = { tracks/13/keys = {
"times": PackedFloat32Array(93, 129.9, 136.6, 164.8), "times": PackedFloat32Array(93, 129.9, 136.6, 164.8),
"transitions": PackedFloat32Array(1, 0.31864, 2.21914, 1), "transitions": PackedFloat32Array(1, 0.31864, 2.21914, 1),
"update": 0, "update": 0,
"values": [5.0, 1.5, 4.0, 2.0] "values": [5.0, 1.5, 4.0, 2.0]
} }
tracks/15/type = "value" tracks/14/type = "value"
tracks/15/imported = false tracks/14/imported = false
tracks/15/enabled = true tracks/14/enabled = true
tracks/15/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:explosiveness") tracks/14/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:explosiveness")
tracks/15/interp = 1 tracks/14/interp = 1
tracks/15/loop_wrap = true tracks/14/loop_wrap = true
tracks/15/keys = { tracks/14/keys = {
"times": PackedFloat32Array(96.3, 129.9, 136.6, 159.5, 176.7), "times": PackedFloat32Array(96.3, 129.9, 136.6, 159.5, 176.7),
"transitions": PackedFloat32Array(1, 0.31864, 1, 0.406126, 1), "transitions": PackedFloat32Array(1, 0.31864, 1, 0.406126, 1),
"update": 0, "update": 0,
"values": [0.29, 0.69, 0.74, 0.9, 0.2] "values": [0.29, 0.69, 0.74, 0.9, 0.2]
} }
tracks/16/type = "value" tracks/15/type = "value"
tracks/16/imported = false tracks/15/imported = false
tracks/16/enabled = true tracks/15/enabled = true
tracks/16/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:speed_scale") tracks/15/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite/GPUParticles2D:speed_scale")
tracks/16/interp = 1 tracks/15/interp = 1
tracks/16/loop_wrap = true tracks/15/loop_wrap = true
tracks/16/keys = { tracks/15/keys = {
"times": PackedFloat32Array(105.6, 129.8, 150.5, 164.7), "times": PackedFloat32Array(105.6, 129.8, 150.5, 164.7),
"transitions": PackedFloat32Array(1, 0.466516, 1, 1), "transitions": PackedFloat32Array(1, 0.466516, 1, 1),
"update": 0, "update": 0,
"values": [1.0, 1.9, 0.4, 1.0] "values": [1.0, 1.9, 0.4, 1.0]
} }
tracks/17/type = "value" tracks/16/type = "value"
tracks/17/imported = false tracks/16/imported = false
tracks/17/enabled = true tracks/16/enabled = true
tracks/17/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite:noise_power") tracks/16/path = NodePath("ScenePlayer/jui_jutsu/PanelContainer/card/BackgroundSprite:noise_power")
tracks/17/interp = 1 tracks/16/interp = 1
tracks/17/loop_wrap = true tracks/16/loop_wrap = true
tracks/17/keys = { tracks/16/keys = {
"times": PackedFloat32Array(8.4, 93.4, 129.7, 159.4, 169.4), "times": PackedFloat32Array(8.4, 93.4, 129.7, 159.4, 169.4),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1), "transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0, "update": 0,
"values": [5.0, 2.0, 0.3, 0.3, 1.5] "values": [5.0, 2.0, 0.3, 0.3, 1.5]
} }
tracks/18/type = "method" tracks/17/type = "method"
tracks/18/imported = false tracks/17/imported = false
tracks/18/enabled = true tracks/17/enabled = true
tracks/18/path = NodePath("ScenePlayer") tracks/17/path = NodePath("ScenePlayer")
tracks/18/interp = 1 tracks/17/interp = 1
tracks/18/loop_wrap = true tracks/17/loop_wrap = true
tracks/18/keys = { tracks/17/keys = {
"times": PackedFloat32Array(204.5), "times": PackedFloat32Array(204.5),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"values": [{ "values": [{
@ -1412,6 +1396,17 @@ script/source = "extends AnimationPlayer
var has_stage var has_stage
var is_repeating = false var is_repeating = false
func _ready() -> void:
Scenes.scene_finished.connect(scene_finished)
# FIXME: this needs to be made prettier.
$draven.finished.connect(on_draeven_done)
$childhood.finished.connect(on_childhood_done)
$draven.intro.connect(func(): play(\"intro\"))
for id in range(Scenes.id.YOUTH_DRAEVEN, Scenes.id.YOUTH_JUI_JUTSU+1):
Scenes.sign_up_for_sequence(play_scene, id, 0)
func start_soundtrack(): func start_soundtrack():
$Moving.play(70) $Moving.play(70)
$Childhood.play(70) $Childhood.play(70)
@ -1419,17 +1414,11 @@ func start_soundtrack():
func play_scene(id: int, repeat = false): func play_scene(id: int, repeat = false):
get_tree().call_group(\"interactables\", \"collapse\") get_tree().call_group(\"interactables\", \"collapse\")
State.pass_stage_to(self, false, true)
is_repeating = repeat is_repeating = repeat
Input.mouse_mode = Input.MOUSE_MODE_HIDDEN Input.mouse_mode = Input.MOUSE_MODE_HIDDEN
match id: match id:
Scenes.id.YOUTH_CHILDHOOD: Scenes.id.YOUTH_CHILDHOOD:
match TranslationServer.get_locale(): $childhood.play_scene()
\"de\":
play(\"childhood_de\")
_:
play(\"childhood\")
$childhood.story_array = $childhood.story_array
Scenes.id.YOUTH_VOICE_TRAINING: Scenes.id.YOUTH_VOICE_TRAINING:
play(\"voice training\") play(\"voice training\")
Scenes.id.YOUTH_JUI_JUTSU: Scenes.id.YOUTH_JUI_JUTSU:
@ -1443,27 +1432,36 @@ func _on_ini_room():
pass pass
func on_childhood_done(): func on_childhood_done():
get_tree().call_group(\"scene_actors\", \"scene_finished\", Scenes.id.YOUTH_CHILDHOOD, is_repeating) Scenes.continue_sequence(self)
$childhood.hide() $childhood.hide()
func on_voice_training_done(): func on_voice_training_done():
get_tree().call_group(\"scene_actors\", \"scene_finished\", Scenes.id.YOUTH_VOICE_TRAINING, is_repeating) Scenes.continue_sequence(self)
$\"Voice Training\".hide() $\"Voice Training\".hide()
func on_jui_jutsu_done(): func on_jui_jutsu_done():
get_tree().call_group(\"scene_actors\", \"scene_finished\", Scenes.id.YOUTH_JUI_JUTSU, is_repeating) Scenes.continue_sequence(self)
$jui_jutsu.hide() $jui_jutsu.hide()
func on_draeven_done(): func on_draeven_done():
get_tree().call_group(\"scene_actors\", \"scene_finished\", Scenes.id.YOUTH_DRAEVEN, is_repeating) Scenes.continue_sequence(self)
$draven.hide() $draven.hide()
queue(\"intro\")
func scene_finished(_id): func scene_finished(_id: int, _repeat: bool):
queue(\"RESET\") queue(\"RESET\")
" "
[sub_resource type="GDScript" id="GDScript_ppg3l"]
script/source = "extends Label
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
if TranslationServer.get_locale() == \"en\":
hide()
"
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_foovg"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_foovg"]
radius = 110.0 radius = 110.0
height = 336.0 height = 336.0
@ -1585,18 +1583,6 @@ scale_curve = SubResource("CurveTexture_cg0w1")
color_ramp = SubResource("GradientTexture1D_xxq8p") color_ramp = SubResource("GradientTexture1D_xxq8p")
turbulence_noise_strength = 0.1 turbulence_noise_strength = 0.1
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mlcq6"]
bg_color = Color(0.82, 0.785013, 0.2952, 1)
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color(0.82, 0.785013, 0.2952, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="BoxShape3D" id="BoxShape3D_cb3g8"] [sub_resource type="BoxShape3D" id="BoxShape3D_cb3g8"]
size = Vector3(1.81843, 2.13395, 0.0774798) size = Vector3(1.81843, 2.13395, 0.0774798)
@ -1842,21 +1828,20 @@ var base_energy = light_energy
var litnes: float = float(lit) var litnes: float = float(lit)
func _ready(): func _ready():
if not lit: light_energy = 0 if not lit: light_energy = 0
func _process(delta): func _process(delta):
spot += speed*delta spot += speed*delta
light_energy = base_energy * (1 + noise.get_noise_1d(spot) * strength) * litnes light_energy = base_energy * (1 + noise.get_noise_1d(spot) * strength) * litnes
secondary_light.light_energy = light_energy/16 secondary_light.light_energy = light_energy/16
func switch_on(): func switch_on():
var tween:Tween = create_tween() var tween:Tween = create_tween()
tween.tween_property(self, \"litnes\", 1, 10) tween.tween_property(self, \"litnes\", 1, 10)
func switch_off(): func switch_off():
var tween:Tween = create_tween() var tween:Tween = create_tween()
tween.tween_property(self, \"litnes\", 0, 1) tween.tween_property(self, \"litnes\", 0, 1)
" "
[sub_resource type="Animation" id="Animation_hqls1"] [sub_resource type="Animation" id="Animation_hqls1"]
@ -1960,15 +1945,15 @@ _data = {
[sub_resource type="GDScript" id="GDScript_5ot1o"] [sub_resource type="GDScript" id="GDScript_5ot1o"]
script/source = "extends AnimationPlayer script/source = "extends AnimationPlayer
func _on_ini_room(): func _ready() -> void:
pass Scenes.scene_finished.connect(lights_on)
#play(\"light_up\") Scenes.scene_starting.connect(lights_off)
func play_scene(_id: int, _repeat): func lights_off(_id: int, _repeat: bool):
queue(\"lights_out\") queue(\"lights_out\")
func scene_finished(_id: int, _repeat): func lights_on(_id: int, _repeat: bool):
queue(\"light_up\") queue(\"light_up\")
" "
[sub_resource type="GDScript" id="GDScript_yn0pl"] [sub_resource type="GDScript" id="GDScript_yn0pl"]
@ -2078,7 +2063,8 @@ script/source = "extends WorldEnvironment
func _ready(): func _ready():
State.environment_settings_changed.connect(_on_environment_settings_update) State.environment_settings_changed.connect(_on_environment_settings_update)
focus_env() Scenes.scene_starting.connect(scene_starting)
Scenes.scene_finished.connect(scene_finished)
func focus_env(): func focus_env():
var dof_strength_tween: Tween = create_tween() var dof_strength_tween: Tween = create_tween()
@ -2091,10 +2077,10 @@ func focus_object():
var dof_strength_tween: Tween = create_tween() var dof_strength_tween: Tween = create_tween()
dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.4, 1) dof_strength_tween.tween_property(camera_attributes, \"dof_blur_amount\", 0.4, 1)
func play_scene(_id: int, _repeat): func scene_starting(_id: int, _repeat: bool):
focus_object() focus_object()
func _on_picker_cards_picked(_cards): func scene_finished(_id: int, _repeat: bool):
focus_env() focus_env()
func _on_environment_settings_update(): func _on_environment_settings_update():
@ -2170,6 +2156,7 @@ script = ExtResource("1_aitp0")
[node name="logic" type="Node3D" parent="."] [node name="logic" type="Node3D" parent="."]
[node name="PlayerController" parent="logic" groups=["camera_owner"] instance=ExtResource("3_foj4y")] [node name="PlayerController" parent="logic" groups=["camera_owner"] instance=ExtResource("3_foj4y")]
unique_name_in_owner = true
process_mode = 4 process_mode = 4
transform = Transform3D(0.686123, 0, 0.727485, 0, 1, 0, -0.727485, 0, 0.686123, 0.63, 0, 0.925) transform = Transform3D(0.686123, 0, 0.727485, 0, 1, 0, -0.727485, 0, 0.686123, 0.63, 0, 0.925)
@ -2393,7 +2380,6 @@ volume_db = -80.0
bus = &"music" bus = &"music"
[node name="childhood" parent="logic/ScenePlayer" instance=ExtResource("12_viwxf")] [node name="childhood" parent="logic/ScenePlayer" instance=ExtResource("12_viwxf")]
modulate = Color(1, 1, 1, 0)
[node name="VoiceTraining" type="AudioStreamPlayer" parent="logic/ScenePlayer"] [node name="VoiceTraining" type="AudioStreamPlayer" parent="logic/ScenePlayer"]
stream = ExtResource("10_wwwdq") stream = ExtResource("10_wwwdq")
@ -2430,6 +2416,7 @@ offset_top = 23.0
offset_right = 781.0 offset_right = 781.0
offset_bottom = 62.0 offset_bottom = 62.0
text = "Hey, hier gibt es leider noch keine deutsche Übersetzung." text = "Hey, hier gibt es leider noch keine deutsche Übersetzung."
script = SubResource("GDScript_ppg3l")
[node name="Panel" type="PanelContainer" parent="logic/ScenePlayer/Voice Training/PanelContainer/StartFrame"] [node name="Panel" type="PanelContainer" parent="logic/ScenePlayer/Voice Training/PanelContainer/StartFrame"]
show_behind_parent = true show_behind_parent = true
@ -2489,10 +2476,6 @@ texture = ExtResource("3_xqd4w")
expand_mode = 2 expand_mode = 2
stretch_mode = 4 stretch_mode = 4
[node name="skip_control2" parent="logic/ScenePlayer/Voice Training/PanelContainer" instance=ExtResource("15_7nc4e")]
layout_mode = 2
costum_owner = NodePath("../..")
[node name="Jui_Jutsu" type="AudioStreamPlayer" parent="logic/ScenePlayer"] [node name="Jui_Jutsu" type="AudioStreamPlayer" parent="logic/ScenePlayer"]
bus = &"music" bus = &"music"
@ -2519,6 +2502,15 @@ texture = ExtResource("2_21x33")
expand_mode = 2 expand_mode = 2
stretch_mode = 4 stretch_mode = 4
[node name="Label2" type="Label" parent="logic/ScenePlayer/jui_jutsu/PanelContainer/StartFrame"]
layout_mode = 2
offset_left = 226.0
offset_top = 22.0
offset_right = 794.0
offset_bottom = 61.0
text = "Hey, hier gibt es leider noch keine deutsche Übersetzung."
script = SubResource("GDScript_ppg3l")
[node name="Panel" type="PanelContainer" parent="logic/ScenePlayer/jui_jutsu/PanelContainer/StartFrame"] [node name="Panel" type="PanelContainer" parent="logic/ScenePlayer/jui_jutsu/PanelContainer/StartFrame"]
show_behind_parent = true show_behind_parent = true
layout_mode = 2 layout_mode = 2
@ -2627,31 +2619,6 @@ visible = false
scale = Vector2(0.4, 0.4) scale = Vector2(0.4, 0.4)
texture = ExtResource("12_xnele") texture = ExtResource("12_xnele")
[node name="skip_control3" parent="logic/ScenePlayer/jui_jutsu/PanelContainer" instance=ExtResource("15_7nc4e")]
layout_mode = 2
costum_owner = NodePath("../..")
[node name="Panel" type="PanelContainer" parent="logic/ScenePlayer/jui_jutsu"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_mlcq6")
[node name="RichTextLabel" type="RichTextLabel" parent="logic/ScenePlayer/jui_jutsu/Panel"]
layout_mode = 2
theme_override_colors/default_color = Color(0, 0, 0, 1)
theme_override_fonts/normal_font = ExtResource("20_pyf88")
theme_override_font_sizes/normal_font_size = 28
bbcode_enabled = true
text = "Hinweis für die USK-Prüfung!
Diese Szene wird auf der Messe deaktiviert sein.
Ich glaube zwar das ist immer noch angemessen
für USK-12 für ein finales Release, aber ungeeignet
für eine Messe-Umgebung, die kein Safer Space ist.
Ich will nicht Jugendliche, die ggf. durch das Spiel
eine Traumareaktion erleben, mitten in einer
Messehalle wieder beruhigen müssen."
fit_content = true
autowrap_mode = 0
[node name="draven" parent="logic/ScenePlayer" instance=ExtResource("19_d3c7p")] [node name="draven" parent="logic/ScenePlayer" instance=ExtResource("19_d3c7p")]
[node name="starlight_mesh" type="MeshInstance3D" parent="logic/ScenePlayer"] [node name="starlight_mesh" type="MeshInstance3D" parent="logic/ScenePlayer"]
@ -2743,8 +2710,7 @@ render_target_update_mode = 4
[node name="Collectable_ui" parent="logic/MaskMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")] [node name="Collectable_ui" parent="logic/MaskMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
visible = false visible = false
scene = 0 scene = 1
is_story = true
item_name = "my old Mask" item_name = "my old Mask"
content_notes = "conflicts, eating issues, alienation, swearing, ableism" content_notes = "conflicts, eating issues, alienation, swearing, ableism"
@ -2753,9 +2719,7 @@ shape = SubResource("CapsuleShape3D_72g2i")
[node name="ClothesMemento" type="Area3D" parent="logic" groups=["interactables"]] [node name="ClothesMemento" type="Area3D" parent="logic" groups=["interactables"]]
unique_name_in_owner = true unique_name_in_owner = true
process_mode = 4 transform = Transform3D(0.86043, 0, -0.509567, 0, 1, 0, 0.509567, 0, 0.86043, 1.36586, 1.17096, -0.636599)
transform = Transform3D(0.86043, 0, -0.509567, 0, 1, 0, 0.509567, 0, 0.86043, 2.49015, 1.17096, -2.35045)
visible = false
collision_layer = 16 collision_layer = 16
script = ExtResource("11_6fwv8") script = ExtResource("11_6fwv8")
@ -2784,8 +2748,7 @@ render_target_update_mode = 4
[node name="Collectable_ui" parent="logic/ClothesMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")] [node name="Collectable_ui" parent="logic/ClothesMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
visible = false visible = false
scene = 2 scene = 3
is_story = true
item_name = "Sport Clothes" item_name = "Sport Clothes"
content_notes = "Body Issues, gender Dysphoria, Relationships, Rape, dissociation, self-sabotaging thoughts, Fighting Sport, Swearing" content_notes = "Body Issues, gender Dysphoria, Relationships, Rape, dissociation, self-sabotaging thoughts, Fighting Sport, Swearing"
@ -2824,8 +2787,7 @@ render_target_update_mode = 4
[node name="Collectable_ui" parent="logic/ComicMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")] [node name="Collectable_ui" parent="logic/ComicMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
visible = false visible = false
scene = 1 scene = 2
is_story = true
item_name = "comic stash" item_name = "comic stash"
content_notes = "internalised mysoginy, genitals, bullying, fictional guns" content_notes = "internalised mysoginy, genitals, bullying, fictional guns"
@ -2867,7 +2829,6 @@ render_target_update_mode = 4
[node name="Collectable_ui" parent="logic/CeilingMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")] [node name="Collectable_ui" parent="logic/CeilingMemento/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
visible = false visible = false
scene = 3 scene = 3
is_story = true
collected = true collected = true
item_name = "Starlight" item_name = "Starlight"
content_notes = "Alienation" content_notes = "Alienation"
@ -2908,6 +2869,7 @@ render_target_update_mode = 4
[node name="Collectable_ui" parent="logic/MindBoard/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")] [node name="Collectable_ui" parent="logic/MindBoard/UiWrapper/UiSprite/SubViewport" instance=ExtResource("11_jxai0")]
visible = false visible = false
is_board = true
item_name = "Mind Board" item_name = "Mind Board"
[node name="HoverDetect" type="CollisionShape3D" parent="logic/MindBoard"] [node name="HoverDetect" type="CollisionShape3D" parent="logic/MindBoard"]
@ -3273,14 +3235,11 @@ light_array = Array[Vector3]([Vector3(-0.545, 0.915, 1.035), Vector3(-0.47, 0.85
[connection signal="body_exited" from="logic/Bed and Ladders/reset_failover" to="logic/PlayerController" method="_on_bed_exit"] [connection signal="body_exited" from="logic/Bed and Ladders/reset_failover" to="logic/PlayerController" method="_on_bed_exit"]
[connection signal="pressed" from="logic/UI/ending_button" to="logic/UI/ending_button" method="hide"] [connection signal="pressed" from="logic/UI/ending_button" to="logic/UI/ending_button" method="hide"]
[connection signal="pressed" from="logic/UI/ending_button" to="logic/UI/ending" method="show"] [connection signal="pressed" from="logic/UI/ending_button" to="logic/UI/ending" method="show"]
[connection signal="cards_picked" from="logic/UI/Picker" to="logic/UI/Board" method="populate_board"]
[connection signal="board_completed" from="logic/UI/Board" to="logic/UI/ending_button" method="show"] [connection signal="board_completed" from="logic/UI/Board" to="logic/UI/ending_button" method="show"]
[connection signal="skip" from="logic/ScenePlayer/Voice Training/PanelContainer/skip_control2" to="logic/ScenePlayer" method="on_voice_training_done"]
[connection signal="skip" from="logic/ScenePlayer/Voice Training/PanelContainer/skip_control2" to="logic/ScenePlayer" method="play" binds= ["RESET"]]
[connection signal="input_event" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_input_event"] [connection signal="input_event" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_input_event"]
[connection signal="mouse_entered" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_mouse_entered"] [connection signal="mouse_entered" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_mouse_entered"]
[connection signal="mouse_exited" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_mouse_exited"] [connection signal="mouse_exited" from="logic/ScenePlayer/jui_jutsu/PanelContainer/card" to="logic/ScenePlayer/jui_jutsu/PanelContainer/card" method="_on_mouse_exited"]
[connection signal="skip" from="logic/ScenePlayer/jui_jutsu/PanelContainer/skip_control3" to="logic/ScenePlayer" method="on_jui_jutsu_done"]
[connection signal="skip" from="logic/ScenePlayer/jui_jutsu/PanelContainer/skip_control3" to="logic/ScenePlayer" method="play" binds= ["RESET"]]
[connection signal="finished" from="logic/ScenePlayer/draven" to="logic/ScenePlayer" method="on_draeven_done"] [connection signal="finished" from="logic/ScenePlayer/draven" to="logic/ScenePlayer" method="on_draeven_done"]
[connection signal="input_event" from="logic/MaskMemento/UiWrapper" to="logic/MaskMemento/UiWrapper" method="_on_input_event"] [connection signal="input_event" from="logic/MaskMemento/UiWrapper" to="logic/MaskMemento/UiWrapper" method="_on_input_event"]
[connection signal="scene_skipped" from="logic/MaskMemento/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="logic/UI/Board" method="on_scene_skipped"] [connection signal="scene_skipped" from="logic/MaskMemento/UiWrapper/UiSprite/SubViewport/Collectable_ui" to="logic/UI/Board" method="on_scene_skipped"]