the slimening (god shittest coder edittion)#24
Conversation
f27c280 to
c479c65
Compare
|
Making it in parts since next one I'm doing is blood and all of them at once is probably a lot and honestly have no idea if you guys are okay with species changes or not |
|
Initial thoughts looking at this, it feels strange being both a toggle and based on shoes. I think it should be just based on shoes, so that walking barefoot is potentially dangerous. |
Added this because in ss13 you can also clean things and your your clothes, it is not a thing here yet but if it's get added it's good to be a toggle on of if you want to be looking dirty or not, there you also always absolve liquids on the ground always, independent from species. Can change it tho |
Barefoot slimepeople passively slurp up puddles and clean cleanable dirt off the tiles they walk over. Slurped reagents are funneled into the stomach so they metabolize normally (food nourishes, toxins harm), plus a flat bit of hunger per volume absorbed and per dirt decal cleaned. The behaviour can be toggled with an innate action, and only works while barefoot.
c479c65 to
27bb8e1
Compare
About the PR
Gives slimepeople a passive ability: walking over a tile slurps up any puddle
on it and cleans cleanable dirt decals (while barefoot, since that part is
done with the feet). On top of that, the slime also soaks stains off its own
worn clothing and anything held in its hands as it moves — that part works
shoes or not, since it soaks straight through the body. Whatever is slurped is
ingested into the stomach, so reagents metabolize normally (food nourishes,
water hydrates, toxins harm). Cleaning always gives a small flat amount of
hunger too, so a slime can stay fed by tidying up. The ability can be toggled
on/off with an innate action.
Why
I want this server's slimepeople to feel different from how other servers
handle the species, and to bring them closer to the SS13 slimeperson they're
based on. With the new clothing-stains system in, it felt natural to let a
slime lick itself clean. This is just one of several slime-specific features
I'm planning to add.
Balance
Hunger from cleaning is deliberately modest and fully tunable via datafields:
AbsorbVolume(15u) — reagent slurped per tile (also the cap per stained item)Cooldown(0.5s) — time between absorptionsNutritionPerVolume(0.3) — hunger per unit slurped from puddles and stainsNutritionPerDecal(2) — hunger per dirt decal cleanedFloor puddles and dirt require being barefoot (empty shoes slot), so that part
competes with footwear. Cleaning stains off worn/held items does not.
Technical
SlimeFloorAbsorptionComponent+ToggleSlimeFloorAbsorptionEventSlimeFloorAbsorptionSystem(listens toMoveEvent, acts onceper new tile; ingests via the stomach, cleans decals via
DecalSystem)StainableComponent"stain" solution off wornclothing and held items (via
GetHandOrInventoryEntities) into the stomachand refreshes its visuals through
StainSystem.UpdateVisualsMobSlimePersonMedia
Changelog
🆑