Skip to content

Commit

Permalink
Removed fart.
Browse files Browse the repository at this point in the history
No clue if I actually properly removed both all references to the sound file in the code and the file itself, but fingers pressed
  • Loading branch information
HarpagonFKowalski committed Aug 25, 2024
1 parent 5479b9f commit e94156f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 42 deletions.
3 changes: 0 additions & 3 deletions assets/audio/freesound_org/fart/license_CC_0.txt

This file was deleted.

Binary file not shown.
24 changes: 0 additions & 24 deletions assets/audio/freesound_org/fart/short_definite_fart.wav.import

This file was deleted.

12 changes: 0 additions & 12 deletions scenes/ui/version_container/version_container.gd
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
extends MarginContainer

@export var sfx_fart: AudioStream

@onready var theme_toggle_button: MarginContainer = %ThemeToggleButton
@onready var version_label: Label = %VersionLabel
@onready var version_button: Button = %VersionButton
Expand All @@ -12,7 +10,6 @@ extends MarginContainer


func _ready() -> void:
_connect_signals()
_load_from_save_file()


Expand All @@ -34,14 +31,5 @@ func _load_from_save_file() -> void:
#############


func _connect_signals() -> void:
owner.ready.connect(_on_owner_ready)
version_button.button_down.connect(_on_version_button_down)


func _on_owner_ready() -> void:
theme_toggle_button.toggle()


func _on_version_button_down() -> void:
Audio.play_sfx("fart", sfx_fart)
4 changes: 1 addition & 3 deletions scenes/ui/version_container/version_container.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[gd_scene load_steps=4 format=3 uid="uid://dn6hcp4hfxyic"]
[gd_scene load_steps=3 format=3 uid="uid://dn6hcp4hfxyic"]

[ext_resource type="Script" path="res://scenes/ui/version_container/version_container.gd" id="1_wrevx"]
[ext_resource type="AudioStream" uid="uid://c3ep4wqqo17ex" path="res://assets/audio/freesound_org/fart/short_definite_fart.wav" id="2_ve0o0"]
[ext_resource type="PackedScene" uid="uid://dic246sx4xjf6" path="res://scenes/ui/version_container/toggle_button/toggle_button.tscn" id="2_x8wem"]

[node name="SettingsContainer" type="MarginContainer"]
Expand All @@ -13,7 +12,6 @@ grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
script = ExtResource("1_wrevx")
sfx_fart = ExtResource("2_ve0o0")

[node name="Panel" type="Panel" parent="."]
visible = false
Expand Down

0 comments on commit e94156f

Please sign in to comment.