mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 11:43:31 +00:00
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:
@@ -46,6 +46,20 @@
|
|||||||
spawn(refill_cooldown)
|
spawn(refill_cooldown)
|
||||||
for(var/atom/movable/F in bowl_contents)
|
for(var/atom/movable/F in bowl_contents)
|
||||||
if(F.loc == src)
|
if(F.loc == src)
|
||||||
|
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)
|
F.forceMove(exit_landmark)
|
||||||
bowl_contents.Cut()
|
bowl_contents.Cut()
|
||||||
refilling = FALSE
|
refilling = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user