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:
co-authored by
Claude Opus 5.5
parent
76b9fb8648
commit
800ff3be9b
+1
-1
@@ -814,7 +814,7 @@ hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f"
|
|||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/client_scripts/createrp_ponder.js"
|
file = "kubejs/client_scripts/createrp_ponder.js"
|
||||||
hash = "3c713cfff54f79e962646c408749649aaaddae23cd7648298ea9b7c383f9d4ae"
|
hash = "2862132a0769edc426c4b538739f5a7b169f9c67709abbffcf84fc7f53c00da6"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "kubejs/startup_scripts/createrp_items.js"
|
file = "kubejs/startup_scripts/createrp_items.js"
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ function terminalScene(scene, util) {
|
|||||||
say(scene, 70, 'Першого разу термінал попросить створити пароль', [2.5, 1.5, 2.5])
|
say(scene, 70, 'Першого разу термінал попросить створити пароль', [2.5, 1.5, 2.5])
|
||||||
say(scene, 60, 'Стій поруч — здалеку не пустить', [2.5, 1.5, 2.5], PonderPalette.RED)
|
say(scene, 60, 'Стій поруч — здалеку не пустить', [2.5, 1.5, 2.5], PonderPalette.RED)
|
||||||
say(scene, 80, 'Тут усе: рахунок, бізнес, ціни, магазин, земля, робота, банк', [2.5, 1.5, 2.5], null, true)
|
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.world.showSection([1, 1, 3, 3, 2, 3], Direction.DOWN)
|
||||||
scene.idle(15)
|
scene.idle(15)
|
||||||
@@ -487,6 +489,9 @@ function energyScene(scene, util) {
|
|||||||
|
|
||||||
setSpeed(scene, ALL, 32)
|
setSpeed(scene, ALL, 32)
|
||||||
say(scene, 80, 'Хочеш продавати енергію — знайди підстанцію й підключись', [2.5, 2.5, 2.5], null, true)
|
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)
|
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 => {
|
Ponder.tags(event => {
|
||||||
event.createTag('kubejs:createrp', 'kubejs:citizen_guide', 'Держава Create RP',
|
event.createTag('kubejs:createrp', 'kubejs:citizen_guide', 'Держава Create RP',
|
||||||
'Як жити й заробляти в державній економіці',
|
'Як жити й заробляти в державній економіці',
|
||||||
@@ -542,6 +570,7 @@ Ponder.registry(event => {
|
|||||||
event.create('kubejs:citizen_guide')
|
event.create('kubejs:citizen_guide')
|
||||||
.scene('guide_officials', 'Державні службовці', officialsScene)
|
.scene('guide_officials', 'Державні службовці', officialsScene)
|
||||||
.scene('guide_terminal', 'Термінал держави', terminalScene)
|
.scene('guide_terminal', 'Термінал держави', terminalScene)
|
||||||
|
.scene('guide_board', 'Дошки оголошень', boardScene)
|
||||||
.scene('guide_sell', 'Продаж державі', FROG_STRUCTURE, sellScene)
|
.scene('guide_sell', 'Продаж державі', FROG_STRUCTURE, sellScene)
|
||||||
.scene('guide_buy', 'Покупки в держави', FROG_STRUCTURE, buyScene)
|
.scene('guide_buy', 'Покупки в держави', FROG_STRUCTURE, buyScene)
|
||||||
.scene('guide_energy', 'Продаж енергії державі', energyScene)
|
.scene('guide_energy', 'Продаж енергії державі', energyScene)
|
||||||
@@ -569,4 +598,5 @@ Ponder.registry(event => {
|
|||||||
|
|
||||||
event.create('computercraft:monitor_advanced')
|
event.create('computercraft:monitor_advanced')
|
||||||
.scene('monitor_terminal', 'Create RP: термінал і табло цін', terminalScene)
|
.scene('monitor_terminal', 'Create RP: термінал і табло цін', terminalScene)
|
||||||
|
.scene('monitor_board', 'Create RP: дошки оголошень', boardScene)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
name = "Create RP"
|
name = "Create RP"
|
||||||
author = "Pinecraft-CreateRP"
|
author = "Pinecraft-CreateRP"
|
||||||
version = "0.12.1"
|
version = "0.12.2"
|
||||||
pack-format = "packwiz:1.1.0"
|
pack-format = "packwiz:1.1.0"
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "3847628eb2285667fbf0c64c631c0e32d63c5241fb01de05ba3fc7e4a1ed2561"
|
hash = "99b125c45eba068261dbe00ac825eb798c2d12683703cbd8640e3a1c42d09c2b"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
minecraft = "1.21.1"
|
minecraft = "1.21.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user