2024-10-17 16:50:40 -06:00
|
|
|
# signal bus to relay signals
|
|
|
|
extends Node
|
|
|
|
|
2024-10-18 13:24:11 -06:00
|
|
|
|
2024-10-20 16:44:08 -06:00
|
|
|
signal enemy_died(
|
|
|
|
npcDifficulty: NPC.NPCDifficulty,
|
|
|
|
npcTier: NPC.NPCTier,
|
|
|
|
faction: Globals.World.Faction,
|
|
|
|
)
|
2024-10-24 08:46:36 -06:00
|
|
|
signal enemy_damaged_player(damage : int)
|
2024-10-21 09:51:28 -06:00
|
|
|
signal quest_generated(quest: Quest)
|
|
|
|
signal quest_completed
|
2024-10-21 11:22:38 -06:00
|
|
|
signal area_continue_pressed()
|
2024-10-21 17:02:53 -06:00
|
|
|
|
|
|
|
|
|
|
|
func _dummy_func() -> void:
|
2024-10-25 22:22:13 -06:00
|
|
|
# to get rid of the unused signal warnings
|
2024-10-21 17:02:53 -06:00
|
|
|
enemy_died.emit()
|
|
|
|
enemy_damaged_player.emit()
|
|
|
|
quest_generated.emit()
|
|
|
|
quest_completed.emit()
|
|
|
|
area_continue_pressed.emit()
|