internationalized most menu text
This commit is contained in:
@@ -17,8 +17,6 @@ func enter_state() -> void:
|
||||
for x: int in hero.hand.contents.size():
|
||||
hero.discard_pile.add(hero.hand.remove_at(hero.hand.contents.size() - 1))
|
||||
hero.weapon_swap_timer.start()
|
||||
hero.hud.primary_duration.visible = false
|
||||
hero.hud.secondary_duration.visible = false
|
||||
hero.hud.energy_label.visible = false
|
||||
|
||||
|
||||
|
||||
@@ -305,10 +305,6 @@ func iterate_duration() -> void:
|
||||
if weapons[slot] == null:
|
||||
continue
|
||||
weapons[slot].duration -= 1
|
||||
if slot == 0:
|
||||
hud.primary_duration.text = "primary weapon rounds left = " + str(weapons[slot].duration)
|
||||
elif slot == 1:
|
||||
hud.secondary_duration.text = "secondary weapon rounds left = " + str(weapons[slot].duration)
|
||||
if weapons[slot].duration <= 0:
|
||||
unequip_weapon(slot)
|
||||
|
||||
@@ -388,10 +384,6 @@ func equip_weapon(slot: int = 0) -> void:
|
||||
weapons_spawn_count += 1
|
||||
weapons[slot].set_multiplayer_authority(multiplayer.get_unique_id())
|
||||
gauntlet_cards[slot].set_card(cards[slot])
|
||||
if slot == 0:
|
||||
hud.primary_duration.text = "primary weapon rounds left = " + str(weapons[slot].duration)
|
||||
elif slot == 1:
|
||||
hud.secondary_duration.text = "secondary weapon rounds left = " + str(weapons[slot].duration)
|
||||
if slot == 0:
|
||||
hud.place_icon.visible = false
|
||||
else:
|
||||
|
||||
@@ -271,6 +271,7 @@ size = Vector2i(1000, 40)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="Label" type="Label" parent="NametagViewport"]
|
||||
auto_translate_mode = 2
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
@@ -721,34 +722,6 @@ texture = ExtResource("26_dfkac")
|
||||
expand_mode = 3
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="weapon_duration" type="Label" parent="HUD"]
|
||||
visible = false
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.978
|
||||
anchor_top = 0.186
|
||||
anchor_right = 0.978
|
||||
anchor_bottom = 0.186
|
||||
offset_left = -103.0
|
||||
offset_bottom = 40.0
|
||||
grow_horizontal = 0
|
||||
text = "w1 = 0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="weapon_duration2" type="Label" parent="HUD"]
|
||||
visible = false
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.978
|
||||
anchor_top = 0.251
|
||||
anchor_right = 0.978
|
||||
anchor_bottom = 0.261
|
||||
offset_left = -103.0
|
||||
offset_bottom = 40.0
|
||||
grow_horizontal = 0
|
||||
text = "w2 = 0"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="selection_boxes" type="HBoxContainer" parent="HUD"]
|
||||
visible = false
|
||||
offset_left = 73.0
|
||||
|
||||
Reference in New Issue
Block a user