BING CHILLING FINALE FINALE COPY v2 4 real on god
This commit is contained in:
@@ -13,6 +13,7 @@ var currentCost : float = 0
|
||||
var currentStateIcon : Texture2D = null
|
||||
var allSpawnedMonsters : Dictionary = {}
|
||||
var currentSpawnedMonsters : Array = []
|
||||
var maxBludGen : float = 0
|
||||
@onready var menuZone : Control = $Camera2D/CanvasLayer/PlayerUI/MenuZone
|
||||
@onready var playerUI : Control = $Camera2D/CanvasLayer/PlayerUI
|
||||
@onready var enemy : Fabio = $"../Enemy"
|
||||
@@ -48,6 +49,8 @@ func add_monster(monster : TemplateSpawnable):
|
||||
currentSpawnedMonsters.append(monster)
|
||||
|
||||
currentBludGen += monster.BludGen
|
||||
if currentBludGen > maxBludGen:
|
||||
maxBludGen = currentBludGen
|
||||
playerUI.set_blud_gen(currentBludGen)
|
||||
|
||||
if !allSpawnedMonsters.has(monster.monsterName):
|
||||
|
||||
@@ -784,6 +784,23 @@ texture = ExtResource("6_vbucy")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="MaxBludGen" type="HBoxContainer" parent="TotalArmyComp/Separation"]
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 3
|
||||
size_flags_stretch_ratio = 0.25
|
||||
|
||||
[node name="BludGenLabel" type="Label" parent="TotalArmyComp/Separation/MaxBludGen"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("4_br77t")
|
||||
text = "Max Blood Gen: "
|
||||
|
||||
[node name="MaxBludGen" type="Label" parent="TotalArmyComp/Separation/MaxBludGen"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme = ExtResource("4_br77t")
|
||||
text = "0/s"
|
||||
|
||||
[node name="AmtKill" type="Label" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 144.0
|
||||
|
||||
Reference in New Issue
Block a user