123
This commit is contained in:
1 parent
1bb038816b
commit
57ba58f0ca
8 files changed
+180
-164
No files matched your search
@@ -226,6 +226,8 @@ local SOFT_EDGES = NumberSequence.new({
|
||||
NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.18, 0.62),
|
||||
NumberSequenceKeypoint.new(0.82, 0.62), NumberSequenceKeypoint.new(1, 1),
|
||||
})
|
||||
-- жирный округлый шрифт с кириллицей (у FredokaOne кириллицы нет — Roblox подставляет тонкий шрифт)
|
||||
local HINT_FONT = Font.new("rbxasset://fonts/families/Nunito.json", Enum.FontWeight.Heavy)
|
||||
-- плашка-дымка (Frame) с текстом внутри; градиент только на плашке, на текст он не действует
|
||||
local function softPlate(props, textProps)
|
||||
local plate = new("Frame", props)
|
||||
@@ -234,11 +236,13 @@ local function softPlate(props, textProps)
|
||||
corner(30).Parent = plate
|
||||
new("UIGradient", { Transparency = SOFT_EDGES, Parent = plate })
|
||||
new("UIPadding", { PaddingLeft = UDim.new(0, 48), PaddingRight = UDim.new(0, 48), Parent = plate })
|
||||
local d = { Size = UDim2.fromScale(0, 1), AutomaticSize = Enum.AutomaticSize.X, Font = TITLE, TextXAlignment = Enum.TextXAlignment.Center, Parent = plate }
|
||||
local d = { Size = UDim2.fromScale(0, 1), AutomaticSize = Enum.AutomaticSize.X, TextXAlignment = Enum.TextXAlignment.Center, Parent = plate }
|
||||
for k, v in pairs(textProps) do
|
||||
d[k] = v
|
||||
end
|
||||
return plate, text(d)
|
||||
local label = text(d)
|
||||
label.FontFace = HINT_FONT
|
||||
return plate, label
|
||||
end
|
||||
local function popIn(obj, from)
|
||||
local sc = obj:FindFirstChildOfClass("UIScale") or new("UIScale", { Parent = obj })
|
||||
@@ -362,7 +366,7 @@ end
|
||||
-- вверху, на месте подсказки обучения (она во время рыбалки скрыта)
|
||||
local statusLabel = softPlate(
|
||||
{ Size = UDim2.fromOffset(0, 64), AutomaticSize = Enum.AutomaticSize.X, AnchorPoint = Vector2.new(0.5, 0), Position = UDim2.new(0.5, 0, 0, 12), Visible = false, Parent = gui },
|
||||
{ TextSize = 36, Text = "🎣 Ждём поклёвку… (клик — смотать)" }
|
||||
{ TextSize = 36, Text = "🎣 Ждём клёв…" }
|
||||
)
|
||||
wobble(statusLabel, 1.2, 1.4)
|
||||
local mgFrame = new("Frame", {
|
||||
@@ -972,7 +976,7 @@ robuxWin.render = function(tab)
|
||||
buttonText = has and "Куплено ✓" or ("R$ " .. it.robux), buttonColor = has and C.grey or C.green, active = not has,
|
||||
onClick = function()
|
||||
if not it.id or it.id == 0 then
|
||||
notify("Товар ещё не настроен: впиши его ID в FishConfig", Color3.fromRGB(255, 200, 120))
|
||||
notify("⚙ Товар не настроен", Color3.fromRGB(255, 200, 120))
|
||||
return
|
||||
end
|
||||
if tab == "passes" then
|
||||
@@ -1634,7 +1638,7 @@ local function advanceTutorial(step)
|
||||
guideStep = step
|
||||
remote:FireServer("Tutorial", step)
|
||||
if step >= Config.TutorialDone then
|
||||
notify("🎓 Обучение пройдено! Дальше — сам: лови, улучшай удочку, открывай миры", C.gold)
|
||||
notify("🎓 Обучение пройдено!", C.gold)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1766,11 +1770,11 @@ end
|
||||
local function guideRoute(step, pos, world)
|
||||
local inW1 = world and world.id == "World1"
|
||||
if step == 0 and not world then
|
||||
return { guideMarker("GuideBoard") }, "📋 Прочитай табличку «Как играть»", "Board"
|
||||
return { guideMarker("GuideBoard") }, "📋 Прочитай табличку", "Board"
|
||||
elseif not world then -- шаги 1–3 из лобби: сначала в портал
|
||||
return { guideMarker("GuidePortal") }, "🌊 Иди в портал «Тихое озеро»", "Portal"
|
||||
return { guideMarker("GuidePortal") }, "🌊 Иди в портал", "Portal"
|
||||
elseif step == 2 and inW1 then
|
||||
return { guideMarker("GuideFishSpot") }, "🎣 Иди на причал, зажми ЛКМ и отпусти — заброс!", "Pier"
|
||||
return { guideMarker("GuideFishSpot") }, "🎣 Зажми ЛКМ у воды", "Pier"
|
||||
elseif step == 3 and inW1 then
|
||||
local route = {}
|
||||
local rel = pos - W1
|
||||
@@ -1778,7 +1782,7 @@ local function guideRoute(step, pos, world)
|
||||
table.insert(route, W1 + Vector3.new(0, 4.5, 84)) -- сначала сойти с причала
|
||||
end
|
||||
table.insert(route, guideMarker("GuideSell"))
|
||||
return route, "💰 Продай рыбу в скупке", "Sell"
|
||||
return route, "💰 Продай рыбу", "Sell"
|
||||
end
|
||||
return nil
|
||||
end
|
||||
@@ -1922,7 +1926,7 @@ remote.OnClientEvent:Connect(function(action, a, b, c)
|
||||
advanceTutorial(Config.TutorialDone)
|
||||
end
|
||||
floatText("+" .. fmt(a) .. " 💰", C.gold)
|
||||
notify(("Продано рыб: %d → +%s 💰"):format(b, fmt(a)), Color3.fromRGB(120, 255, 140))
|
||||
notify(("💰 +%s"):format(fmt(a)), Color3.fromRGB(120, 255, 140))
|
||||
elseif action == "Inventory" then
|
||||
inventory = a or {}
|
||||
discovered = b or {}
|
||||
|
||||
Reference in new issue
Block a user