1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-20 03:29:47 +02:00

Rebrand to "PvP Shield"

This commit is contained in:
blubFisch 2022-10-07 08:55:25 +01:00
parent 1411dae640
commit 0e32c7d475
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ function Public.remove_zone(zone)
remove_drawn_borders(zone)
this.exclusion_zones[zone.force.name] = nil
zone.force.print("Your protection zone has expired")
zone.force.print("Your PvP Shield has expired", {r = 1, g = 0, b = 0})
end
local function vector_norm(vector)

View File

@ -374,7 +374,7 @@ local function update_protection_display()
local zone = this.exclusion_zones[town_center.market.force.name]
local info
if zone then
info = 'Protection: ' .. string.format("%.0f", (zone.lifetime_end - game.tick) / 60 / 60) .. ' minutes'
info = 'PvP Shield: ' .. string.format("%.0f", (zone.lifetime_end - game.tick) / 60 / 60) .. ' minutes'
else
info = ''
end
@ -529,7 +529,7 @@ local function found_town(event)
}
town_center.zone_text = rendering.draw_text {
text = 'Town protection: (..)',
text = 'PvP Shield: (..)',
surface = surface,
forces = {force_name},
target = town_center.market,