Centralize Hunter interface strings and verify mobile HUD

This commit is contained in:
Leshyi committed 2026-11-30 01:35:03 +05:00
1 parent 16a359d4af
commit c88c3501b3
21 files changed
+752 -336

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@ local Types = require(script.Parent.Types)
local HotPoint = require(script.Parent.Parent.HotPoint)
local Sites = require(script.Parent.Parent.ArenaObjectiveSites)
local Strings = require(game.ReplicatedStorage.Hunter.Strings)
local Text = Strings.interface.Common
type Side = Types.Side
type Fighter = Types.Fighter
export type Marker = HotPoint.Marker & {recolor: ((Color3) -> ())?}
@@ -94,7 +95,7 @@ end
local function makeZone(folder: Folder, geometry: RaycastParams, site: Sites.Site, name: string, radius: number?, tint: Color3?): Zone
local r = radius or HotPoint.Radius
local center, fits = Sites.clearCircle(site.position, geometry, r)
if radius and not fits then warn("Нет свободного места для рубежа:", site.name) end
if radius and not fits then warn(Text.netSvobodnogoMestaDlya, site.name) end
site = {name = site.name, position = center}
return {site = site, marker = ring(folder, name, site.name, center, tint or neutral, r), owner = nil, claiming = nil, progress = 0}
end