Centralize Hunter interface strings and verify mobile HUD
This commit is contained in:
1 parent
16a359d4af
commit
c88c3501b3
21 files changed
+752
-336
No files matched your search
@@ -1,4 +1,6 @@
|
||||
--!strict
|
||||
local Text = require(game:GetService("ReplicatedStorage"):WaitForChild("Hunter"):WaitForChild("Strings") :: ModuleScript).interface.ProceduralArena
|
||||
|
||||
local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
||||
local ServerStorage = game:GetService("ServerStorage")
|
||||
local Mobility = require(ReplicatedStorage:WaitForChild("ArenaMobility") :: ModuleScript)
|
||||
@@ -54,16 +56,16 @@ assert(jumpArt and #boostArt > 0, "Arena mobility templates are missing")
|
||||
table.sort(boostArt, function(a, b) return a.model.Name < b.model.Name end)
|
||||
|
||||
local keeps = {
|
||||
{name = "Бастионы", roofHalfZ = 23, wingX = 12, width = 32, depth = 18, balconyX = -12},
|
||||
{name = "Галереи", roofHalfZ = 20, wingX = 0, width = 46, depth = 25, balconyX = 0},
|
||||
{name = "Террасы", roofHalfZ = 27, wingX = -14, width = 24, depth = 13, balconyX = 17},
|
||||
{name = Text.bastiony, roofHalfZ = 23, wingX = 12, width = 32, depth = 18, balconyX = -12},
|
||||
{name = Text.galerei, roofHalfZ = 20, wingX = 0, width = 46, depth = 25, balconyX = 0},
|
||||
{name = Text.terrasy, roofHalfZ = 27, wingX = -14, width = 24, depth = 13, balconyX = 17},
|
||||
}
|
||||
local tunnels = {
|
||||
{name = "Парные тоннели", openings = {{x = -37, width = 21}, {x = 37, width = 21}}},
|
||||
{name = "Тоннель со смещением", openings = {{x = -25, width = 27}}},
|
||||
{name = "Три прохода", openings = {{x = -49, width = 17}, {x = 0, width = 21}, {x = 49, width = 17}}},
|
||||
{name = Text.parnyeTonneli, openings = {{x = -37, width = 21}, {x = 37, width = 21}}},
|
||||
{name = Text.tonnelSoSmescheniem, openings = {{x = -25, width = 27}}},
|
||||
{name = Text.triProkhoda, openings = {{x = -49, width = 17}, {x = 0, width = 21}, {x = 49, width = 17}}},
|
||||
}
|
||||
local rampPlans = {"Боковые подъёмы", "Торцевые подъёмы", "Угловые подъёмы"}
|
||||
local rampPlans = {Text.bokovyePodYomy, Text.tortsevyePodYomy, Text.uglovyePodYomy}
|
||||
local recentProfiles: {string} = {}
|
||||
|
||||
local function profileKey(plan: Plan): string
|
||||
@@ -199,7 +201,7 @@ local function base(layout: Layout, parent: Folder, side: string, rotation: CFra
|
||||
text.Size, text.BackgroundTransparency = UDim2.fromScale(1, 1), 1
|
||||
text.Font, text.TextSize = Enum.Font.GothamBlack, 19
|
||||
text.TextColor3, text.TextStrokeTransparency = color, .2
|
||||
text.Text = if blue then "БАЗА СИНИХ" else "БАЗА ОРАНЖЕВЫХ"
|
||||
text.Text = if blue then Text.bazaSinikh else Text.bazaOranzhevykh
|
||||
text.Parent = sign
|
||||
|
||||
local points: {Vector3} = {}
|
||||
|
||||
Reference in new issue
Block a user