- Ponder for KubeJS 2.4.0 (client) + client_scripts/createrp_ponder.js: six scenes (terminal, selling, buying, money and bank, land and ore, jobs) on «Довідник громадянина», frogport and CC computers, plus a «Держава Create RP» tag in the Ponder index - startup_scripts/createrp_items.js registers kubejs:citizen_guide (identical in the server pack) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
782 B
JavaScript
13 lines
782 B
JavaScript
// Create RP — предмети збірки. Цей файл має бути ОДНАКОВИМ у серверній і клієнтській збірках:
|
||
// реєстр предметів сервера й клієнта мусить збігатися.
|
||
|
||
StartupEvents.registry('item', event => {
|
||
// «Довідник громадянина»: навести в інвентарі й затиснути W — туторіал Ponder (клієнтський client_scripts/createrp_ponder.js)
|
||
event.create('citizen_guide')
|
||
.displayName('Довідник громадянина')
|
||
.texture('minecraft:item/knowledge_book')
|
||
.maxStackSize(1)
|
||
.glow(true)
|
||
.tooltip('§7Наведи в інвентарі й затисни §fW§7 — як у Create')
|
||
})
|