Misc Tweaks

Fixes a space vine runtime

Makes it so space vines can't climb stairs (because that leads to practically unkillable stacks of vines that lag the server)

Makes it so space vines can't grow on open space (because you usually can't kill vines if they're way out in open space and that doesn't make much sense anyway.)

Attempts to limit the maximum range of plant bioluminescence (having hundreds or thousands of dynamic light sources with maximum possible light range seems to lag the server)

Adds a funny dog that no one should ever actually spawn but I will one day as a joke and everyone will cry. (its base form is actually not hostile so if you kill that one the hell you earn will all be on you)
This commit is contained in:
VerySoft
2022-02-17 07:36:53 -05:00
parent 7719832c8d
commit 46b6bbaf74
7 changed files with 110 additions and 16 deletions
+16 -7
View File
@@ -148,10 +148,12 @@
// Or if we fell down the openspace
if((top in oldloc) || oldloc == GetAbove(src))
return
//VOREStation Addition Start
if(istype(AM, /obj/effect/plant))
return
//VOREStation Addition End
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
if(AM.pulledby) // Animating the movement of pulled things is handled when the puller goes up the stairs
return
@@ -199,7 +201,10 @@
/obj/structure/stairs/bottom/use_stairs_instant(var/atom/movable/AM)
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
//VOREStation Addition Start
if(istype(AM, /obj/effect/plant))
return
//VOREStation Addition End
if(isliving(AM))
var/mob/living/L = AM
@@ -401,10 +406,12 @@
// Or if we climb up the middle
if((bottom in oldloc) || oldloc == GetBelow(src))
return
//VOREStation Addition Start
if(istype(AM, /obj/effect/plant))
return
//VOREStation Addition End
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
if(AM.pulledby) // Animating the movement of pulled things is handled when the puller goes up the stairs
return
@@ -450,10 +457,12 @@
/obj/structure/stairs/top/use_stairs_instant(var/atom/movable/AM)
if(isobserver(AM)) // Ghosts have their own methods for going up and down
return
//VOREStation Addition Start
if(istype(AM, /obj/effect/plant))
return
//VOREStation Addition End
if(isliving(AM))
var/mob/living/L = AM
if(L.grabbed_by.len) // Same as pulledby, whoever's holding you will keep you from going down stairs.
return