4,616 Commits over 1,280 Days - 0.15cph!
Enable horse comfort only on campfire prefabs
- campfire
- skull firepit
- cursed cauldron
merge from primitive_gm -> primitive
Fix T2 and T3 tech tree not marked as available in primitive
Restrict spring since it's only used for restricted weapons
- remove spring from pressure plate in primitive to make it craftable with spring removal
Remove rifle body, SMG body, semi body since they are only used for restricted weapons
Fix metal detector not applying item era restrictions
Restrict access to rifle ammo since no weapons that use rifle ammo are available
Fix advent calendar able to bypass primitive era item restrictions
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`
Restrict double barrel shotgun
Disable all scientists in primitive mode
Add convars to block NPCs from spawning
- `npc_spawn_on_junkpile` specifically for junkpiles
- `scientist_spawners_enabled` will disable all scientists spawning (peaceful & hostile)
Whoops: supposed to KEEP the RHIB in primitive
Set convar in primitive gamemode so rowboat spawns rear of cargo instead of rhib (since RHIB is supposed to be disabled)
Add convar `cargo_escape_boat_rhib` to control whether a rowboat or rhib will spawn on the back of cargoship
merge from primitive_gm -> primitive
Ensure missions can't give out items that are blocked by an era
- ideally missions rewards are changed if they aren't allowed in an era but this is a failsafe
Ensure vending machines don't sell restricted items
- block orders with restricted items from being networked
- also block it from being bought if the sell order somehow goes through
merge from primitive_gm -> primitive
Show a red background around restricted items in the F1 menu
Add primitive version of T1 tech tree, except satchel is missing (as an example)
Mark existing tech trees as the unknown era
Add support for a different tech tree for primitive gamemode
Modify era editor window so you can select an era and see what items are blocked
- default is "none", will show orange for unassigned items
- selecting "primitive" will show red for blocked items
▆▉▊▅█ ▄▊▌▋ ▌▉▆_▍▅▅▌▄▉▍█▉▄_▆▇▅▆▊█_▍▅▉▇▉_█▉▊▆ -> ▅▉▉█
▋▆▍ ▌▍▅▅▇▊█▌▉▆ ▊█▆▊▍▍ (▄█ ▋▄▄▄▉▋▌▊) ▇▆▄▅▇ ▆▉▇█ █▄▊▅▉▌▋▅▆▌ ▅▌▆▉ ▍ ▌▆▍▆▍▌ ▇▇▇▊▆
- ▆▋▇▌█▌▌ ▆▉▍█▇▅▆▆▌▇ ▍▊▋▄▊ ▄▇ ▅▆▇█ ▉▄▊▇ █▆ ▉▍▌█▇▇▄▄▄
merge from primitive_gm -> primitive
Fix compile error from using statement creeping in
merge from primitive_gm -> primitive
merge from primitive_gm -> primitive
Ensure primitive gamemode sets the era convar to "primitive" (which is what applies the item restrictions)
Fix items being blocked when server has unassigned era
Only following weapons enabled in primitive
- melee
- bow, crossbow, compound bow
- nailgun
- water pipe
- double barrel
- revolver
Unassign all item's eras to start from scratch
merge from main -> primitive_gm
Items not assigned to an era will be available to all eras
Disable saving item after changing an item's era because it actually lag spikes the editor
Double the amount of horses spawned in the wild in primitive gamemode from 2 -> 4 per km^2
When trying to change replicated convars from the F1 menu on the client / from the editor, send the replicated convar to the server (as if you prefixed it with `sv`) instead of telling the client it can't change replicated convars locally
Add convars for boat purchases as well
- `vendor_sub_solo_enabled`
- `vendor_sub_duo_enabled`
- `vendor_rowboat_enabled`
- `vendor_rhib_enabled`
Add primitive gamemode to manifest so it can be loaded
Now that we have convars, apply default settings to primitive gamemode
- block metal & hqm upgrade tiers
- disable patrol heli event
- disable purchase of minicopter, scrap heli & attack heli from airwolf vendor (he only sells hot air balloon now)
Added replicated convars to control vehicle purchases
`vendor_minicopter_enabled`
`vendor_hab_enabled`
`vendor_attack_heli_enabled`
`vendor_scrap_heli_enabled`
Will modify the conversation options of the NPCs so you don't see blocked vehicles available for purchase & block the purchase of the vehicle itself
Fixed server events being removed from list of events when disabled
Fixed toggling server event not being printed to server console
Add convars to modify server events
`print_server_events` will list all events & their settings
`set_event_enabled <event> <true|false>` will enable/disable events
`set_event_min_delay <event> <delay>` will set in-game hour minimum delay
`set_event_max_delay <event> <delay>` will set in-game hour maximum delay