From d83892326fb52b58d09e890ac8ca422078a444c7 Mon Sep 17 00:00:00 2001 From: Fulldroper <40297614+Fulldroper@users.noreply.github.com> Date: Tue, 13 Oct 2026 10:24:59 +0300 Subject: [PATCH] 0.14.1: plot borders are shown with the surveyor's tablet in hand, not the citizen guide The tablet is the land tool, so the borders of nearby plots belong with it. Tutorial lines and the tablet's tooltip say so. Co-Authored-By: Claude Opus 5.5 --- index.toml | 6 +++--- kubejs/client_scripts/createrp_plots.js | 6 +++--- kubejs/client_scripts/createrp_ponder.js | 4 ++-- kubejs/startup_scripts/createrp_items.js | 1 + pack.toml | 4 ++-- 5 files changed, 11 insertions(+), 10 deletions(-) diff --git a/index.toml b/index.toml index e8e1137..e396c11 100644 --- a/index.toml +++ b/index.toml @@ -818,11 +818,11 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f" [[files]] file = "kubejs/client_scripts/createrp_plots.js" -hash = "2a4686d252bd289fd99bde461bdfe3e2215cf35640f36e0610737730016ca2a0" +hash = "aa11368f0f4db4883e8231f6c4a65095af2c38377c9cca362726f14524f3d0eb" [[files]] file = "kubejs/client_scripts/createrp_ponder.js" -hash = "3bde91bbaaa243ebe556357eb68e0e0f21f48dff67f80a7e7d638b59c2d02f28" +hash = "9f862adad6c97ea4d1aba3f333a6f42bfc5fd921d2f960af365e293211492b39" [[files]] file = "kubejs/client_scripts/createrp_survey.js" @@ -830,7 +830,7 @@ hash = "5c170dc3cca31ab560eec9ca326116ee4f666ccd800a79a1c044c4b90f4f8288" [[files]] file = "kubejs/startup_scripts/createrp_items.js" -hash = "05f1daa03e00a7429c51a7d8239c8fde894f7faff64cbb6ca978956ca1810497" +hash = "049e902a9d12b5811f358d40a2a7e030968e34853cf83a957577cb4bc65d92ff" [[files]] file = "mods/3dskinlayers.pw.toml" diff --git a/kubejs/client_scripts/createrp_plots.js b/kubejs/client_scripts/createrp_plots.js index a10d067..b8d7b26 100644 --- a/kubejs/client_scripts/createrp_plots.js +++ b/kubejs/client_scripts/createrp_plots.js @@ -1,5 +1,5 @@ // Create RP — межі ділянок рамками в стилі Create. -// Показуються, поки в руці «Довідник громадянина» (усі ділянки поблизу), і кілька секунд після входу на ділянку +// Показуються, поки в руці «Планшет землеміра» (усі ділянки поблизу), і кілька секунд після входу на ділянку // (лише вона). Дані приходять із сервера каналом createrp_plots; малює Outliner, яким Create малює виділення. // Rhino: без const/let усередині циклів і try — лише var. @@ -18,7 +18,7 @@ const WALL_HALF = 1 / 16 // пів товщини стіни: у пло let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] } let rpByChunk = {} // "cx,cz" -> індекс у rpPlots -// державну землю при вході не підсвічуємо — її видно лише з довідником у руці +// державну землю при вході не підсвічуємо — її видно лише з планшетом землеміра в руці const RP_QUIET = { reserved: true, road: true, road_built: true, state_mine: true, state: true } let rpHere = '' let rpShowUntil = 0 @@ -84,7 +84,7 @@ function rpDraw () { for (var k = 0; k < cells.length; k++) if (cells[k][0] == cx && cells[k][1] == cz) { here = rpPlots[n].id; break } } if (here !== rpHere) { rpHere = here; if (here !== '') rpShowUntil = rpTick + SHOW_TICKS } - var holding = String(player.mainHandItem.id) === 'kubejs:citizen_guide' || String(player.offHandItem.id) === 'kubejs:citizen_guide' + var holding = String(player.mainHandItem.id) === 'kubejs:land_survey' || String(player.offHandItem.id) === 'kubejs:land_survey' if (!holding && rpTick >= rpShowUntil) return var outliner = RpOutliner.getInstance() for (var i = 0; i < rpPlots.length; i++) { diff --git a/kubejs/client_scripts/createrp_ponder.js b/kubejs/client_scripts/createrp_ponder.js index 9a13ad0..922e768 100644 --- a/kubejs/client_scripts/createrp_ponder.js +++ b/kubejs/client_scripts/createrp_ponder.js @@ -265,7 +265,7 @@ function landScene(scene, util) { say(scene, 70, 'Біля спавну й доріг дозволу не дають', [3.5, 2, 3.5], PonderPalette.RED) say(scene, 70, 'Бури Create теж копають лише з дозволом', [3.5, 2, 3.5]) - say(scene, 70, 'Візьми довідник у руку — побачиш межі ділянок', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) + say(scene, 70, 'Візьми планшет землеміра в руку — побачиш межі ділянок', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) say(scene, 70, 'Блакитна межа — твоя, сіра — чужа, червона — державна', [2.5, 2.5, 2.5]) say(scene, 70, 'Дорога: помаранчева — ще будується, синя — готова', [2.5, 2.5, 2.5]) } @@ -359,7 +359,7 @@ function roadsScene(scene, util) { scene.idle(10) say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true) say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка Create', [2.5, 1.5, 2.5]) - say(scene, 70, 'Недобудовані дороги видно з довідником у руці', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) + say(scene, 70, 'Недобудовані дороги видно з планшетом землеміра в руці', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) say(scene, 70, 'Помаранчева межа — тут ще треба мостити', [2.5, 2.5, 2.5]) say(scene, 80, 'Гроші за всі твої блоки — коли дорогу приймуть', [2.5, 2.5, 2.5], PonderPalette.GREEN) say(scene, 70, 'Готова дорога стає синьою', [2.5, 2.5, 2.5]) diff --git a/kubejs/startup_scripts/createrp_items.js b/kubejs/startup_scripts/createrp_items.js index e50eb9d..c394a27 100644 --- a/kubejs/startup_scripts/createrp_items.js +++ b/kubejs/startup_scripts/createrp_items.js @@ -17,4 +17,5 @@ StartupEvents.registry('item', event => { .maxStackSize(1) .tooltip('§7ПКМ по землі — кут території, ще раз — другий кут') .tooltip('§7Третій ПКМ — оформити · Shift+ПКМ — скинути') + .tooltip('§7У руці — видно межі ділянок поруч') }) diff --git a/pack.toml b/pack.toml index 1f0beca..a3a004b 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "Create RP" author = "Pinecraft-CreateRP" -version = "0.14.0" +version = "0.14.1" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "72430bb5e5eb2314ea356938ef1df42244645ccc1380c2502839c6c651a6cec3" +hash = "b3c0cb9c62ef91eeb45ee62166e0f644a4a52892b3b3c1c1c80733d7983cf40a" [versions] minecraft = "1.21.1"