diff options
| author | nokoe <nokoe@mailbox.org> | 2024-07-07 14:51:20 +0200 |
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2024-07-07 14:51:20 +0200 |
| commit | cb595326f274a36f81252f2ded83f5bc36187950 (patch) | |
| tree | 7d2b4eb69dd635f4f90e9db1786c93796ad9b607 /client/map/items | |
| parent | 27f93d1352e91c2b82c0d2a92dd4d92bfebf9795 (diff) | |
| download | hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar.bz2 hurrycurry-cb595326f274a36f81252f2ded83f5bc36187950.tar.zst | |
add more sounds
Diffstat (limited to 'client/map/items')
| -rw-r--r-- | client/map/items/raw_steak_pot.gd | 11 | ||||
| -rw-r--r-- | client/map/items/sounds/frying.ogg | bin | 0 -> 83502 bytes | |||
| -rw-r--r-- | client/map/items/sounds/frying.ogg.import | 19 |
3 files changed, 29 insertions, 1 deletions
diff --git a/client/map/items/raw_steak_pot.gd b/client/map/items/raw_steak_pot.gd index 992554ea..437ba5de 100644 --- a/client/map/items/raw_steak_pot.gd +++ b/client/map/items/raw_steak_pot.gd @@ -18,4 +18,13 @@ extends Pot func _init(owned_by_: Node3D): super(owned_by_) - base.add_child(load("res://map/items/raw_steak.tscn").instantiate()) + base.add_child(preload("res://map/items/raw_steak.tscn").instantiate()) + +func progress(p: float, warn: bool): + super(p, warn) + if sound_id == null: + sound_id = Sound.item_progress( + self, + preload("res://map/items/sounds/frying.ogg"), + null + ) diff --git a/client/map/items/sounds/frying.ogg b/client/map/items/sounds/frying.ogg Binary files differnew file mode 100644 index 00000000..f28c2b5d --- /dev/null +++ b/client/map/items/sounds/frying.ogg diff --git a/client/map/items/sounds/frying.ogg.import b/client/map/items/sounds/frying.ogg.import new file mode 100644 index 00000000..c1a2f08d --- /dev/null +++ b/client/map/items/sounds/frying.ogg.import @@ -0,0 +1,19 @@ +[remap] + +importer="oggvorbisstr" +type="AudioStreamOggVorbis" +uid="uid://dwxmp68tcimxm" +path="res://.godot/imported/frying.ogg-753cdb19c878434ad9938a863ed9efd3.oggvorbisstr" + +[deps] + +source_file="res://map/items/sounds/frying.ogg" +dest_files=["res://.godot/imported/frying.ogg-753cdb19c878434ad9938a863ed9efd3.oggvorbisstr"] + +[params] + +loop=true +loop_offset=0.0 +bpm=0.0 +beat_count=0 +bar_beats=4 |