Compare commits

...
23 Commits
Author SHA1 Message Date
FulldroperandClaude Opus 5.5 d83892326f 0.14.1: plot borders are shown with the surveyor's tablet in hand, not the citizen guide
The tablet is the land tool, so the borders of nearby plots belong with it. Tutorial lines and the
tablet's tooltip say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 10:24:59 +03:00
FulldroperandClaude Opus 5.5 caeca58256 0.14.0: Joy of Painting, Armourer's Workshop, Immersive Paintings; NeoForge 21.1.259
Joy of Painting 2.0.1 needs NeoForge 21.1.242 or newer, so the loader moves from 21.1.228
to 21.1.259 together with the server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:51:04 +03:00
FulldroperandClaude Opus 5.5 17aade96ad Tutorial: street kiosks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 12:54:45 +03:00
FulldroperandClaude Opus 5.5 25a4bc0162 Tutorial: the mine shift — foreman, order, state ore, pay on delivery
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:52:05 +03:00
FulldroperandClaude Opus 5.5 01039392b4 Tutorial: factory parts come off and are put back
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 09:00:01 +03:00
FulldroperandClaude Opus 5.5 de07864e26 Tutorial: passers-by on the streets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 08:20:21 +03:00
FulldroperandClaude Opus 5.5 aabf3f98cd 0.13.4: Sodium Options API removed (nothing uses it)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 13:34:38 +03:00
FulldroperandClaude Opus 5.5 8c5846c5f4 0.13.3: tutorial — road builders are paid on acceptance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 12:49:27 +03:00
FulldroperandClaude Opus 5.5 9dcefdadd9 Fix the tutorial script: the previous commit had an unescaped apostrophe and did not parse
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:33:54 +03:00
FulldroperandClaude Opus 5.5 c10b6bf174 Tutorial: officials answer in the conversation itself, not in chat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 11:33:36 +03:00
FulldroperandClaude Opus 5.5 ac8683945d 0.13.2: quiet join chat, state land not flashed on entering
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 10:02:20 +03:00
FulldroperandClaude Opus 5.5 8a98e9a8d6 Quiet join chat: no CustomNPCs update notice, no Distant Horizons garbage collector warning
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 10:00:08 +03:00
FulldroperandClaude Opus 5.5 689c04bbd5 Plot borders: state land is not flashed on entering; an unbuilt road is shown only to road builders and operators
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:55:55 +03:00
FulldroperandClaude Opus 5.5 8dc71e8934 0.13.1: border colours — reserved red, road orange / blue when built; entering a plot detected by numbers, not string keys
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:34:32 +03:00
FulldroperandClaude Opus 5.5 8ff1748271 0.13.0: surveyor's tablet — outline land like Schematic and Quill; tutorial lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 09:16:04 +03:00
FulldroperandClaude Opus 5.5 3306c38450 0.12.6: tutorial — the new land rules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:54:01 +03:00
FulldroperandClaude Opus 5.5 bd0c405e26 Plot borders: walls get real thickness and the CHECKERED face (faces of a flat box were not drawn)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:20:05 +03:00
FulldroperandClaude Opus 5.5 9102e0a1fb 0.12.5: plot borders are full-height walls with a checkered face, fixed in place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:15:06 +03:00
FulldroperandClaude Opus 5.5 98e61093df 0.12.4: Essential removed; plot outline script no longer clashes with KubeJS's own AABB binding
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 08:09:59 +03:00
FulldroperandClaude Opus 5.5 2e55380f25 0.12.3: plot borders as Create outlines (guide in hand, or on entering a plot); tutorial lines
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 07:57:04 +03:00
FulldroperandClaude Opus 5.5 800ff3be9b 0.12.2: tutorial — notice boards, Cyrillic input, energy tenders
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 15:22:23 +03:00
FulldroperandClaude Opus 5.5 76b9fb8648 Carry On: the computercraft ban belongs to forbiddenTiles, not forbiddenEntities
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:09:58 +03:00
FulldroperandClaude Opus 5.5 a0d043fb66 Carry On: forbid computercraft blocks (picking up a CC monitor crashed the server)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 14:08:02 +03:00
15 changed files with 431 additions and 77 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
# Create RP — клієнт # Create RP — клієнт
Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.228**, 115 модів. Клієнтська збірка для сервера **Create RP** (`create.fulldroper.ks.ua`): Minecraft **1.21.1**, NeoForge **21.1.259**, 116 модів.
## Встановлення ## Встановлення
**Modrinth App (найпростіше):** завантажити `CreateRP-<версія>.mrpack` з [релізів](../client/releases) → **Modrinth App (найпростіше):** завантажити `CreateRP-<версія>.mrpack` з [релізів](../client/releases) →
Modrinth App → «+» → «Import from file». Збірка сама підтягне NeoForge 21.1.228 і всі моди. Modrinth App → «+» → «Import from file». Збірка сама підтягне NeoForge 21.1.259 і всі моди.
**Prism Launcher / packwiz-installer (автооновлення):** профіль NeoForge 1.21.1 / 21.1.228, у pre-launch команді **Prism Launcher / packwiz-installer (автооновлення):** профіль NeoForge 1.21.1 / 21.1.259, у pre-launch команді
``` ```
"$INST_JAVA" -jar packwiz-installer-bootstrap.jar https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/raw/branch/main/pack.toml "$INST_JAVA" -jar packwiz-installer-bootstrap.jar https://git.fulldroper.ks.ua/Pinecraft-CreateRP/client/raw/branch/main/pack.toml
@@ -22,5 +22,5 @@ Modrinth App → «+» → «Import from file». Збірка сама підт
- `mods/*.pw.toml` — посилання на Modrinth з sha512 (jar у репозиторії немає). - `mods/*.pw.toml` — посилання на Modrinth з sha512 (jar у репозиторії немає).
- `config/` — конфіги модів. - `config/` — конфіги модів.
- Клієнтські моди (Sodium, Iris, Distant Horizons, Essential та ін.) працюють лише у гравця; - Клієнтські моди (Sodium, Iris, Distant Horizons та ін.) працюють лише у гравця;
обов'язкові на обох боках (Create, Aeronautics, Sable, Hex Casting …) мають збігатися з сервером. обов'язкові на обох боках (Create, Aeronautics, Sable, Hex Casting …) мають збігатися з сервером.
+63
View File
@@ -0,0 +1,63 @@
#Whether scripting is enabled or not
EnableScripting=true
#Arguments given to the Nashorn scripting library
NashorArguments=-strict
#Disable Chat Bubbles
EnableChatBubbles=true
#Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server
NpcNavRange=32
#Limit too how many npcs can be in one chunk for natural spawning
NpcNaturalSpawningChunkLimit=4
#Set to true if you want the dialog command option to be able to use op commands like tp etc
NpcUseOpCommands=false
#If set to true only opped people can use the /noppes command
NoppesCommandOpOnly=false
InventoryGuiEnabled=true
SceneButtonsEnabled=true
#Enables CustomNpcs startup update message
EnableUpdateChecker=false
#Default interact line. Leave empty to not have one
DefaultInteractLine=Hello @p
#Number of chunk loading npcs that can be active at the same time
ChuckLoaders=20
#Enables leaves decay
LeavesDecayEnabled=true
#Enables Vine Growth
VineGrowthEnabled=true
#Enables Ice Melting
IceMeltsEnabled=true
#Normal players can use soulstone on animals
SoulStoneAnimals=true
#Normal players can use soulstone on all npcs
SoulStoneNPCs=false
#Type 0 = Normal, Type 1 = Solid
HeadWearType=1
#When set to Minecraft it will use minecrafts font, when Default it will use OpenSans. Can only use fonts installed on your PC
FontType=Default
#Font size for custom fonts (doesn't work with minecrafts font)
FontSize=18
#On some servers or with certain plugins, it doesnt work, so you can disable it here
EnableInvisibleNpcs=true
NpcSpeachTriggersChatEvent=false
+1 -1
View File
@@ -206,7 +206,7 @@ _version = 4
# If enabled, a chat message will be displayed if the garbage # If enabled, a chat message will be displayed if the garbage
# collector Java is currently using is known # collector Java is currently using is known
# to cause frame stuttering and/or other issues. # to cause frame stuttering and/or other issues.
showGarbageCollectorWarning = true showGarbageCollectorWarning = false
[common.worldGenerator] [common.worldGenerator]
# #
+1 -1
View File
@@ -71,7 +71,7 @@
[blacklist] [blacklist]
#Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config #Blacklist. Read about the format here: https://github.com/Tschipp/CarryOn/wiki/Black---and-Whitelist-Config
#Blocks that cannot be picked up #Blocks that cannot be picked up
forbiddenTiles = ["#forge:immovable", "#forge:relocation_not_supported", "#neoforge:immovable", "#neoforge:relocation_not_supported", "minecraft:end_portal", "minecraft:piston_head", "#c:relocation_not_supported", "minecraft:end_gateway", "minecraft:tall_grass", "minecraft:large_fern", "minecraft:peony", "minecraft:rose_bush", "minecraft:lilac", "minecraft:sunflower", "minecraft:*_bed", "minecraft:*_door", "minecraft:big_dripleaf_stem", "minecraft:waterlily", "minecraft:cake", "minecraft:nether_portal", "minecraft:tall_seagrass", "animania:block_trough", "animania:block_invisiblock", "colossalchests:*", "ic2:*", "bigreactors:*", "forestry:*", "tconstruct:*", "rustic:*", "botania:*", "astralsorcery:*", "quark:colored_bed_*", "immersiveengineering:*", "embers:block_furnace", "embers:ember_bore", "embers:ember_activator", "embers:mixer", "embers:heat_coil", "embers:large_tank", "embers:crystal_cell", "embers:alchemy_pedestal", "embers:boiler", "embers:combustor", "embers:catalzyer", "embers:field_chart", "embers:inferno_forge", "storagedrawers:framingtable", "skyresources:*", "lootbags:*", "exsartagine:*", "aquamunda:tank", "opencomputers:*", "malisisdoors:*", "industrialforegoing:*", "minecolonies:*", "thaumcraft:pillar*", "thaumcraft:infernal_furnace", "thaumcraft:placeholder*", "thaumcraft:infusion_matrix", "thaumcraft:golem_builder", "thaumcraft:thaumatorium*", "magneticraft:oil_heater", "magneticraft:solar_panel", "magneticraft:steam_engine", "magneticraft:shelving_unit", "magneticraft:grinder", "magneticraft:sieve", "magneticraft:solar_tower", "magneticraft:solar_mirror", "magneticraft:container", "magneticraft:pumpjack", "magneticraft:solar_panel", "magneticraft:refinery", "magneticraft:oil_heater", "magneticraft:hydraulic_press", "magneticraft:multiblock_gap", "refinedstorage:*", "mcmultipart:*", "enderstorage:*", "betterstorage:*", "practicallogistics2:*", "wearablebackpacks:*", "rftools:screen", "rftools:creative_screen", "create:*", "magic_doorknob:*", "iceandfire:*", "ftbquests:*", "waystones:*", "contact:*", "framedblocks:*", "securitycraft:*", "forgemultipartcbe:*", "integrateddynamics:cable", "mekanismgenerators:wind_generator", "cookingforblockheads:cabinet", "cookingforblockheads:corner", "cookingforblockheads:counter", "cookingforblockheads:oven", "cookingforblockheads:toaster", "cookingforblockheads:milk_jar", "cookingforblockheads:cow_jar", "cookingforblockheads:fruit_basket", "cookingforblockheads:cooking_table", "cookingforblockheads:fridge", "cookingforblockheads:sink", "chipped:*", "irons_spellbooks:*", "create*:*", "simple_pipes:*", "libmultipart:*", "quark:tiny_potato", "ait:*", "vampirism:*", "extrastorage:*", "relics:researching_table", "sophisticatedstorage:*chest", "powah:*", "advancementtrophies:trophy", "mekanismgenerators:heat_generator", "mna:filler_block", "create_enchantment_industry:*", "graveyard:*", "immersivepetroleum:*", "tardis:interior_door", "cuffed:*", "littletiles:*", "butchersdelight:*", "irons_spellbooks:*", "extended_drawers:*", "functionalstorage:*", "sophisticatedstorage:*", "farmersdelight:*", "modern_industrialization:*_cable", "modern_industrialization:item_pipe", "modern_industrialization:*_item_pipe", "modern_industrialization:fluid_pipe", "modern_industrialization:*_fluid_pipe", "snowrealmagic:*"] forbiddenTiles = ["computercraft:*", "#forge:immovable", "#forge:relocation_not_supported", "#neoforge:immovable", "#neoforge:relocation_not_supported", "minecraft:end_portal", "minecraft:piston_head", "#c:relocation_not_supported", "minecraft:end_gateway", "minecraft:tall_grass", "minecraft:large_fern", "minecraft:peony", "minecraft:rose_bush", "minecraft:lilac", "minecraft:sunflower", "minecraft:*_bed", "minecraft:*_door", "minecraft:big_dripleaf_stem", "minecraft:waterlily", "minecraft:cake", "minecraft:nether_portal", "minecraft:tall_seagrass", "animania:block_trough", "animania:block_invisiblock", "colossalchests:*", "ic2:*", "bigreactors:*", "forestry:*", "tconstruct:*", "rustic:*", "botania:*", "astralsorcery:*", "quark:colored_bed_*", "immersiveengineering:*", "embers:block_furnace", "embers:ember_bore", "embers:ember_activator", "embers:mixer", "embers:heat_coil", "embers:large_tank", "embers:crystal_cell", "embers:alchemy_pedestal", "embers:boiler", "embers:combustor", "embers:catalzyer", "embers:field_chart", "embers:inferno_forge", "storagedrawers:framingtable", "skyresources:*", "lootbags:*", "exsartagine:*", "aquamunda:tank", "opencomputers:*", "malisisdoors:*", "industrialforegoing:*", "minecolonies:*", "thaumcraft:pillar*", "thaumcraft:infernal_furnace", "thaumcraft:placeholder*", "thaumcraft:infusion_matrix", "thaumcraft:golem_builder", "thaumcraft:thaumatorium*", "magneticraft:oil_heater", "magneticraft:solar_panel", "magneticraft:steam_engine", "magneticraft:shelving_unit", "magneticraft:grinder", "magneticraft:sieve", "magneticraft:solar_tower", "magneticraft:solar_mirror", "magneticraft:container", "magneticraft:pumpjack", "magneticraft:solar_panel", "magneticraft:refinery", "magneticraft:oil_heater", "magneticraft:hydraulic_press", "magneticraft:multiblock_gap", "refinedstorage:*", "mcmultipart:*", "enderstorage:*", "betterstorage:*", "practicallogistics2:*", "wearablebackpacks:*", "rftools:screen", "rftools:creative_screen", "create:*", "magic_doorknob:*", "iceandfire:*", "ftbquests:*", "waystones:*", "contact:*", "framedblocks:*", "securitycraft:*", "forgemultipartcbe:*", "integrateddynamics:cable", "mekanismgenerators:wind_generator", "cookingforblockheads:cabinet", "cookingforblockheads:corner", "cookingforblockheads:counter", "cookingforblockheads:oven", "cookingforblockheads:toaster", "cookingforblockheads:milk_jar", "cookingforblockheads:cow_jar", "cookingforblockheads:fruit_basket", "cookingforblockheads:cooking_table", "cookingforblockheads:fridge", "cookingforblockheads:sink", "chipped:*", "irons_spellbooks:*", "create*:*", "simple_pipes:*", "libmultipart:*", "quark:tiny_potato", "ait:*", "vampirism:*", "extrastorage:*", "relics:researching_table", "sophisticatedstorage:*chest", "powah:*", "advancementtrophies:trophy", "mekanismgenerators:heat_generator", "mna:filler_block", "create_enchantment_industry:*", "graveyard:*", "immersivepetroleum:*", "tardis:interior_door", "cuffed:*", "littletiles:*", "butchersdelight:*", "irons_spellbooks:*", "extended_drawers:*", "functionalstorage:*", "sophisticatedstorage:*", "farmersdelight:*", "modern_industrialization:*_cable", "modern_industrialization:item_pipe", "modern_industrialization:*_item_pipe", "modern_industrialization:fluid_pipe", "modern_industrialization:*_fluid_pipe", "snowrealmagic:*"]
#Entities that cannot be picked up #Entities that cannot be picked up
forbiddenEntities = ["#c:capturing_not_supported", "#c:teleporting_not_supported", "minecraft:end_crystal", "minecraft:ender_dragon", "minecraft:ghast", "minecraft:fireball", "minecraft:small_fireball", "minecraft:whither_skull", "minecraft:shulker", "minecraft:leash_knot", "minecraft:armor_stand", "minecraft:whither_skull_dangerous", "minecraft:dragon_fireball", "minecraft:item_frame", "minecraft:painting", "minecraft:shulker_bullet", "minecraft:evoker_fangs", "minecraft:glow_item_frame", "minecraft:tnt", "minecraft:trident", "minecraft:arrow", "minecraft:spectral_arrow", "minecraft:interaction", "minecraft:marker", "minecraft:block_display", "minecraft:item_display", "minecraft:text_display", "animania:hamster", "animania:ferret*", "animania:hedgehog*", "animania:cart", "animania:wagon", "mynko:*", "pixelmon:*", "mocreatures:*", "quark:totem", "vehicle:*", "securitycraft:*", "taterzens:npc", "easy_npc:*", "customnpcs:*", "bodiesbodies:dead_body", "littletiles:*"] forbiddenEntities = ["#c:capturing_not_supported", "#c:teleporting_not_supported", "minecraft:end_crystal", "minecraft:ender_dragon", "minecraft:ghast", "minecraft:fireball", "minecraft:small_fireball", "minecraft:whither_skull", "minecraft:shulker", "minecraft:leash_knot", "minecraft:armor_stand", "minecraft:whither_skull_dangerous", "minecraft:dragon_fireball", "minecraft:item_frame", "minecraft:painting", "minecraft:shulker_bullet", "minecraft:evoker_fangs", "minecraft:glow_item_frame", "minecraft:tnt", "minecraft:trident", "minecraft:arrow", "minecraft:spectral_arrow", "minecraft:interaction", "minecraft:marker", "minecraft:block_display", "minecraft:item_display", "minecraft:text_display", "animania:hamster", "animania:ferret*", "animania:hedgehog*", "animania:cart", "animania:wagon", "mynko:*", "pixelmon:*", "mocreatures:*", "quark:totem", "vehicle:*", "securitycraft:*", "taterzens:npc", "easy_npc:*", "customnpcs:*", "bodiesbodies:dead_body", "littletiles:*"]
#Entities that cannot have other entities stacked on top of them #Entities that cannot have other entities stacked on top of them
+31 -14
View File
@@ -50,7 +50,7 @@ hash = "c3cbcb17ade590daf230373d51457732bc8d9dd1039f7947b6bf564e38df1d9c"
[[files]] [[files]]
file = "config/carryon-common.toml" file = "config/carryon-common.toml"
hash = "43f0555ad4d336822ffa04b1b77f240d327867ade9710741b23b48d236fd3885" hash = "384a91e883212a633d39c8e7b91499298541c151aabe597bd3595a821d65f692"
[[files]] [[files]]
file = "config/chat_heads.json5" file = "config/chat_heads.json5"
@@ -172,13 +172,17 @@ hash = "059e6ce496843881834b3945373bbdf7e022c64f2e900f845603db3de16a9ea7"
file = "config/curios-server.toml" file = "config/curios-server.toml"
hash = "3c34cf9f7918c6a9ec15b14a87aa4570a751c1688f8ac01cb2e9acfb9392a734" hash = "3c34cf9f7918c6a9ec15b14a87aa4570a751c1688f8ac01cb2e9acfb9392a734"
[[files]]
file = "config/CustomNpcs.cfg"
hash = "2727c506472169739fc547b275d1dd484e8b11a20db01c6f08f973594aeae956"
[[files]] [[files]]
file = "config/cutthrough-client.toml" file = "config/cutthrough-client.toml"
hash = "16bc1f998738810cae793b1dc272122dde8b246bffa408f227357803e16ba692" hash = "16bc1f998738810cae793b1dc272122dde8b246bffa408f227357803e16ba692"
[[files]] [[files]]
file = "config/DistantHorizons.toml" file = "config/DistantHorizons.toml"
hash = "5595378793a6c500e675dfd74e03de88b7e5c36bae78f3fc78880a951af5458e" hash = "9bb187e00a7f21f06d2cca2451831dd3d62fe8aa02b5531cf7c6ed044e040d0c"
[[files]] [[files]]
file = "config/dynamic_fps.json" file = "config/dynamic_fps.json"
@@ -812,13 +816,21 @@ hash = "19b844245d03fcdd488a7a791e287447191a74acd0f14995209339d768c5e6ce"
file = "kubejs/assets/computercraft/textures/gui/term_font.png" file = "kubejs/assets/computercraft/textures/gui/term_font.png"
hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f" hash = "db4c4a8ab49265f6e8e456f495800ea148b133b18a3242aabca30b98ab7f784f"
[[files]]
file = "kubejs/client_scripts/createrp_plots.js"
hash = "aa11368f0f4db4883e8231f6c4a65095af2c38377c9cca362726f14524f3d0eb"
[[files]] [[files]]
file = "kubejs/client_scripts/createrp_ponder.js" file = "kubejs/client_scripts/createrp_ponder.js"
hash = "3c713cfff54f79e962646c408749649aaaddae23cd7648298ea9b7c383f9d4ae" hash = "9f862adad6c97ea4d1aba3f333a6f42bfc5fd921d2f960af365e293211492b39"
[[files]]
file = "kubejs/client_scripts/createrp_survey.js"
hash = "5c170dc3cca31ab560eec9ca326116ee4f666ccd800a79a1c044c4b90f4f8288"
[[files]] [[files]]
file = "kubejs/startup_scripts/createrp_items.js" file = "kubejs/startup_scripts/createrp_items.js"
hash = "58100f02cf749b138c2a91567df37afce4b2ef494738268963e8443a3e603036" hash = "049e902a9d12b5811f358d40a2a7e030968e34853cf83a957577cb4bc65d92ff"
[[files]] [[files]]
file = "mods/3dskinlayers.pw.toml" file = "mods/3dskinlayers.pw.toml"
@@ -850,6 +862,11 @@ file = "mods/architectury-api.pw.toml"
hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9" hash = "ea336d25c3e21ef168aec20e1ea470c96949ad29632646ee8e8ab0d74b4bbfc9"
metafile = true metafile = true
[[files]]
file = "mods/armourers-workshop.pw.toml"
hash = "9fde3fc37e25b17f175145590130aa284439296578fc2b599cbc71f603451d65"
metafile = true
[[files]] [[files]]
file = "mods/ars-nouveau.pw.toml" file = "mods/ars-nouveau.pw.toml"
hash = "9645a2d42361e38b0747c43f5e82a7f74cd4f06940cad02d6591e7c81835f733" hash = "9645a2d42361e38b0747c43f5e82a7f74cd4f06940cad02d6591e7c81835f733"
@@ -1070,11 +1087,6 @@ file = "mods/entityculling.pw.toml"
hash = "590437e0f344c87791842b791a400e95ffd4154f02a04c2d8d78b43a76c659ad" hash = "590437e0f344c87791842b791a400e95ffd4154f02a04c2d8d78b43a76c659ad"
metafile = true metafile = true
[[files]]
file = "mods/essential.pw.toml"
hash = "f34d77ca00200f470b5aa7012437ae285a9ebaa2e22ab3d5067cbd87582d51ac"
metafile = true
[[files]] [[files]]
file = "mods/exposure.pw.toml" file = "mods/exposure.pw.toml"
hash = "1dc09ef29e50db6aba5c6fbfaf892983444a0d4ca25f856f1d2838e0c6546166" hash = "1dc09ef29e50db6aba5c6fbfaf892983444a0d4ca25f856f1d2838e0c6546166"
@@ -1135,6 +1147,11 @@ file = "mods/immediatelyfast.pw.toml"
hash = "3d47b1d933d04934a606be1cbb67481860c3d68c9ed4efc387c7745d23b732a7" hash = "3d47b1d933d04934a606be1cbb67481860c3d68c9ed4efc387c7745d23b732a7"
metafile = true metafile = true
[[files]]
file = "mods/immersive-paintings.pw.toml"
hash = "f4f4f93fd59e6a43e7484b44c667875cc8a5d8e5621d98b61e8944c9e0838d61"
metafile = true
[[files]] [[files]]
file = "mods/inventory-essentials.pw.toml" file = "mods/inventory-essentials.pw.toml"
hash = "702a028e2d428d352b4d664a21b0fb6182c20a930888a6c962f557aeba05871f" hash = "702a028e2d428d352b4d664a21b0fb6182c20a930888a6c962f557aeba05871f"
@@ -1160,6 +1177,11 @@ file = "mods/jei.pw.toml"
hash = "5367193d3f87b7bc5a81bcd64a5b96a843e76d4df7a83c8bb7e1911aa82dd52e" hash = "5367193d3f87b7bc5a81bcd64a5b96a843e76d4df7a83c8bb7e1911aa82dd52e"
metafile = true metafile = true
[[files]]
file = "mods/joy-of-painting.pw.toml"
hash = "5b21ffe8e89b5b31876365b950b2e44fe6d51f8e3d6d3f8c639174ed4f9f8c9c"
metafile = true
[[files]] [[files]]
file = "mods/just-enough-resources-jer.pw.toml" file = "mods/just-enough-resources-jer.pw.toml"
hash = "7905c08f37d8ebde50a5330a7dd10029de6259b0cb8adbde1170d93ea20218a7" hash = "7905c08f37d8ebde50a5330a7dd10029de6259b0cb8adbde1170d93ea20218a7"
@@ -1320,11 +1342,6 @@ file = "mods/sodium-extra.pw.toml"
hash = "a1fb713df668ed21dda0602e99cb23b991c8faff841e130d7aae46258c3d6a45" hash = "a1fb713df668ed21dda0602e99cb23b991c8faff841e130d7aae46258c3d6a45"
metafile = true metafile = true
[[files]]
file = "mods/sodium-options-api.pw.toml"
hash = "d193173f0f5dfb4a921d44e29e8d5cee656dd3a40872939069715bb482b66fc9"
metafile = true
[[files]] [[files]]
file = "mods/sodium.pw.toml" file = "mods/sodium.pw.toml"
hash = "347cac2ed12c9bc0561b6a59eeb4c121b10e5f3f71d54e9bf8d1343af57ef5b8" hash = "347cac2ed12c9bc0561b6a59eeb4c121b10e5f3f71d54e9bf8d1343af57ef5b8"
+104
View File
@@ -0,0 +1,104 @@
// Create RP — межі ділянок рамками в стилі Create.
// Показуються, поки в руці «Планшет землеміра» (усі ділянки поблизу), і кілька секунд після входу на ділянку
// (лише вона). Дані приходять із сервера каналом createrp_plots; малює Outliner, яким Create малює виділення.
// Rhino: без const/let усередині циклів і try — лише var.
const RpOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
const RpAABB = Java.loadClass('net.minecraft.world.phys.AABB')
const RpTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures')
// своя — блакитна, вільна (лот) — зелена, чужа — сіра, аукціон — жовта, заморожена — фіолетова;
// державна: резерв — червона, дорога — помаранчева (не збудована) і синя (збудована), шахта — коричнева
const PLOT_COLOR = { mine: 0x4FC3F7, free: 0x66DD66, auction: 0xFFD54F, taken: 0xB0B0B0, frozen: 0x9C27B0,
reserved: 0xE53935, road: 0xFF9800, road_built: 0x2F6BFF, state_mine: 0x8D6E63, state: 0xE53935 }
const SHOW_TICKS = 100 // 5 секунд після входу на ділянку
const WALL_BOTTOM = -64 // стіна межі стоїть на всю висоту світу й не рухається разом із гравцем
const WALL_TOP = 320
const WALL_HALF = 1 / 16 // пів товщини стіни: у плоскої рамки Create не малює площину
let rpPlots = [] // { id, kind, walls: [[x1, z1, x2, z2], …] }
let rpByChunk = {} // "cx,cz" -> індекс у rpPlots
// державну землю при вході не підсвічуємо — її видно лише з планшетом землеміра в руці
const RP_QUIET = { reserved: true, road: true, road_built: true, state_mine: true, state: true }
let rpHere = ''
let rpShowUntil = 0
let rpTick = 0
// стіни по зовнішній межі ділянки; сусідні відрізки на одній лінії зливаються в один
function rpWalls (cells) {
var has = {}
var i
for (i = 0; i < cells.length; i++) has[cells[i][0] + ',' + cells[i][1]] = true
var lines = {} // "x|<fixed x>" або "z|<fixed z>" -> початки відрізків по 16 блоків
var add = function (key, start) { if (!lines[key]) lines[key] = []; lines[key].push(start) }
for (i = 0; i < cells.length; i++) {
var cx = cells[i][0]; var cz = cells[i][1]
if (!has[(cx - 1) + ',' + cz]) add('x|' + (cx * 16), cz * 16)
if (!has[(cx + 1) + ',' + cz]) add('x|' + (cx * 16 + 16), cz * 16)
if (!has[cx + ',' + (cz - 1)]) add('z|' + (cz * 16), cx * 16)
if (!has[cx + ',' + (cz + 1)]) add('z|' + (cz * 16 + 16), cx * 16)
}
var walls = []
for (var key in lines) {
var parts = key.split('|'); var fixed = Number(parts[1])
var starts = lines[key].sort(function (a, b) { return a - b })
var from = starts[0]; var to = starts[0] + 16
for (var k = 1; k <= starts.length; k++) {
if (k < starts.length && starts[k] === to) { to += 16; continue }
walls.push(parts[0] === 'x' ? [fixed, from, fixed, to] : [from, fixed, to, fixed])
if (k < starts.length) { from = starts[k]; to = starts[k] + 16 }
}
}
return walls
}
NetworkEvents.dataReceived('createrp_plots', event => {
var text = String(event.data.getString('plots'))
var plots = []; var byChunk = {}
var rows = text.length ? text.split('\n') : []
for (var r = 0; r < rows.length; r++) {
var f = rows[r].split('\t')
if (f.length < 4) continue
var cells = []
var pairs = f[3].split(' ')
for (var p = 0; p < pairs.length; p++) {
var xz = pairs[p].split(',')
cells.push([Number(xz[0]), Number(xz[1])])
byChunk[Number(xz[0]) + ',' + Number(xz[1])] = plots.length
}
plots.push({ id: f[0], kind: f[1], cells: cells, walls: rpWalls(cells) })
}
rpPlots = plots; rpByChunk = byChunk
})
let rpBroken = false
function rpDraw () {
var player = Client.player
if (!player) return
rpTick++
var cx = Math.floor(player.x / 16); var cz = Math.floor(player.z / 16)
var here = ''
for (var n = 0; n < rpPlots.length && here === ''; n++) {
var cells = rpPlots[n].cells
if (RP_QUIET[rpPlots[n].kind]) continue
for (var k = 0; k < cells.length; k++) if (cells[k][0] == cx && cells[k][1] == cz) { here = rpPlots[n].id; break }
}
if (here !== rpHere) { rpHere = here; if (here !== '') rpShowUntil = rpTick + SHOW_TICKS }
var holding = String(player.mainHandItem.id) === 'kubejs:land_survey' || String(player.offHandItem.id) === 'kubejs:land_survey'
if (!holding && rpTick >= rpShowUntil) return
var outliner = RpOutliner.getInstance()
for (var i = 0; i < rpPlots.length; i++) {
var plot = rpPlots[i]
if (!holding && plot.id !== rpHere) continue
var colour = PLOT_COLOR[plot.kind] || PLOT_COLOR.taken
for (var w = 0; w < plot.walls.length; w++) {
var wall = plot.walls[w]
outliner.showAABB('createrp_plot_' + plot.id + '_' + w, new RpAABB(wall[0] - WALL_HALF, WALL_BOTTOM, wall[1] - WALL_HALF, wall[2] + WALL_HALF, WALL_TOP, wall[3] + WALL_HALF)).colored(colour).lineWidth(1 / 16).withFaceTexture(RpTextures.CHECKERED)
}
}
}
ClientEvents.tick(event => {
if (rpBroken) return
try { rpDraw() } catch (e) { rpBroken = true; console.error('[createrp] plot outlines switched off: ' + e) }
})
+86 -28
View File
@@ -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)
@@ -225,29 +227,47 @@ function moneyScene(scene, util) {
function landScene(scene, util) { function landScene(scene, util) {
scene.showBasePlate() scene.showBasePlate()
scene.world.setBlocks([1, 1, 1], 'minecraft:oak_fence') scene.world.setBlocks([0, 1, 0, 4, 1, 4], 'minecraft:grass_block')
scene.world.setBlocks([3, 1, 1], 'minecraft:oak_fence') scene.world.setBlocks([2, 2, 2], 'computercraft:computer_advanced')
scene.world.setBlocks([1, 1, 3], 'minecraft:oak_fence')
scene.world.setBlocks([3, 1, 3], 'minecraft:oak_fence')
scene.world.setBlocks([2, 1, 2], 'minecraft:iron_ore')
scene.idle(10) scene.idle(10)
scene.world.showSection([0, 1, 0, 4, 2, 4], Direction.DOWN)
scene.idle(15)
say(scene, 70, 'Нічия земля належить державі', [2.5, 1, 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)
scene.overlay.showOutline(PonderPalette.GREEN, 'plot', util.select.fromTo(0, 0, 0, 4, 0, 4), 150) scene.showControls(50, [2.5, 3, 2.5], 'down').rightClick()
scene.world.showSection([1, 1, 1, 3, 1, 3], Direction.DOWN) say(scene, 70, 'Постав на чанку комп\'ютер і набери rp', [2.5, 2.5, 2.5], null, true)
say(scene, 70, 'Будуй на своїй ділянці', [2.5, 1.5, 2.5], PonderPalette.GREEN, true) say(scene, 70, 'Земля → Ціна цього чанка', [2.5, 2.5, 2.5])
say(scene, 70, 'Орендуй або купи її в терміналі: Земля', [2.5, 1.5, 2.5]) say(scene, 70, 'Береш на себе або на свій бізнес', [2.5, 2.5, 2.5])
say(scene, 70, 'На ділянці над хотбаром видно її назву', [2.5, 1.5, 2.5]) scene.showControls(60, [2.5, 2.5, 0.5], 'down').rightClick().withItem('kubejs:land_survey')
say(scene, 70, 'Чужі тут не ламають, а твої працівники — можуть', [2.5, 1.5, 2.5]) say(scene, 70, 'Або планшетом землеміра: ПКМ — перший кут', [2.5, 2.5, 0.5], PonderPalette.BLUE, true)
say(scene, 70, 'ПКМ ще раз — другий кут, рамка покаже територію', [2.5, 2.5, 4.5])
say(scene, 70, 'Третій ПКМ — кнопки оренди й купівлі в чаті', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'До 16 чанків за раз. Shift+ПКМ — скинути', [2.5, 2.5, 2.5])
say(scene, 70, 'Планшет дає реєстратор у ратуші', [2.5, 2.5, 2.5])
scene.overlay.showOutline(PonderPalette.RED, 'ore', util.select.position(2, 1, 2), 150) say(scene, 70, 'Біля спавну земля втричі дорожча', [2.5, 2.5, 2.5], PonderPalette.RED, true)
say(scene, 70, 'Руду копають лише з концесією', [2.5, 1.5, 2.5], PonderPalette.RED, true) say(scene, 70, 'Біля готової дороги — теж дорожча', [2.5, 2.5, 2.5])
say(scene, 70, 'Купи її в терміналі: Земля → Купити концесію', [2.5, 1.5, 2.5]) say(scene, 70, 'Біля шахти — дешевша', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Бури Create теж копають лише за концесією', [2.5, 1.5, 2.5]) scene.world.setBlocks([1, 2, 1, 1, 3, 1], 'minecraft:bricks')
say(scene, 70, 'Найкращі ділянки держава продає на аукціоні', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) scene.idle(10)
say(scene, 70, 'Ставки — в терміналі: Земля → Аукціони', [2.5, 2.5, 2.5]) say(scene, 70, 'Забудував чанк — це вже житло, воно дорожче', [1.5, 3, 1.5], null, true)
say(scene, 80, 'За землю платиш щодня. Не платив 3 дні — ділянку забирають', [2.5, 2.5, 2.5]) say(scene, 80, 'Оренду платиш наперед, за куплену землю — податок щодня', [2.5, 2.5, 2.5])
say(scene, 70, 'Не платив 3 дні — землю забирають', [2.5, 2.5, 2.5], PonderPalette.RED)
scene.world.setBlocks([3, 1, 3], 'minecraft:iron_ore')
scene.idle(10)
say(scene, 70, 'Руду копають лише з дозволом на видобуток', [3.5, 2, 3.5], PonderPalette.BLUE, true)
say(scene, 70, 'Дозвіл робить твою ділянку приватною шахтою', [3.5, 2, 3.5])
say(scene, 70, 'Будь-яка руда, без ліміту', [3.5, 2, 3.5], PonderPalette.GREEN)
say(scene, 70, 'Біля спавну й доріг дозволу не дають', [3.5, 2, 3.5], PonderPalette.RED)
say(scene, 70, 'Бури Create теж копають лише з дозволом', [3.5, 2, 3.5])
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])
} }
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------
@@ -338,9 +358,11 @@ function roadsScene(scene, util) {
} }
scene.idle(10) scene.idle(10)
say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true) say(scene, 70, 'Кожен новий блок дороги — 0,3 ¤', [2.5, 1.5, 2.5], PonderPalette.GREEN, true)
say(scene, 70, 'Гроші — в кінці ігрового дня, до 300 блоків на день', [2.5, 1.5, 2.5])
say(scene, 70, 'Перекласти той самий блок вдруге — не оплачується', [2.5, 1.5, 2.5], PonderPalette.RED)
say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка Create', [2.5, 1.5, 2.5]) say(scene, 80, 'Покриття: кам\'яна цегла, гладкий камінь, андезит, плитка 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, 'Гроші за всі твої блоки — коли дорогу приймуть', [2.5, 2.5, 2.5], PonderPalette.GREEN)
say(scene, 70, 'Готова дорога стає синьою', [2.5, 2.5, 2.5])
} }
// --------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------
@@ -358,18 +380,22 @@ function minerScene(scene, util) {
scene.idle(15) scene.idle(15)
say(scene, 70, 'Це державна шахта', [2.5, 2.5, 1], PonderPalette.BLUE, true) 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], PonderPalette.RED)
say(scene, 70, 'Найнятися: бригадир шахти або термінал → Робота', [2.5, 2.5, 1]) say(scene, 80, 'Бригадир шахти наймає, починає зміну й видає кайло, робу та світло', [2.5, 2.5, 1])
say(scene, 80, 'Він же дає наряд: скільки якої руди принести', [2.5, 2.5, 1], PonderPalette.BLUE)
scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe') scene.showControls(40, [2.5, 1.5, 1], 'right').leftClick().withItem('minecraft:iron_pickaxe')
scene.idle(30) scene.idle(30)
scene.world.destroyBlock([2, 1, 1]) scene.world.destroyBlock([2, 1, 1])
scene.idle(15) scene.idle(15)
say(scene, 70, 'Руда одразу йде державі — без дропу', [2.5, 1.5, 1], null, true) say(scene, 80, 'Руда падає одразу в торбу — це державна руда', [2.5, 1.5, 1], null, true)
say(scene, 80, 'Порода нічого не дає. Рубати можна лише породу й руду', [2.5, 1.5, 1])
scene.world.createItemEntity([2.5, 2, 0.8], [0, 0.2, 0], 'numismatics:spur') 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, 80, 'Принеси руду бригадирові — він платить одразу', [2.5, 1.5, 1], PonderPalette.GREEN)
say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1]) say(scene, 70, 'Алмази й золото дорожчі за вугілля', [2.5, 1.5, 1])
say(scene, 70, 'Гроші — в кінці ігрового дня, до 200 блоків на день', [2.5, 2.5, 2]) say(scene, 80, 'Виконав увесь наряд — премія 25%. Платять до 256 руди на день', [2.5, 2.5, 2])
say(scene, 90, 'Казенне спорядження й руду за межі шахти не винести — вони зникнуть', [2.5, 2.5, 2], PonderPalette.RED)
say(scene, 90, 'Усе вирубане за 10 хвилин заростає — шахта не закінчується', [2.5, 2.5, 2])
scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore') scene.world.setBlocks([2, 1, 1], 'minecraft:iron_ore')
scene.idle(10) scene.idle(10)
@@ -400,6 +426,9 @@ function operatorScene(scene, util) {
say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5]) say(scene, 70, 'Затор — прочисть порожньою рукою', [1.5, 2, 2.5])
scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench') scene.showControls(50, [1.5, 2, 2.5], 'down').rightClick().withItem('create:wrench')
say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5]) say(scene, 70, 'Розхиталась деталь — підтягни ключем', [1.5, 2, 2.5])
scene.showControls(60, [3.5, 2, 2.5], 'down').rightClick().withItem('create:cogwheel')
say(scene, 80, 'Злетіла шестерня чи лопнув вал — деталь падає на підлогу', [3.5, 2, 2.5], PonderPalette.RED, true)
say(scene, 80, 'Підніми її й клацни по зламаному місцю з деталлю в руці', [3.5, 2, 2.5])
scene.world.createItemEntity([1.5, 2.2, 2.5], [0, 0.2, 0], 'numismatics:spur') 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 ¤ у кінці ігрового дня', [2.5, 2.5, 2.5], PonderPalette.GREEN, true)
@@ -419,6 +448,8 @@ function officialsScene(scene, util) {
say(scene, 70, 'Клацни по службовцю й обери репліку', [2.5, 2.5, 2.5]) say(scene, 70, 'Клацни по службовцю й обери репліку', [2.5, 2.5, 2.5])
say(scene, 70, 'Провідник на спавні пояснить, з чого почати', [2.5, 2.5, 2.5], PonderPalette.BLUE, 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.GREEN)
say(scene, 80, 'На вулицях трапляються перехожі: з ними теж можна побалакати про міські новини', [2.5, 2.5, 2.5])
say(scene, 90, 'У ларьках продають найнеобхідніше: їжу, інструмент, дошки, КПК. Дорого, зате одразу в руки', [2.5, 2.5, 2.5], PonderPalette.GREEN)
scene.world.createEntity('minecraft:villager', [0.5, 1, 0.5]) scene.world.createEntity('minecraft:villager', [0.5, 1, 0.5])
scene.world.createEntity('minecraft:villager', [4.5, 1, 0.5]) scene.world.createEntity('minecraft:villager', [4.5, 1, 0.5])
@@ -429,7 +460,7 @@ function officialsScene(scene, util) {
say(scene, 70, 'Міністерство: тендери й частки ринку', [4.5, 2.5, 0.5]) say(scene, 70, 'Міністерство: тендери й частки ринку', [4.5, 2.5, 0.5])
say(scene, 70, 'Банк: рахунок, кредити, вклад', [0.5, 2.5, 4.5]) say(scene, 70, 'Банк: рахунок, кредити, вклад', [0.5, 2.5, 4.5])
say(scene, 70, 'Центр зайнятості: робота й допомога', [4.5, 2.5, 4.5]) say(scene, 70, 'Центр зайнятості: робота й допомога', [4.5, 2.5, 4.5])
say(scene, 80, 'Відповідь службовця приходить у чат', [2.5, 2.5, 2.5], PonderPalette.BLUE, true) say(scene, 80, 'Службовець відповідає в тій самій розмові', [2.5, 2.5, 2.5], PonderPalette.BLUE, true)
say(scene, 80, 'Щоб щось оформити — іди до термінала', [2.5, 2.5, 2.5]) say(scene, 80, 'Щоб щось оформити — іди до термінала', [2.5, 2.5, 2.5])
} }
@@ -487,6 +518,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,16 +566,39 @@ 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])
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',
'Як жити й заробляти в державній економіці', 'Як жити й заробляти в державній економіці',
['kubejs:citizen_guide', 'create:package_frogport', 'computercraft:computer_advanced', 'computercraft:computer_normal', 'computercraft:monitor_advanced', 'create:stressometer', 'ars_nouveau:source_gem', 'hexcasting:amethyst_dust']) ['kubejs:citizen_guide', 'create:package_frogport', 'computercraft:computer_advanced', 'computercraft:computer_normal', 'computercraft:monitor_advanced', 'create:stressometer', 'kubejs:land_survey', 'ars_nouveau:source_gem', 'hexcasting:amethyst_dust'])
}) })
Ponder.registry(event => { 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 +626,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)
}) })
+90
View File
@@ -0,0 +1,90 @@
// Create RP — «Планшет землеміра»: реєстрація території так, як «Креслення і перо» у Create обводить споруду.
// ПКМ — перший кут (чанк під прицілом), ПКМ ще раз — другий кут, третій ПКМ — кнопки оформлення в чаті.
// Shift+ПКМ — скинути. Поки обрано лише перший кут, рамка тягнеться за прицілом.
// Рамку малює той самий Outliner, що й виділення Create. Територія — цілі чанки на всю висоту світу.
// Rhino: без const/let усередині циклів і try — лише var.
const SvOutliner = Java.loadClass('net.createmod.catnip.outliner.Outliner')
const SvAABB = Java.loadClass('net.minecraft.world.phys.AABB')
const SvTextures = Java.loadClass('com.simibubi.create.AllSpecialTextures')
const SV_ITEM = 'kubejs:land_survey'
const SV_MAX = 16 // чанків за одну реєстрацію (те саме обмеження на сервері)
const SV_MAX_ADMIN = 256 // адміністратор відводить державну землю більшими шматками
const SV_REACH = 96 // як далеко бере приціл
let svA = null // [cx, cz] першого кута
let svB = null // [cx, cz] другого кута
let svBroken = false
function svHolding (player) {
return String(player.mainHandItem.id) === SV_ITEM || String(player.offHandItem.id) === SV_ITEM
}
// чанк під прицілом; якщо приціл у небо — чанк, де стоїть гравець
function svAim (player) {
var hit = null
try { hit = player.rayTrace(SV_REACH) } catch (e) { hit = null }
if (hit && hit.block) return [Math.floor(hit.block.x / 16), Math.floor(hit.block.z / 16)]
return [Math.floor(player.x / 16), Math.floor(player.z / 16)]
}
function svMax (player) { return player.hasPermissions(3) ? SV_MAX_ADMIN : SV_MAX }
function svCount (a, b) { return (Math.abs(a[0] - b[0]) + 1) * (Math.abs(a[1] - b[1]) + 1) }
function svSend (op) {
Client.player.sendData('createrp_survey', { op: op, x1: svA[0], z1: svA[1], x2: svB[0], z2: svB[1] })
}
ItemEvents.rightClicked(SV_ITEM, event => {
var player = event.player
if (player.shiftKeyDown || player.crouching) {
svA = null; svB = null
player.setStatusMessage(Text.gray('Обведення скинуто'))
return
}
var c = svAim(player)
if (!svA) {
svA = c
player.setStatusMessage(Text.yellow('Перший кут: чанк ' + c[0] + ' ' + c[1] + '. Наведи на другий кут і ПКМ'))
} else if (!svB) {
if (svCount(svA, c) > svMax(player)) {
player.setStatusMessage(Text.red('Забагато: ' + svCount(svA, c) + ' чанків, можна до ' + svMax(player)))
return
}
svB = c
player.setStatusMessage(Text.green('Обрано ' + svCount(svA, svB) + ' чанк. Ціна — в чаті. ПКМ ще раз — оформити'))
svSend('price')
} else {
svSend('menu')
}
})
function svDraw () {
var player = Client.player
if (!player || !svA) return
if (!svHolding(player)) return
var b = svB || svAim(player)
var x1 = Math.min(svA[0], b[0]) * 16; var x2 = (Math.max(svA[0], b[0]) + 1) * 16
var z1 = Math.min(svA[1], b[1]) * 16; var z2 = (Math.max(svA[1], b[1]) + 1) * 16
var tooBig = svCount(svA, b) > svMax(player)
var colour = tooBig ? 0xE05050 : svB ? 0x6FE7A0 : 0xFFFFFF
SvOutliner.getInstance().showAABB('createrp_survey', new SvAABB(x1, -64, z1, x2, 320, z2))
.colored(colour).lineWidth(1 / 8).withFaceTexture(SvTextures.CHECKERED)
if (!svB && player.tickCount % 10 === 0) {
player.setStatusMessage(Text.of((tooBig ? '§c' : '§f') + svCount(svA, b) + ' чанк. (' + (Math.abs(svA[0] - b[0]) + 1) + '×' + (Math.abs(svA[1] - b[1]) + 1) + ')' + (tooBig ? ' — забагато' : ' · ПКМ — другий кут')))
}
}
ClientEvents.tick(event => {
if (svBroken) return
try { svDraw() } catch (e) { svBroken = true; console.error('[createrp] land survey outline switched off: ' + e) }
})
// щойно сервер показав на цьому місці ділянку — територію зареєстровано, обведення більше не потрібне
NetworkEvents.dataReceived('createrp_plots', event => {
if (!svA || !svB) return
var text = String(event.data.getString('plots'))
if (text.indexOf(svA[0] + ',' + svA[1]) >= 0 && text.indexOf(svB[0] + ',' + svB[1]) >= 0) { svA = null; svB = null }
})
+9
View File
@@ -9,4 +9,13 @@ StartupEvents.registry('item', event => {
.maxStackSize(1) .maxStackSize(1)
.glow(true) .glow(true)
.tooltip('§7Наведи в інвентарі й затисни §fW§7 — як у Create') .tooltip('§7Наведи в інвентарі й затисни §fW§7 — як у Create')
// «Планшет землеміра»: обвести територію по чанках і зареєструвати її (client_scripts/createrp_survey.js)
event.create('land_survey')
.displayName('Планшет землеміра')
.texture('create:item/schematic_and_quill')
.maxStackSize(1)
.tooltip('§7ПКМ по землі — кут території, ще раз — другий кут')
.tooltip('§7Третій ПКМ — оформити · Shift+ПКМ — скинути')
.tooltip('§7У руці — видно межі ділянок поруч')
}) })
+13
View File
@@ -0,0 +1,13 @@
name = "Armourer's Workshop"
filename = "armourersworkshop-forge-1.21.1-3.4.0-beta.3.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/y4JF3gXL/versions/aXfzs8l3/armourersworkshop-forge-1.21.1-3.4.0-beta.3.jar"
hash-format = "sha512"
hash = "236d3ba7426d51d93047cc7df371351c2f2b67d26badc75e180e5eff9572ac0e34bebcce67262d1da70ad1ceb2547b9e60bf8e8c880dbe299d0d92c3a07862fc"
[update]
[update.modrinth]
mod-id = "y4JF3gXL"
version = "aXfzs8l3"
-13
View File
@@ -1,13 +0,0 @@
name = "Essential Mod"
filename = "Essential_1-3-10-8_neoforge_1-21-1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/k2ZPuTBm/versions/L1fxDroJ/Essential_1-3-10-8_neoforge_1-21-1.jar"
hash-format = "sha512"
hash = "a1ada47c3361e89b19ddbc7ef8def13fd0f3f946ece87299c8146f5b6cf930808c24b3387d9b1e483f4f0c2b0ae161b467fc01005c985fad3bcd5578c70df33a"
[update]
[update.modrinth]
mod-id = "k2ZPuTBm"
version = "L1fxDroJ"
+13
View File
@@ -0,0 +1,13 @@
name = "Immersive Paintings"
filename = "immersive_paintings-neoforge-1.21.1-0.7.9.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/6txNkua3/versions/ItQ1UJGH/immersive_paintings-neoforge-1.21.1-0.7.9.jar"
hash-format = "sha512"
hash = "de3e06f3c9f8ce6f041daff5c2b835ec0f386ccdab7ea7fe2cfec57f808ed25675fe056ff062d5f435f5248aa7f0eb3816ae7d4748da8e53beae2419008cb031"
[update]
[update.modrinth]
mod-id = "6txNkua3"
version = "ItQ1UJGH"
+13
View File
@@ -0,0 +1,13 @@
name = "Joy of Painting"
filename = "xercapaint-neoforge-1.21.1-2.0.1.jar"
side = "both"
[download]
url = "https://cdn.modrinth.com/data/YOs4tZea/versions/73U02HbA/xercapaint-neoforge-1.21.1-2.0.1.jar"
hash-format = "sha512"
hash = "a79e8f5af0a744492a09e1be417a76f4d4a03786b80d9b9fad298480c09a443a2a1ac54826d42fa8d6b5d1c4b4edc8dc227ba2aa642e7ffb3993bbfbf99c971a"
[update]
[update.modrinth]
mod-id = "YOs4tZea"
version = "73U02HbA"
-13
View File
@@ -1,13 +0,0 @@
name = "Sodium Options API"
filename = "sodiumoptionsapi-neoforge-1.0.10-1.21.1.jar"
side = "client"
[download]
url = "https://cdn.modrinth.com/data/Es5v4eyq/versions/lrsX3TMS/sodiumoptionsapi-neoforge-1.0.10-1.21.1.jar"
hash-format = "sha512"
hash = "f2f022183f300961d7d0503461daa59e3e606c32f189f1cb3307edaf765986c541929205b7bf6f40c4c88319696e9d863c1bf711bd441dc9b7081c198ddb445b"
[update]
[update.modrinth]
mod-id = "Es5v4eyq"
version = "lrsX3TMS"
+3 -3
View File
@@ -1,13 +1,13 @@
name = "Create RP" name = "Create RP"
author = "Pinecraft-CreateRP" author = "Pinecraft-CreateRP"
version = "0.12.1" version = "0.14.1"
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 = "10002bb1c03dbdb44e29505dbd8fd94c96071e90ecdc7369873025f33d1cecdd" hash = "b3c0cb9c62ef91eeb45ee62166e0f644a4a52892b3b3c1c1c80733d7983cf40a"
[versions] [versions]
minecraft = "1.21.1" minecraft = "1.21.1"
neoforge = "21.1.228" neoforge = "21.1.259"