fix: attempted to remove tools. bug: now the game won't load.

This commit is contained in:
tiger tiger tiger 2025-12-08 18:30:02 +01:00
parent 7d299c8ddf
commit 796878b0ab
25 changed files with 58 additions and 72 deletions

View File

@ -4,7 +4,7 @@
[ext_resource type="FontFile" uid="uid://bdkb43smt08c0" path="res://import/fonts/Ubuntu-B.ttf" id="2_q6nhe"]
[sub_resource type="GDScript" id="GDScript_80ahk"]
script/source = "@tool
script/source = "
extends Node2D
@export var current_station: Scenes.id = Scenes.id.ADULT_DND:

View File

@ -5,7 +5,7 @@
[ext_resource type="Texture2D" uid="uid://bewykr0twbplg" path="res://base-environments/transition/import/textures/LateralTren_baseColor_upscayl_2x_realesrgan-x4plus-anime.png" id="5_6pwip"]
[sub_resource type="GDScript" id="GDScript_6pwip"]
script/source = "@tool
script/source = "
extends Node3D
@export var door_open: bool:

View File

@ -6,7 +6,7 @@
[ext_resource type="ArrayMesh" uid="uid://f5fr2e5gq313" path="res://base-environments/youth_room/shaders/fairy_light_diode.res" id="4_qh8yy"]
[sub_resource type="GDScript" id="GDScript_2caij"]
script/source = "@tool
script/source = "
extends Node3D
@export var light_array: Array[Vector3]:

View File

@ -3,7 +3,7 @@
[ext_resource type="PackedScene" uid="uid://c2uf5vwe2rdbd" path="res://base-environments/youth_room/import/cheeky-city.glb" id="1_yckvd"]
[sub_resource type="GDScript" id="GDScript_bfd5g"]
script/source = "@tool
script/source = "
extends Node3D
@export var light_energy:float = 0:

View File

@ -1,4 +1,3 @@
@tool
extends CenterContainer
signal text_finished

View File

@ -4,12 +4,12 @@
[ext_resource type="Texture2D" uid="uid://dp1bv446sk2xf" path="res://addons/kenney_particle_pack/flare_01.png" id="2_ipdak"]
[sub_resource type="GDScript" id="GDScript_w4p0y"]
script/source = "@tool
script/source = "
extends Node3D
var has_stage
@export_tool_button(\"Play Chest Animation\") var play_action = play_chest_animation
#@export_tool_button(\"Play Chest Animation\") var play_action = play_chest_animation
func _ready() -> void:
if not Engine.is_editor_hint():

View File

@ -1,10 +1,9 @@
@tool
class_name ThemedButton extends Button
@export_tool_button("Rebuild") var rebuild_action = rebuild
@onready var side_decor: CompressedTexture2D = load("res://import/interface-elements/button_active.png")
@onready var top_corner_decor: CompressedTexture2D = load("res://import/interface-elements/top_corner.png")
@onready var lower_corner_decor: CompressedTexture2D = load("res://import/interface-elements/lower_corner.png")
#@export_tool_button("Rebuild") var rebuild_action := rebuild
@onready var side_decor := load("res://import/interface-elements/button_active.png")
@onready var top_corner_decor := load("res://import/interface-elements/top_corner.png")
@onready var lower_corner_decor := load("res://import/interface-elements/lower_corner.png")
func _ready() -> void:
rebuild()

View File

@ -18,7 +18,7 @@ fill_from = Vector2(0.499433, 0.470085)
fill_to = Vector2(0.23814, 0.858974)
[sub_resource type="GDScript" id="GDScript_2ph0d"]
script/source = "@tool
script/source = "
extends Sprite2D
var flame_progression: float = 0

View File

@ -1,4 +1,3 @@
@tool
extends TextureRect
@export var textures: Dictionary[String, Texture] = {}

View File

@ -1,4 +1,3 @@
@tool
class_name SaveGame extends Resource
var _is_initialised: bool = false

View File

@ -1,4 +1,3 @@
@tool
extends Area2D
class_name Card

View File

@ -1,4 +1,3 @@
@tool
class_name StickyNotePanel
extends Panel

View File

@ -1,5 +1,3 @@
@tool
extends Area2D
class_name StickyNote

View File

@ -1,4 +1,3 @@
@tool
class_name ChatMessage extends Resource
@export_multiline var text: String = ""

View File

@ -1,4 +1,3 @@
@tool
class_name ChatView extends ScrollContainer
@export var messages: Array[ChatMessage]

View File

@ -1,8 +1,7 @@
@tool
extends CenterContainer
class_name Collectable_Ui
@export var scene:Scenes.id = 0
@export var scene:Scenes.id = 0 as Scenes.id
@export var collapsed = true:
set(collapse):

View File

@ -5,7 +5,7 @@
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="3_63j61"]
[sub_resource type="GDScript" id="GDScript_g0qhf"]
script/source = "@tool
script/source = "
extends Button
func hide():

View File

@ -1,4 +1,3 @@
@tool
class_name CollectableUi extends CenterContainer
@export var has_stage: bool = false:

View File

@ -1,4 +1,3 @@
@tool
class_name SaveGameDisplay extends Button
var _is_built: bool = false

View File

@ -1,4 +1,3 @@
@tool
class_name SaveGameHandle extends CenterContainer
signal picked(save_game: SaveGame)
@ -72,8 +71,9 @@ func _on_game_picked(id: int):
if saves[id].current_room == 0:
picked.emit(id)
else:
$Popup.show()
pass
#picked.emit(id)
#$Popup.show() #FIXME: This popup is missing
else:
picked.emit(id)

View File

@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://16y8yg750rxm" path="res://logic-scenes/main menu/video_settings.gd" id="1_sii8g"]
[sub_resource type="GDScript" id="GDScript_24hb5"]
script/source = "@tool
script/source = "
extends SpinBox
func reset():

View File

@ -182,4 +182,3 @@ func transition(scene_id: Scenes.id, _repeat):
Scenes.end_current_sequence()
else:
State.pass_stage_to(current_room)

View File

@ -446,6 +446,8 @@ grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("8_o0cpj")
saves = null
update_display = null
metadata/_custom_type_script = "uid://dugfwcvp7i01k"
[node name="CenterContainer" type="CenterContainer" parent="."]

View File

@ -1,4 +1,3 @@
@tool
class_name MenuSetting extends Resource
enum Receivers {

View File

@ -1,4 +1,3 @@
@tool
extends Node
#region configuration