more door

This commit is contained in:
Metis
2024-05-26 18:29:42 -04:00
parent 29fb631394
commit 77ef9cfb53
3 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
/obj/machinery/door/airlock
/obj/machinery/door
var/fatness_to_check = 0
var/check_fatness = FALSE
var/check_below = FALSE
var/check_fatness_below = FALSE
/obj/machinery/door/airlock/proc/change_fatness_to_check(mob/user)
/obj/machinery/door/proc/change_fatness_to_check(mob/user)
var/fatness_type = input(usr,
"What level of fatness do you wish to alert above/under at?",
src, "None") as null|anything in list(
+2 -2
View File
@@ -178,9 +178,9 @@
//GS13 EDIT
var/mob/living/carbon/human/bump_mob = M
if(check_fatness && istype(bump_mob))
if(check_below && (bump_mob.fatness >= fatness_to_check))
if(check_fatness_below && (bump_mob.fatness >= fatness_to_check))
return FALSE
if(!check_below && (bump_mob.fatness < fatness_to_check))
if(!check_fatness_below && (bump_mob.fatness < fatness_to_check))
return FALSE
return ..()
+1
View File
@@ -3129,6 +3129,7 @@
#include "GainStation13\code\obj\items\holy.dm"
#include "GainStation13\code\obj\items\minor_items.dm"
#include "GainStation13\code\obj\items\sensors\weight_infared.dm"
#include "GainStation13\code\obj\structure\airlock.dm"
#include "GainStation13\code\obj\structure\calorite_doors.dm"
#include "GainStation13\code\obj\structure\candylight.dm"
#include "GainStation13\code\obj\structure\fountain.dm"