Tweaks to quests, add pregen

This commit is contained in:
oitsjustjose 2022-06-22 19:27:10 -05:00
commit 0a65b8013c
3 changed files with 233 additions and 17 deletions

74
config/PregenConfig.toml Normal file
View file

@ -0,0 +1,74 @@
[general]
#Defines how many Dimensions can be generated at the same time, this is due to thread limitations mcs worldgen has. 0 => Single Dimension, 1 => Up to 3 dimensions (Ensures each dimension has at least 2 threads), 2 => Up to 5 Dimensions (Dimensions will fight over CPU Threads due to limitations)
#Range: 0 ~ 2
"Threading Rule" = 2
#Defines if each world should use multiple threads to generate. This feature can improve worldgen speed drastically, but deadlocks can happen with it too.
#If deadlock issues happen, like the worldgen stops randomly, disabling this might fix it for you at the slight slowdown in worldgen
#If the config is changed the pregeneration needs to be restarted
"Multithreaded WorldGen" = true
#Defines if the Improved Command Arguments should be used on Command Creation. If enabled mod is required on client
"Advanced Command Arguments" = true
#Defines if the SyncChunkWrite config should be not forcefully set to false. Note: SyncChunkWrite "May" Prevent data corruption. Though this was only enabled since 1.16 before it was always disabled. Downside of this is that HDDs/SSDs during pregen are at 100% usage ALL the time instead of less then 5%. This can lead to hardware failure much much much much more quickly. This is why the override is enabled by default
"Disable ChunkSyncOverride" = false
#Override increases the Watchdog Kill switch to a minimum of 10 minutes instead of 60 seconds. Because Heavy modpacks cause spikes that can last 60 seconds during pregen and saving, this just reduces crashes by minecraft itself and leaves the killswitch
"Disable Watchdog Override" = false
#Defines how many Players have to be online for the Processor to Auto Pause, -1 = Disabled. It is Inclusive 2 = Allows 1 Player
#Range: > -1
"Player Limit" = -1
#Defines how many milliseconds the Chunk Deleter gets per tick
#Range: 1 ~ 1000
"Deletion Time" = 10
#Defines if there should be a check/warn for a missconfigured server where lag will be most likely happen due to little cores being provided.
docker-warning = true
#Defines if the pregenerator should automatically restart on server start. Automatically set to true when a task is running, and automatically set to false if no task is running
auto-restart = false
#Defines if the Profiler should run in the background or not
enable-profiler = false
[client]
[client.pregen-overlay]
#Defines if the Pregen Overlay should be enabled
pregen-overlay = true
#Defines the Horizontal Alignment of the UI, left to right
#Allowed Values: START, CENTER, END
horizontal-alignment = "START"
#Defines the Vertical Alignment of the UI, top to bottom
#Allowed Values: START, CENTER, END
vertical-alignment = "START"
#Defines the Scale of the Overlay
#Range: 0.1 ~ 10.0
scale = 1.0
[client.profiler-overlay]
#Defines if the Profiler Overlay should be enabled
profiler-overlay = true
#Defines the Horizontal Alignment of the UI, left to right
#Allowed Values: START, CENTER, END
horizontal-alignment = "START"
#Defines the Vertical Alignment of the UI, top to bottom
#Allowed Values: START, CENTER, END
vertical-alignment = "START"
#Defines the Scale of the Overlay
#Range: 0.1 ~ 10.0
scale = 1.0
#Reference to save which dimension is currently detailed
detailed-dimension = "minecraft:overworld"
[client.MiniMap]
#If you have access to this feature if it should be enabled. This will just turn off the MiniMap and disable any data synchronization
enable-minimap = true
#This decides the LOD (Level Of Detail) of the MiniMap. This is here to ensure you can control how much GPU ram you will need
#There are 4 modes, Auto, MAX, High, Medium
#AUTO will basically ensure the minimap will never exceed 300MB of GPU ram per minimap
#MAX will basically apply no LOD. Which at max radius (1k chunks) will require 4GB of GPU Ram
#High is the first level of LOD. Which will only show 1/4th of the detail. Which will take at max radius 1GB of GPU ram
#Medium is the second level of LOD. Which will only show 1/16th of the detail. Which will take at max radius 250MB of GPU Ram
#Allowed Values: AUTO, MAX, HIGH, MEDIUM
lod = "AUTO"
#If you hover with your mouse over the MiniMap that it should show a large version of said miniMap
large-hover = true
#If you need to refresh the Supporter info set this to true and on the next game restart it will automatically update the info.
update-supporters = false

View file

