Dirt
Edit rcore_housing/configs/config.dirt.lua to control the dirt and cleaning system inside SHELL and IPL interiors.
๐ Master Switch
Config.Dirt.Enable = falseDisabled by default. Enable it to spawn dirt props inside player properties over time.
๐ช๏ธ Spawning
Config.Dirt.MaxPerProperty = 10
Config.Dirt.MinDistance = 2.0
Config.Dirt.PointMinDistance = 3.5
Config.Dirt.SpawnChance = 2
Config.Dirt.SpawnInterval = { 30000, 130000 }MaxPerProperty
Hard cap on dirt objects per property.
MinDistance
Minimum metres between dirt objects.
PointMinDistance
Minimum metres from interaction points (exit, storage).
SpawnChance
Per-cycle chance (%) to spawn a dirt object.
SpawnInterval
{min, max} milliseconds between spawn attempts.
๐ฆถ Slipping & Footsteps
When a player walks into a dirt area, there's a SlippingChance % chance of ragdolling.
Footsteps leave decal stains as players walk on dirty floors.
๐งน Mop
The mop system uses a prop_cs_mop_s prop attached to the right hand (bone 60309) and a prop_cs_bucket_s bucket attached to the spine (bone 57005).
Dirty Level
When enabled, sweeping fills up a per-mop dirty meter. Once the meter passes Threshold, the player must rinse the mop in the bucket before cleaning effectiveness improves again.
๐งฑ Dirt Objects
Config.Dirt.Objects is a weighted list of dirt props with their spawn metadata:
model
Prop model name.
label
UI label shown when picking up.
weight
Spawn weight relative to other entries.
interior
true spawns only inside (kitchen/livingroom props); false only outside; omit for both.
Last updated