Boss fight rewards now update team inventory

This commit is contained in:
2024-06-12 08:48:21 -04:00
parent 4312c044d3
commit ee6fa21177
16 changed files with 534 additions and 228 deletions

22
Root.gd
View File

@@ -3,10 +3,10 @@ extends Control
# Called when the node enters the scene tree for the first time.
func _ready():
for file_name in files_to_copy:
copy_file_if_not_exists(file_name)
#for file_name in files_to_copy:
#copy_file_if_not_exists(file_name)
pass
#User Data copy if needed
var files_to_copy = [
"MemberDatabase/memberData.json",
@@ -58,14 +58,14 @@ func _process(delta):
Global.globalDamageMultiplier = totalDamageMultiplier
#Get the current status of any screens needed
var teamScreen = get_node(Global.teamScreenPath)
teamScreen.visible = Global.teamScreenVisible
var teamSelection = get_node(Global.teamSelectionPath)
teamSelection.visible = Global.teamSelectionVisible
var bossScreen = get_node(Global.bossSelectionPath)
bossScreen.visible = Global.bossScreenVisible
#var teamScreen = get_node(Global.teamScreenPath)
#teamScreen.visible = Global.teamScreenVisible
#
#var teamSelection = get_node(Global.teamSelectionPath)
#teamSelection.visible = Global.teamSelectionVisible
#
#var bossScreen = get_node(Global.bossSelectionPath)
#bossScreen.visible = Global.bossScreenVisible
func damageEngineCalc():