branchrust_reboot/main/primitive_gmcancel

152 Commits over 123 Days - 0.05cph!

11 Months Ago
Codegen
11 Months Ago
Fix items showing red (restricted) in F1 menu if they were blocked for crafting/vending but allowed in loot
11 Months Ago
merge from primitive -> primitive_gm
11 Months 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
11 Months 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
11 Months 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)
11 Months 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
11 Months Ago
Spawn 50% of the sulfur nodes in primitive era
11 Months Ago
Add support for float weights for spawn populations Add support to give prefabs different weights based on the era of the server
11 Months Ago
Add `enforce_era_restrictions` command to delete all restricted items that sneak past the existing restrictions
11 Months 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
11 Months Ago
Ensure on the server that items can't be crafted in the wrong era
11 Months Ago
Make pistol ammo loot only as well
11 Months Ago
merge from main -> primitive_gm
11 Months Ago
Make chainsaw and jackhammer only available from loot in primitive era
11 Months 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
11 Months 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
11 Months Ago
Increase workbench tax in primitive gamemode T1 0% -> 10% T2 10% -> 20% T3 20% -> 40%
11 Months Ago
Disable bradley & cargo ship
11 Months Ago
Also block the train tunnel entrances that spawn outside of monuments
11 Months Ago
merge from main -> primitive_gm
11 Months Ago
S2P monuments with train tunnel entrances
11 Months Ago
Add trash pile to ferry terminal train entrances since it's a different prefab
11 Months Ago
Add trash pile to block train tunnel monument entrances when train tunnels is disabled
11 Months Ago
Add support for prefabs to be enabled to block the train tunnel entrances when train tunnels is disabled
11 Months Ago
Disable following monuments in primitive - nuclear missile silo - oil rigs - excavator - underwater labs
11 Months Ago
Create ScriptableWorldConfig so we can override terrain generation for each gamemode - have to use a new object since gamemodes are spawned after the terrain is generated
11 Months Ago
Re-add molotov as it accidently got removed
11 Months Ago
Restrict additional items - mlrs - 40mm grenade ammo (since MGL was already removed) - all rocket ammo (since launcher was already removed) - C4 - HV & incendiary pistol ammo - homing launcher & ammo
11 Months Ago
Fix restricted items showing up in quick craft
11 Months Ago
Fix restricted items showing up when searching crafting menu
11 Months Ago
Fix favorites in crafting menu being shown when restricted
11 Months Ago
Fix for RPC not filtering out the sell orders in a different era
11 Months Ago
Cherrypick CS110544 compile fix (unsure why it didn't show in this branch originally)
11 Months Ago
merge from main -> primitive_gm
11 Months Ago
Try catch convars when setting up gamemode incase one of the convars throws an error upwards
11 Months Ago
Redo the way server event convars are applied by storing the changes and applying them once the event prefab is loaded - we need to do this because convars can be ran before the event's scheduling prefab has been loaded on the server
11 Months Ago
Fix gamemode failing to run startup methods if it was spawned before ServerMgr
11 Months Ago
Add convar to control if oil rigs should generate on the map - disable oil rigs in primitive
11 Months Ago
Fixed static workbenches not having primitive version of tech tree attached to them
11 Months Ago
Fix T2 and T3 tech tree not marked as available in primitive
11 Months Ago
Restrict spring since it's only used for restricted weapons - remove spring from pressure plate in primitive to make it craftable with spring removal
11 Months Ago
Remove rifle body, SMG body, semi body since they are only used for restricted weapons
11 Months Ago
Fix metal detector not applying item era restrictions
11 Months Ago
Restrict access to rifle ammo since no weapons that use rifle ammo are available
11 Months Ago
Fix advent calendar able to bypass primitive era item restrictions
11 Months Ago
Remove `npc_junkpile_a_spawn_chance` and `npc_junkpile_g_spawn_chance` convars as no junkpiles in the project actually use the components the convars are referenced in - replace with the normal convar `npc_junkpilespawn_chance`
11 Months Ago
Restrict double barrel shotgun
11 Months Ago
Disable all scientists in primitive mode
11 Months Ago
Add convars to block NPCs from spawning - `npc_spawn_on_junkpile` specifically for junkpiles - `scientist_spawners_enabled` will disable all scientists spawning (peaceful & hostile)