branchrust_reboot/main/primitive_gmcancel

130 Commits over 92 Days - 0.06cph!

6 Hours Ago
Fix compile error
6 Hours Ago
Move `scientist_spawners_enabled` convar so it blocks spawns from PuzzleReset as well as normal timed spawns - was causing scientists to keep spawning in monuments
Today
Fix server not sending world config to client because it didn't serialize it to the `JsonString` field
Today
Fix client era not being reset to "none" when switching from primitive server -> normal server - era was being sent to client as "unknown" but the client convar wouldn't consider "unknown" as a valid string to change era
Today
merge from primitive -> primitive_gm
Today
Fix old & new horses not working with `ItemManager.GetAllItems()` / enforce_era_restrictions command
Today
merge from primitive -> primitive_gm
Today
ScriptableWorldConfig are now inside a Resources folder and loaded with Resources.LoadAll The problem in the original implementation is that it would have needed explicit bundle assignment, as nothing was referencing those assets in order to pull them into a bundle, this feels more robust and mirrors what we do in other places (like GameModeManifest)
Today
Removed generate_oil_rigs convars since it was added to the wrong script (PlaceMonuments vs. PlaceMonumentsOffshore)
Yesterday
Set initial stock of icepick, salvage axe & large backpack to the same value as their refill amounts
Yesterday
Add support for initial stock of a vending machine to be <10
Yesterday
Initial pass for primitive travelling vendor trades since 6/10 items were removed due to item restrictions (plan to do another pass later once seige equipment has final crafting costs) - wood - stone - metal frags - hqm - sewing kits - gears - large backpack (max 2) - salvaged axe (max 5) - salvage pickaxe (max 5)
Yesterday
Add support for alternative vending machine trades per era
Yesterday
Fix tech tree buttons returning the wrong tier of tech tree
Yesterday
Refactor into `TechTreeData.IsAllowedInEra( era )` to keep logic clear
Yesterday
When running "Populate T0" in tech tree editor tool, ensure that only items that are allowed in the era populate the tech tree
2 Days Ago
Ensure techtree filters out items that are not allowed in the era - items don't move into the correct location yet but at least you only see items you can craft in the current era Optimize opening tech tree to make it 4x faster - 500ms -> 130ms lag spike - 55MB allocation -> 13MB allocation - initially thought it was above changes causing it but was long standing issue
2 Days Ago
merge from primitive -> primitive_gm
2 Days Ago
Don't show train tunnel markers inside monuments on the map when underground tunnels is disabled (since they are blocked off with debris)
2 Days Ago
Change reward of shark hunt mission (since it gives out jackhammer but those are loot only now) - 1 icepick + 3 med syringe instead
2 Days Ago
Change reward of "free crates" diving mission in primitive era - used to be pump shotgun, but that's restricted now - instead give 1 combat knife, 1 small backpack, 1 compound bow + 32 arrows
2 Days Ago
Add support for missions to return different rewards in each era
2 Days Ago
merge from main -> primitive_gm
2 Days Ago
merge from primitive -> primitive_gm
3 Days Ago
Add `delete_populations <name> <name2>` command to delete all entities inside a spawn population Add `delete_all_populations` to delete all entities inside every spawn population
3 Days Ago
Fix NRE on server startup by removing the balancing of spawn population weights - trust that the convars will be set early enough in startup - worst case the weights will even themselves out as players consume resources
3 Days Ago
merge from primitive -> primitive_gm
3 Days Ago
Fix horse comfort not working with new ridable horses
3 Days Ago
Codegen
3 Days Ago
Fix items showing red (restricted) in F1 menu if they were blocked for crafting/vending but allowed in loot
3 Days Ago
merge from primitive -> primitive_gm
3 Days Ago
Apply gamemode convars on server startup instead of when the entity is spawned - ensures convars are applied when the rest of server config is loaded
3 Days Ago
Spent a bunch of time trying to ensure that the spawn handler would rebalance the nodes when the server's era is changed and there should be lower % of sulfur nodes
4 Days Ago
Allow spawn.report command to pass true/false for detailed (to print off number of each prefab it spawns) and also pass a string filter (so you can return only ore populations)
4 Days Ago
Fix high tier loot spawning in loot containers as the server starts up - refresh all loot on the server when the era is changed
4 Days Ago
Spawn 50% of the sulfur nodes in primitive era
4 Days Ago
Add support for float weights for spawn populations Add support to give prefabs different weights based on the era of the server
7 Days Ago
Add `enforce_era_restrictions` command to delete all restricted items that sneak past the existing restrictions
8 Days Ago
Add `simulate_loot` command to test what loot will come out of a loot container - picks the closest loot container - default runs 100 times, can increase to 10k times
8 Days Ago
Ensure on the server that items can't be crafted in the wrong era
8 Days Ago
Make pistol ammo loot only as well
8 Days Ago
merge from main -> primitive_gm
8 Days Ago
Make chainsaw and jackhammer only available from loot in primitive era
8 Days Ago
Change era restriction so it's a whitelist of sources you can get it from instead of blacklist of where it's blocked - unless unassigned then it means nothing
8 Days Ago
Add support to only block items from certain sources inside an era - example: making jackhammers available in loot but not available from vending machines
9 Days Ago
Increase workbench tax in primitive gamemode T1 0% -> 10% T2 10% -> 20% T3 20% -> 40%
9 Days Ago
Disable bradley & cargo ship
9 Days Ago
Also block the train tunnel entrances that spawn outside of monuments
9 Days Ago
merge from main -> primitive_gm
9 Days Ago
S2P monuments with train tunnel entrances