From 71406c6df6bde652c8200dc7133f5c662df7ca9b Mon Sep 17 00:00:00 2001 From: Fulldroper <40297614+Fulldroper@users.noreply.github.com> Date: Sat, 10 Oct 2026 06:54:41 +0300 Subject: [PATCH] =?UTF-8?q?0.8.0:=20tutorial=20=E2=80=94=20miner=20and=20f?= =?UTF-8?q?actory=20operator=20scenes,=20auctions,=20drills=20need=20a=20c?= =?UTF-8?q?oncession?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- index.toml | 2 +- kubejs/client_scripts/createrp_ponder.js | 70 +++++++++++++++++++++++- pack.toml | 4 +- 3 files changed, 72 insertions(+), 4 deletions(-) diff --git a/index.toml b/index.toml index 4caf48e..5837b25 100644 --- a/index.toml +++ b/index.toml @@ -814,7 +814,7 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f" [[files]] file = "kubejs/client_scripts/createrp_ponder.js" -hash = "15e39779356b37faa17b99f628de5c8f28651e26eccab4c6feb021f3ae97a33b" +hash = "0e7e06daedb3a934448119f0d8688e96f1690af484bbf5e7745735bee7c3cd13" [[files]] file = "kubejs/startup_scripts/createrp_items.js" diff --git a/kubejs/client_scripts/createrp_ponder.js b/kubejs/client_scripts/createrp_ponder.js index d24c2ba..f0a9186 100644 --- a/kubejs/client_scripts/createrp_ponder.js +++ b/kubejs/client_scripts/createrp_ponder.js @@ -240,6 +240,9 @@ function landScene(scene, util) { scene.overlay.showOutline(PonderPalette.RED, 'ore', util.select.position(2, 1, 2), 150) say(scene, 70, 'Руду копають лише з концесією', [2.5, 1.5, 2.5], PonderPalette.RED, true) say(scene, 70, 'Купи її в терміналі: Земля → Купити концесію', [2.5, 1.5, 2.5]) + say(scene, 70, 'Бури 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]) say(scene, 80, 'За землю платиш щодня. Не платив 3 дні — ділянку забирають', [2.5, 2.5, 2.5]) } @@ -336,6 +339,69 @@ function roadsScene(scene, util) { say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка Create', [2.5, 1.5, 2.5]) } +// --------------------------------------------------------------------------------------------- +// 10. Шахтар + +function minerScene(scene, util) { + scene.showBasePlate() + scene.world.setBlocks([1, 1, 1, 3, 2, 3], 'minecraft:stone') + scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore') + scene.world.setBlocks([1, 2, 1], 'minecraft:coal_ore') + scene.world.setBlocks([3, 1, 1], 'minecraft:copper_ore') + scene.world.setBlocks([2, 2, 1], 'minecraft:stone') + scene.idle(10) + scene.world.showSection([1, 1, 1, 3, 2, 3], Direction.DOWN) + scene.idle(15) + + say(scene, 70, 'Це державна шахта', [2.5, 2.5, 1], PonderPalette.BLUE, true) + say(scene, 70, 'Копати тут можуть лише шахтарі', [2.5, 2.5, 1], PonderPalette.RED) + say(scene, 70, 'Найнятися: бригадир шахти або термінал → Робота', [2.5, 2.5, 1]) + + scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe') + scene.idle(30) + scene.world.destroyBlock([2, 1, 1]) + scene.idle(15) + say(scene, 70, 'Руда одразу йде державі — без дропу', [2.5, 1.5, 1], null, true) + scene.world.createItemEntity([2.5, 2, 0.8], [0, 0.2, 0], 'numismatics:spur') + say(scene, 70, 'Тобі — оплата за кожен блок', [2.5, 1.5, 1], PonderPalette.GREEN) + say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1]) + say(scene, 70, 'Гроші — в кінці ігрового дня, до 200 блоків на день', [2.5, 2.5, 2]) + + scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore') + scene.idle(10) + say(scene, 70, 'Викопана руда згодом виростає знову', [2.5, 1.5, 1], PonderPalette.BLUE, true) +} + +// --------------------------------------------------------------------------------------------- +// 11. Оператор заводу + +function operatorScene(scene, util) { + scene.showBasePlate() + scene.world.setBlocks([1, 1, 2], 'minecraft:blast_furnace') + scene.world.setBlocks([2, 1, 2], 'create:andesite_casing') + scene.world.setBlocks([3, 1, 2], 'create:mechanical_press') + scene.idle(10) + scene.world.showSection([1, 1, 2, 3, 1, 2], Direction.DOWN) + scene.idle(15) + + 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]) + + scene.overlay.showOutline(PonderPalette.RED, 'broken', util.select.position(1, 1, 2), 220) + say(scene, 70, 'Точка задиміла — щось зламалось', [1.5, 2, 2.5], PonderPalette.RED, true) + scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('minecraft:coal') + say(scene, 70, 'Немає палива — клацни з вугіллям у руці', [1.5, 2, 2.5]) + scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick() + say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5]) + scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench') + say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5]) + + scene.world.createItemEntity([1.5, 2.2, 2.5], [0, 0.2, 0], 'numismatics:spur') + say(scene, 70, 'Кожен ремонт — 2 ¤ у кінці ігрового дня', [2.5, 2.5, 2.5], PonderPalette.GREEN, true) + say(scene, 70, 'Поломки стаються, лише поки ти на зміні поруч', [2.5, 2.5, 2.5]) +} + // --------------------------------------------------------------------------------------------- // 7. Продаж енергії державі: державна підстанція @@ -381,7 +447,7 @@ function energyScene(scene, util) { scene.idle(12) } say(scene, 70, 'Щохвилини держава платить твоєму бізнесу', [2.5, 2.5, 2.5], PonderPalette.GREEN, true) - say(scene, 70, 'Платить за силу, яку забирає підстанція', [2.5, 2.5, 2.5]) + say(scene, 70, 'Платить лише за силу, яку забирають її машини', [2.5, 2.5, 2.5]) say(scene, 70, 'Приклад: 2048 SU — приблизно 1 ¤ за хвилину', [2.5, 2.5, 2.5], PonderPalette.BLUE) setSpeed(scene, ALL, 0) @@ -411,6 +477,8 @@ Ponder.registry(event => { .scene('guide_jobs', 'Робота: ринок праці й пошта', jobsScene) .scene('guide_cargo', 'Робота: вантажник', cargoScene) .scene('guide_roads', 'Робота: дорожник', roadsScene) + .scene('guide_miner', 'Робота: шахтар', minerScene) + .scene('guide_operator', 'Робота: оператор заводу', operatorScene) event.create('create:package_frogport') .scene('frogport_sell', 'Create RP: продаж державі', FROG_STRUCTURE, sellScene) diff --git a/pack.toml b/pack.toml index f9caf47..c7feaa4 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "Create RP" author = "Pinecraft-CreateRP" -version = "0.7.0" +version = "0.8.0" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "061b0574da762d2dd8b9d981a0d52be81db87fc54afee42aad118e4ed369dc1e" +hash = "c8d9de55b0d152439a8422b891a792262c65ba8296bcb5ff2b111f9552bda090" [versions] minecraft = "1.21.1"