[Client+Server] Hardcore Desert - Pragmium King

Started by Mars, March 10, 2021, 09:13:27 PM


Hardcore desert - Pragmium king

Thanks to Druffzilla, Salvick, J422, Cosiek and Melody for art, code and ideas.

Thanks to ai_enabled, always available to your questions.  This Net5 code is awesome to learn new syntax.

Known bugs:
Won't work with FishingHook mod.
When an item stacks inside a hotbar bag, you won't see item notification on the right of the screen
Drops will stack inside bags (like fruits from a tree, if a stack is not full or your inventory is full), but items won't (if you pick a fruit from the ground)

Mod type: Client-Server mod.

Latest version: 1.69.0

Download latest version for R33: 1.69.0 changes (https://github.com/mars-x24/HardcoreDesert/releases/1.69.0)  MPK (https://github.com/mars-x24/HardcoreDesert/releases/download/1.69.0/HardcoreDesert.mpk) <-----

If you want R33 map, make sure you don't have any Duality mod installed.

GitHub: https://github.com/mars-x24/HardcoreDesert

How to install mod:
Copy HardcoreDesert.mpk in "C:\Users[user]\Documents\AtomicTorchStudio\CryoFall\Mods"
Change file "ModsConfig.xml" in "C:\Users\[user]\Documents\AtomicTorchStudio\CryoFall"

<?xml version="1.0" encoding="utf-8" standalone="yes"?>

Duality map with HardcoreDesert zones: MPK (https://github.com/mars-x24/HardcoreDesert/releases/download/1.68.0/HardcoreDesertDuality.mpk) <-----
Add it under HardcoreDesert in "ModsConfig.xml" file, you must start a new game

New features :

New snow biome by Cosiek

Events :
Mutant Migration - Base raids : Enraged mobs attacking your land claim, consider upgrading your land claim only when necessary and build walls, you can be raided offline.  5 waves of mobs, if your land claim is level 3 to 5, there are enraged pragmium bears spawning, get ready or don't kill the mobs. SHIELD is a good option.

Mutant migration event circle bound to player (You can't see event circles on other land claims)

Spaceship crash site with Crimson Elite NPC - NPC by Salvick, spaceship art by druffzilla and Salvick

Mutant Crawlers Infestation by Salvick

Random Meteors in meteorite drop event
Meteorites can drop on beach, moutains, meadows etc.
SMG NPC on Space debris - NPC by Salvick
PsiGrove always drops pragmium

Mobs :
Pragmium king, Desert Princess, Angry pangolin, Cold bear, Pragmium bear, Large pragmium bear
Added Frozen pangolin and Psi floater

All mobs spawn with a random level 1 to 5.  Level 5 wolf has x5 HP and x5 Loot.
Some mob attack and retreat AI (adds some challenge!)
Zones for mob level restrictions - if you want to make a map, the zone names are ZoneMobLevel 1 to 5.  (I use level 5 on the border around the King)

Vehicles :
Crusher (Behemoth with less armor, but more speed and cargo, axe and pickaxe tool hardpoint) - art by druffzilla

Added a chance for wrecked hoverboard in garbage pile (Rate WreckedHoverboardChance)
Backup weapon on Mechs (Rate VehicleBackupWeaponEnabled)

Resources :
Giant pragmium source

Items :
Vehicle remote control (Teleport any of your vehicle near you) - art by druffzilla
Bags to store food items (Must be in the hotbar, alt-click to open)
Backpacks (Device to increase your inventory slots) -  art by druffzilla
Portable freezer (Basicly a bag with his own power source slot) - art by druffzilla
Herbal medicine - art by druffzilla
Enraged pragmium heart
Logistic robots
Double bait fishing rod
Pragmium fishing rod and baits (Lava fishing)
Hunter's steel tools
Enriched items

Medical cool down to 3 seconds in pve
Jelly Bush mod (corn recipes, butter, jelly fruit recipes) - druffzilla and Salvick

Weapons :
Steppen Hunter, default and Marauder skin - druffzilla
Vanguard T5 Energy weapons - Salvick/J422/Mars
Steel sword - Melody
Katana - Image by Melody

Piercing Energy Canon, Rapier and Steel sword
Don't recall drones when switching to a weapon

Structures :
Wall projector
Large freezer
Refrigerated trading stations
Huge grounded crate
Ender crate - All ender crates have the same inventory container, so you can access the same items from different bases
T5 Teleport and items (king teleport structure, place it on your map, it will create a new teleport after king's death)
World gasoline and seeds trading stations (place it on your map)

Waterfall on the king island - waterfall by druffzilla

Turrets in pve
You can have land claim storage in pve
SHIELD / Raid block in pve
PvE soil/distance requirement for oil and lithium extraction like in PvP
Escape stage 4 needs more item

Quests :
25 new quests like boss remains, new mobs, bags, collect more resources.


Available settings
AchievementsModdedServerEnabled : Achievement enabled in a modded server. Default to disabled like vanilla game.
ConstructionOverlayAlwaysVisible : Determines if you see the construction overlay when building or relocating structures, default to true like vanilla game
MigrationMutantAttackNumber: Number of base under attack for mutant migration event, default 3
MigrationMutantAttackNumberLocalServer: Number of base under attack for mutant migration event, default 1
MigrationMutantDurationWithoutDelay: Mutant migration duration in minutes without the 5 minutes delay, default 15
MigrationMutantWaveCount: Number of waves for mutant migration event, default 5
MigrationMutantMobCount: Number of mobs for each claims, default 1,4,8,13,20
MigrationMutantMobMaxLevelPerWave: Max level of mobs for each wave, default 1,2,3,4,5
ServerGlobalStorageItemsSlotsCapacity: How many global storage slots are allowed per base. The value should be within 0-128 range, default 64
WreckedHoverboardChance: A chance to get wrecked hoverboard in garbage pile (1 / RateValue ;  Default 30 ; Set 0 for none)
VehicleBackupWeaponEnabled : You can deactivate backup weapon on mech
RateGasolineCanisterTradePrice : Price for gasoline in ObjectTradingStationLargeGasoline
RateSeedTradePrice : Price for seeds in ObjectTradingStationLargeSeed



Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
Added Mob levels (random 1 to 5)
Added Giant prag source
Added Cold Bear

Started a Modded Server with it.
Hardcore America (North) PvE


Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
Added Prag bear (images by druffzilla)
Added Vehicle remote control


Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
Added bags and backpacks (backpack images by druffzilla)
Added new quests


just wondering how the small bag for food and medicine works?




Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
Added pistol and musket reskin (images by druffzilla)
Added new gun : Steppen Hunter (images by druffzilla)
Added bag icons





I am using your mod on my server  (Forsaken Isle).. So far I am having no problems, Thank-you.


Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
A30.6.2 compatiblity
Can't put storage item in fridge.
You can now remove the backpack when there is a bag in the character inventory.
Fixed the storage interface when it is inside another chest.


Quote from: Mars on March 10, 2021, 09:13:27 PM
Change log:
Powerbank durability was dropping to fast in portable fridge
Keinite and pragmium backpack rename