mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
adds verb returns (#30226)
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
static_inventory += using
|
||||
|
||||
var/mob/camera/blob/B = user
|
||||
if(!B.is_offspring && (length(GLOB.clients) > GLOB.configuration.event.blob_highpop_trigger)) // Checks if the blob is an offspring or below a population value, to not create split button if it is
|
||||
if(!B.is_offspring && (length(GLOB.clients) >= GLOB.configuration.event.blob_highpop_trigger)) // Checks if the blob is an offspring or below a population value, to not create split button if it is
|
||||
using = new /atom/movable/screen/blob/split()
|
||||
using.screen_loc = ui_acti
|
||||
static_inventory += using
|
||||
|
||||
@@ -385,6 +385,9 @@
|
||||
if(is_offspring)
|
||||
to_chat(src, "<span class='warning'>You cannot split as an offspring of another Blob.</span>")
|
||||
return
|
||||
if(length(GLOB.clients) < GLOB.configuration.event.blob_highpop_trigger)
|
||||
to_chat(src, "<span class='warning'>There isnt enough organic matter on this station to justify a second core.</span>")
|
||||
return
|
||||
|
||||
var/obj/structure/blob/N = (locate(/obj/structure/blob) in T)
|
||||
if(!N)
|
||||
|
||||
Reference in New Issue
Block a user