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:
parent
1411dae640
commit
0e32c7d475
@ -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)
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user