add goblin crowd birth control and mute button

This commit is contained in:
2024-07-06 03:27:39 +02:00
parent cba448ce24
commit 631f8ef6e7
12 changed files with 74 additions and 15 deletions

View File

@@ -32,9 +32,8 @@ func _on_death_finished():
queue_free()
func _on_Romance_area_entered(area):
if area.is_in_group("malegoblin"):
if randi() % 100 < 20:
$Romance/fight.play()
if randi() % 100 < 1:
$Romance/fight.play()
func _on_fight_finished():
queue_free()