3,350 Commits over 976 Days - 0.14cph!
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 -> aux2
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
Create primitive gamemode prefab
Also expose ability to modify a weapon's workbench level via an override
Add ability to override crafting cost & crafting time of items based on the era
Save item to disk immediately when modifying era of item via era editor window
Add convars to control what building grades are allowed
- `upgrade_{grade}_enabled` will remove upgrade tiers
- `upgrade_{grade}_cost_multiplier` will increase or decrease the cost
- `build_twig_cost_multiplier` is used for twig
- replicated so applied to both the clientside UI & server resources taken
merge from main -> primitive_gm
Apply era restrictions to recycler output so you can't recycle items to get blocked items
Enforce era restrictions onto loot tables
- likely will have custom loot tables but this prevents any items squeaking through
- caches valid items for each era in loot tables, resets when era is modified
Cherrypick era convar after merge
merge from main -> primitive_gm
Create menu in editor that lists all monuments so you can easily open the scene
- use codegen to generate menu since unity wants to use attributes to configure their UI
- run codegen after RPC & convars
Also create menu to open monument island & assign a specific monument as the prefab
▉▋██▋ ▊▊█▍ ▉▉▉_▌▅▅█▍▋▉▉▉_▅▊▇▋▅_█▍▊▌▍▆▌▊▋▇ -> ▌▋▆▄
▍█▋ ▆▆▋▅▍▌ ▅▋▋▅▊█▌▉▅ ▉▅█ ▍▉▄▊█▉▇█ ▄▉▍█▉▇▇▍▄ ▅█▅▊▉█
- ▅█ ▉█▄██▉▌ ▍▄▄▍▋ ▊▌▅▌ ▉▋▊▌▆▊▆ ▅▌▉ ▄▅▍▌▇▅▌▅▍
- ▅▇▍▉▄▅▉ ▉▇▇▆▇ ▇▆▇▄ ▋▋▇▆▍▅▍▊▍▉ -> ▋▍▆▊▌▌▉▌▄▉▊▆
merge from fix_barricade_placement_excavator -> main
Mark coal piles at excavator as "barricades allowed"
merge from fix_exavator_bucket_lod -> main
merge from fix_exacator_bucket_lod -> main
Remove last LOD from excavator bucket wheel so the wheel can always be seen spinning
- allows you to see if excavator is active from >100m away
▉▄▅▇▅ ▆▉▆▊ ▌▆█_▅▉▋▄█▍▄█_▄▌▇▆_▋▆▍▅▆▉ -> ▅█▌▇
▄▋█ ▄▊█▄▋▉▉▉ & ▊█▍▄▇▄▆▍▄ ▍▉▆ ▍▊▉▄▉▍▋ ▌▅ █▆▆ ▊▊▄▉▉▌ ▍▄ █▉▆▊▇▅▄ & ▅▄▍▄▊█▉ ▉█▅▇