This commit is contained in:
listik committed 2026-11-02 23:35:42 +03:00
1 parent 1bb038816b
commit 57ba58f0ca
8 files changed
+180 -164

No files matched your search

@@ -225,6 +225,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)
@@ -233,11 +235,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 })
@@ -361,7 +365,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", {
@@ -971,7 +975,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
@@ -1633,7 +1637,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
@@ -1765,11 +1769,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
@@ -1777,7 +1781,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
@@ -1921,7 +1925,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 {}