0.12.2: tutorial — notice boards, Cyrillic input, energy tenders

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fulldroper
2026-10-10 15:22:23 +03:00
co-authored by Claude Opus 5.5
parent 76b9fb8648
commit 800ff3be9b
3 changed files with 33 additions and 3 deletions
+30
View File
@@ -140,6 +140,8 @@ function terminalScene(scene, util) {
say(scene, 70, 'Першого разу термінал попросить створити пароль', [2.5, 1.5, 2.5])
say(scene, 60, 'Стій поруч — здалеку не пустить', [2.5, 1.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Тут усе: рахунок, бізнес, ціни, магазин, земля, робота, банк', [2.5, 1.5, 2.5], null, true)
say(scene, 70, 'Назву кирилицею пиши в чат гри', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Термінал забере цей рядок собі', [2.5, 1.5, 2.5])
scene.world.showSection([1, 1, 3, 3, 2, 3], Direction.DOWN)
scene.idle(15)
@@ -487,6 +489,9 @@ function energyScene(scene, util) {
setSpeed(scene, ALL, 32)
say(scene, 80, 'Хочеш продавати енергію — знайди підстанцію й підключись', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Держава оголошує й тендери на енергію', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 70, 'Переможцю платять дорожче за звичайний тариф', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Не дав обіцяної сили — штраф', [2.5, 2.5, 2.5], PonderPalette.RED)
}
// ---------------------------------------------------------------------------------------------
@@ -532,6 +537,29 @@ function arcaneScene(scene, util) {
say(scene, 80, 'Решту розкаже магістр Ефірної палати', [2.5, 2.5, 2.5], PonderPalette.BLUE)
}
// ---------------------------------------------------------------------------------------------
// 14. Дошки оголошень
function boardScene(scene, util) {
scene.showBasePlate()
scene.world.setBlocks([2, 1, 2], 'computercraft:computer_advanced')
scene.world.setBlocks([1, 1, 3, 3, 3, 3], 'computercraft:monitor_advanced')
scene.idle(10)
scene.world.showSection([1, 1, 2, 3, 3, 3], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Це дошка оголошень держави', [2.5, 3, 3], PonderPalette.BLUE, true)
say(scene, 70, 'Розділи змінюються самі', [2.5, 3, 3])
say(scene, 70, 'Тендери: що держава замовляє і до якої ціни', [2.5, 3, 3], null, true)
say(scene, 70, 'Ділянки: вільна земля, оренда й ціна купівлі', [2.5, 3, 3])
say(scene, 70, 'Центр міста дорожчий за околиці', [2.5, 3, 3], PonderPalette.RED)
say(scene, 70, 'Аукціони: ставки й день закриття', [2.5, 3, 3])
say(scene, 70, 'Робота: державні роботи й вакансії бізнесів', [2.5, 3, 3], PonderPalette.GREEN, true)
say(scene, 80, 'Власник бізнесу вивішує вакансію в терміналі', [2.5, 1.5, 2.5])
scene.showControls(50, [2.5, 2, 2.5], 'down').rightClick()
say(scene, 80, 'Свою дошку запускає програма board', [2.5, 1.5, 2.5], PonderPalette.BLUE, true)
}
Ponder.tags(event => {
event.createTag('kubejs:createrp', 'kubejs:citizen_guide', 'Держава Create RP',
'Як жити й заробляти в державній економіці',
@@ -542,6 +570,7 @@ Ponder.registry(event => {
event.create('kubejs:citizen_guide')
.scene('guide_officials', 'Державні службовці', officialsScene)
.scene('guide_terminal', 'Термінал держави', terminalScene)
.scene('guide_board', 'Дошки оголошень', boardScene)
.scene('guide_sell', 'Продаж державі', FROG_STRUCTURE, sellScene)
.scene('guide_buy', 'Покупки в держави', FROG_STRUCTURE, buyScene)
.scene('guide_energy', 'Продаж енергії державі', energyScene)
@@ -569,4 +598,5 @@ Ponder.registry(event => {
event.create('computercraft:monitor_advanced')
.scene('monitor_terminal', 'Create RP: термінал і табло цін', terminalScene)
.scene('monitor_board', 'Create RP: дошки оголошень', boardScene)
})