@ -13,5 +13,163 @@
}
default_quest_shape: ""
default_hide_dependency_lines: false
quests: [ ]
quests: [
{
title: "Ferrous Thoughts"
icon: "create:crushed_iron_ore"
x: 0.0d
y: -2.5d
shape: "diamond"
description: [
"After hitting the mines and spending hours at the forge waiting for your raw ores to smelt, you use this time to think about ways to improve your current technological innovations (or lack thereof)."
""
"One thought crossed your mind - maybe there's some way to harden iron, almost as if like steel, but using a shock of energy instead of intense heat?"
""
"Maybe some TNT will do the job.."
]
dependencies: ["14E668FC6B54906E"]
size: 1.25d
id: "0995DFA3EBC4BDB9"
tasks: [
{
id: "000B3D840BEBCF90"
type: "item"
item: "minecraft:tnt"
}
{
id: "77873F198AA598D7"
type: "item"
item: "minecraft:iron_ingot"
}
]
rewards: [{
id: "65E937E99D4A31CD"
type: "item"
item: "create:experience_nugget"
count: 3
random_bonus: 6
}]
}
{
title: "Successful Compression"
x: 0.0d
y: -0.5d
shape: "hexagon"
description: ["Huh, that worked! It might be worth exploring how many iron ingots I can convert with a single explosion, and what this incredibly durable material can be used for."]
dependencies: ["0995DFA3EBC4BDB9"]
id: "1180C4A43309EC2B"
tasks: [{
id: "0BDFCF96E48E3F88"
type: "item"
item: "pneumaticcraft:ingot_iron_compressed"
}]
rewards: [{
id: "4323DFF9E572A95E"
type: "item"
item: {
id: "patchouli:guide_book"
Count: 1b
tag: {
"patchouli:book": "pneumaticcraft:book"
}
}
}]
}
{
title: "Impressive Compression"
icon: "pneumaticcraft:pressure_chamber_wall"
x: 4.0d
y: -0.5d
shape: "octagon"
description: [
"You notice that the rate at which air pressure is coming through this compression is quite incredible. Maybe you can reproduce that same explosive energy with this?"
""
"The book seems to have a lot of useful info for building this monolithic structure."
""
""
]
dependencies: ["7DFD575B7AB66CA9"]
size: 1.5d
id: "1C02FDF771A7D920"
tasks: [
{
id: "5F8A68E3F5C36F6E"
type: "item"
item: "pneumaticcraft:pressure_chamber_wall"
count: 22L
}
{
id: "1BF6B0E5F61994A2"
type: "item"
item: "pneumaticcraft:pressure_chamber_glass"
}
{
id: "1C1F0D4DE7E564B9"
type: "item"
item: "pneumaticcraft:pressure_chamber_valve"
}
{
id: "2EC509D0F017B4C4"
type: "item"
item: "pneumaticcraft:pressure_chamber_interface"
count: 2L
}
]
rewards: [
{
id: "10EDE6208427DBE2"
type: "command"
auto: "invisible"
command: "/open-patchouli-book @p pneumaticcraft:book pneumaticcraft:manufacturing/pressure_chamber 2"
player_command: false
}
{
id: "35FF457D23719417"
type: "item"
item: "create:experience_nugget"
count: 7
random_bonus: 9
}
]
}
{
title: "Under Pressure"
icon: {
id: "ftbquests:custom_icon"
Count: 1b
tag: {
Icon: "pneumaticcraft:textures/item/upgrades/security.png"
}
}
x: 2.0d
y: -0.5d
shape: "hexagon"
description: [
"Since this Compressed Iron is so incredibly durable, it seems to be leak-proof when applied in crafting recipes. Maybe it can be used to create a positive air-pressure system?"
""
"Feeling lost? That PNCR Manual handed down to you seems to be a wealth of useful knowledge.."
]
dependencies: ["1180C4A43309EC2B"]
id: "7DFD575B7AB66CA9"
tasks: [
{
id: "7A48FD608631D659"
type: "item"
item: "pneumaticcraft:pressure_tube"
}
{
id: "37629C06FD8A9D2F"
type: "item"
item: "pneumaticcraft:air_compressor"
}
]
rewards: [{
id: "4F53791F79E74A15"
type: "item"
item: "create:experience_nugget"
count: 4
random_bonus: 4
}]
}
]
}

View file

@ -30,22 +30,6 @@
observe_type: 1
to_observe: "minecraft:logs"
}]
rewards: [
{
id: "52C466F2DA552769"
type: "command"
auto: "invisible"
command: "/say Hi @p, we are running some Chunk Pregeneration for you so your exploration process is more enjoyable!"
player_command: false
}
{
id: "24B84EBA5691ECD3"
type: "command"
auto: "invisible"
command: "/chunky start minecraft:overworld square 0 0 1024"
player_command: false
}
]
}
{
title: "Pneumatics"