diff --git a/config/fancymenu/assets/version.png b/config/fancymenu/assets/version.png index 52670d9..4ebd231 100644 Binary files a/config/fancymenu/assets/version.png and b/config/fancymenu/assets/version.png differ diff --git a/config/fancymenu/customization/createrp_title.txt b/config/fancymenu/customization/createrp_title.txt index 549b1d6..95e6f9b 100644 --- a/config/fancymenu/customization/createrp_title.txt +++ b/config/fancymenu/customization/createrp_title.txt @@ -1326,7 +1326,7 @@ element { rounding_radius_top_right = 0.0 rounding_radius_bottom_right = 0.0 rounding_radius_bottom_left = 0.0 - [loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:91c9e906-7f6c-52e8-a560-68607073f5b2-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.14"]$ + [loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:91c9e906-7f6c-52e8-a560-68607073f5b2-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.15"]$ } element { @@ -1409,7 +1409,7 @@ element { description = Нова версія збірки: {"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}. Натисни, щоб відкрити сторінку завантаження. [executable_action_instance:e3201eb9-9957-5172-961e-6a0a3efa8ea8-1791960000000][action_type:openlink] = https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/releases/latest [loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if][req_id:8eb26843-5898-5897-a340-cffc49fb58a3-1791960000000] = ["mode":"starts-with","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v"]$ - [loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if_not][req_id:65d764d6-cd1d-5920-a629-9a2662a23dd7-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.14"]$ + [loading_requirement:fancymenu_visibility_requirement_is_text][requirement_mode:if_not][req_id:65d764d6-cd1d-5920-a629-9a2662a23dd7-1791960000000] = ["mode":"equals","text":"{"placeholder":"json","values":{"source":"https://git.fulldroper.ks.ua/api/v1/repos/Pinecraft-CreateRP/client/releases/latest","json_path":"$.tag_name"}}","compare_with":"v0.16.15"]$ } vanilla_button { diff --git a/index.toml b/index.toml index d4cfdc4..afc257d 100644 --- a/index.toml +++ b/index.toml @@ -274,7 +274,7 @@ hash = "ede71f54de7c259f40589e4d9534e58a2fd94a2c8cf49f5362f2992eefcaadcc" [[files]] file = "config/fancymenu/assets/version.png" -hash = "469f0d9cbed3e67cbe295ceec2dbe3689332271adc8417e42444a593551d4d26" +hash = "0d4e54d4700888affed6303a89dbc51cd5a3fba1b28868ed0c561b8b9ed92d1a" [[files]] file = "config/fancymenu/custom_gui_screens.txt" @@ -302,7 +302,7 @@ hash = "dbeef22ff98f5f37b75f1d98599ee296137f82febfceaf86ce1b0e5a24c5c82a" [[files]] file = "config/fancymenu/customization/createrp_title.txt" -hash = "9fe1fbb85dacf506fbb72dbbf7d20ea604a79a672dad3c26ebe650bd4b3b67d2" +hash = "79168146fdbc9493a6e6535c841e98fee50716197259e0f13e9a084abb3c2d51" [[files]] file = "config/fancymenu/options.txt" @@ -966,7 +966,7 @@ hash = "dc8923b48d9dae8a2ad87f1d0eff914b0d7fb0bdbd43fb721a32411e29bb774e" [[files]] file = "kubejs/startup_scripts/createrp_items.js" -hash = "2b22087cb78a90d88eafdf45b8154fe3bc68d0a903a8571d3890d69dd4fce5cf" +hash = "42c3e9c90d7d5342c0d657a60318f0f5b805b12287a6429903f22086b21a5eb0" [[files]] file = "mods/3dskinlayers.pw.toml" diff --git a/kubejs/startup_scripts/createrp_items.js b/kubejs/startup_scripts/createrp_items.js index 41d314c..6bd121d 100644 --- a/kubejs/startup_scripts/createrp_items.js +++ b/kubejs/startup_scripts/createrp_items.js @@ -61,4 +61,15 @@ StartupEvents.registry('item', event => { .tooltip('§7ПКМ по NPC — обрати, ПКМ по блоку — перенести туди') .tooltip('§7Shift+ПКМ по обраному — повернути обличчям до себе') .tooltip('§7Shift+ПКМ у повітря — зняти вибір') + + // «Тендерний планшет» (адміністрація): видати типовий проект і оголосити будівельний тендер на місці, де його + // поставили інструментами Create (сервер — createrp_bridge TenderTablet) + event.create('tender_tablet') + .displayName('Тендерний планшет') + .texture('create:item/schematic') + .maxStackSize(1) + .tooltip('§7Лише для адміністрації') + .tooltip('§7ПКМ — панель: взяти типовий проект') + .tooltip('§7Постав проект інструментами Create, тоді ПКМ — оголосити тендер') + .tooltip('§7Ціна й строк — на панелі, §fAlt§7+коліщатко') }) diff --git a/pack.toml b/pack.toml index 4464056..5bc11bb 100644 --- a/pack.toml +++ b/pack.toml @@ -1,12 +1,12 @@ name = "Create RP" author = "Pinecraft-CreateRP" -version = "0.16.14" +version = "0.16.15" pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "6efb5ba41d71d09e50ba07d75e038b61e98f48768706f3a6639545ad92629e85" +hash = "962ca7c503aa39147eb9ed5b23f3a44d5f7542431f79a47a17133e5033107972" [versions] minecraft = "1.21.1"