several changes.

This commit is contained in:
pennyrigate 2024-07-07 14:45:47 -04:00
parent 72f84c88a5
commit 198c669b41
19 changed files with 57 additions and 117 deletions

View file

@ -93,9 +93,9 @@ func play_shard_sound():
var r = 0
if Game.deaths == 0:
if Game.shards == 4:
r = randi() % 100
r = 40
else:
r = randi() % 90
r = 40
if r <= 30: play_sound(a_good_job_penny,ac_shard)
if r > 30 && r <= 60: play_sound(a_good_job_haze,ac_shard)
if r > 60 && r <= 90: play_sound(a_good_job_ivy,ac_shard)
@ -117,9 +117,9 @@ func great_job():
ac_music.set_stream_paused(true)
ac_pause_music.set_stream_paused(true)
if Game.deaths == 0:
r = randi() % 100
r = 40
else:
r = randi() % 90
r = 40
if r <= 30: play_sound(a_great_job_penny,ac_shard)
if r > 30 && r <= 60: play_sound(a_great_job_haze,ac_shard)
if r > 60 && r <= 90: play_sound(a_great_job_ivy,ac_shard)

View file

@ -171,7 +171,7 @@ scene = ExtResource( 9 )
resource_name = "Fami's Lab"
script = ExtResource( 5 )
title = "Fami's Lab"
shard_titles = [ "Jump the Spike", "Final Obstacle Course", "5-Finger Discount", "Partners in law", "5 Rainbow Stars", "Collection Bonus", "Time Bonus", "Life Bonus" ]
shard_titles = [ "Spikes Can't Stop You", "Final Obstacle Course", "5-Finger Discount", "Good Job!", "5 Rainbow Stars", "Collection Bonus", "Time Bonus", "Life Bonus" ]
save_id = "lab"
shards_required = 0
shards_required_easy = 0