branchrust_reboot/main/apartment_complex_monumentcancel
123 Commits over 122 Days - 0.04cph!
Added master key to produce exchange vendor in bandit town
1000 scrap, affected by demand pricing so starts at 2000 (+100%)
Only one available, restocks every 12 IRL hours
VERY PLACEHOLDER values
Fixed Signage inspector not showing manifest info
Fixed remove all option not working on rentable shops
S2P apartments to make sure sign changes get picked up
Removed sockets and deploy volumes from rentable shop signs
Manifest
Delete rentable shop sign item definitions
Rename shop signs to remove .worldmodel suffix
Disable shadows on LOD2/3 of the rentable shop signs
Fixed shop D not using sitting NPC
Apartments S2P
IsSmall LOD check now takes transform scale into account, fixes shadow proxies made with scaled boxes getting disabled incorrectly
Fixed not being able to delete sell orders
Fixed rent multiplier not getting reset when a player closes the store manually
S2P + HLOD aparmtent complex monument
Added a GameobjectLOD for mailbox numbers
Created a ShadowProxyChecker tool that finds all shadow proxies in the curent scene that have no MeshCull component (Tools > Find > Shadow Proxies Without MeshCull)
Fixed all cases in apartment block monu monument (291)
Added Renderer batch where simple primitive cubes have been used, shaves another 200 shadow casters off when standing at the entrance
Added GameObjectLOD to the apartment door numbers, they were always rendering
Added MeshCulls to doormats, they weren't being picked up by the CullingVolume because they had no LOD component
Fixed shipping_container_900_yellow shadow proxy missing a MeshCull
Fixed incorrect LOD setup on a lot of glass meshes
Fixed a bunch of streetlights with an extra mesh applied that had no LOD component
Fixed missing MeshCulls on shadow proxies on every rentable shop
SetPass calls 1423 -> 1170, Shadow casters 1754 -> 1514, Batches 2931 -> 2500
Added a button on MeshLOD to add a missing MeshRenderer and MeshFilter
Fixed poker chip meshes not using LODS at all so were showing all 3 lods at the same time (and not culling ever)
Shopkeeper in store D now sits, removed the chair entity from the hierarchy (just needs a model)
Also removed chair entity from shop E
First pass of updated Rent store dialog
Change priority of close store option
Fixed VMO errors on server restart
Added a close shop option to the rentable shop, immediately closes the shop and transfers all inventory to the player immediately
Can now access admin panel from anywhere when looking at a rentable shop if the shop is open (still need to look at the contract sign to open a store)
InitialScrapFee 260 -> 100
Required hours of rent upfront 24 -> 12
Default cost to open a store is now 220 (was 500)
Fixed some inconsistencies on the open store dialog for hours of rent required
Fixed incorrect MeshLOD setup on apartment.stove.prefab
S2P apartment complex for good measure
Add inventory popups for items collected from reclaim functionality of rentable shop
Fixed rentable shop signs not loading on non owner clients
Fixed break in menu item throwing server side entityref lookup error
Implement lockpick mechanic on rentable vending machines
Lockpick can be used on a rented vending machine not owned by the using player, allows access to the vending machine inventory for ApartmentCommands.intruderauthseconds convar (300s by default)
Move shop costs (InitialScrapFee, ProtectionFromTakeoverHours, ScrapPerHourRent) are now replicated, unchanged values
Swap EntityRefs to Syncvars, remove synced NetworkableIds
Added framework for blocking some items in rentable store inventory
Only allow one shop at a time
Fixed currency not being deposited in vending machine inventory
Fixed VM stats not working on rentable shops
Fixed not being able to buy things from rentable shops due to distance hecks
Add signage.adminscanalwaysupdatesigns replicated convar, controls the previously hardcoded behaviour of admins always being able to modify signs regardless of locks, build status, etc (made testing permisisons harder)
Fixed the sign attached to rentable shops being editable when the shop is closed
Fixed the sign attached to rentable shops being editable after using the randomise shop owner convar
Bypass dynamic pricing for rentable shops (they are player controlled but technically are NPC vending machines)
Enforce a 6 hour protection window from store takeovers
Add rentableshop.ResetTakeoverProtectionOfClosestShop convar
Fixed UIEscapeCapture not working in editor when main menu is disabled
Fixed interact distance on shop B
Fixed interactive door on shop E
Fixed some incorrect prefab ids
Initial first pass on setting up the other rentable shop variants
Expose new overrideMaxImageWidth and overrideMaxImageHeight on Signange
Needed for rentable signs, fixes a bunch of issues
Fixed some RPC limits on change name and add sell order
Fixed wrong starting fee being applied
Add ability to store a toast to play when a player reconnects, can be stored for players that aren't active on the server (See BasePlayer.RecordToastToPlayOnReconnect)
WIll send all of the toasts after the player reconnects and wakes up (10s intervals if multiple have been queued)
A player will now be notified when they reconnect if a shop they owned closed while they were offline