Makes bluespace toilets react to bluespace content

Since I had ended up fluffing them to work on Bluespace Magic™️ I figured they should do what other bs tp stuff does, so now flushing something containing BoH kinda things will scramble the destination coordinates and land it somewhere random instead :v

Just another unimportant boredom brainfart moment tbh
This commit is contained in:
Verkister
2022-10-30 14:57:01 +02:00
committed by GitHub
parent 4157a6dc1b
commit 2190676c88

View File

@@ -46,7 +46,21 @@
spawn(refill_cooldown)
for(var/atom/movable/F in bowl_contents)
if(F.loc == src)
F.forceMove(exit_landmark)
var/list/bs_things = list()
var/bs_error = FALSE
for(var/item in bluespace_item_types)
if(istype(F, item))
bs_error = TRUE
else
bs_things |= F.search_contents_for(item)
if(bs_error || LAZYLEN(bs_things))
bs_things.Cut()
bs_error = rand(1, 100)
var/list/posturfs = circlerangeturfs(exit_landmark,bs_error)
var/destturf = safepick(posturfs)
F.forceMove(destturf)
else
F.forceMove(exit_landmark)
bowl_contents.Cut()
refilling = FALSE
return
@@ -159,4 +173,4 @@
B.name = "waste hopper"
B.desc = "With a resounding CRUNCH, your form has gotten snagged by the Muffin Monster's rotational interlocking cutters indiscriminately crunching away at anything unlucky enough to end up in its hopper, only for the insatiable machine to grind it all down into a slurry mulch fine enough to pass through the narrow sewage lines trouble-free..."
B.digest_brute = 20
B.special_entrance_sound = 'sound/machines/blender.ogg'
B.special_entrance_sound = 'sound/machines/blender.ogg'