removes setup for ventcrawl implant in case of redundancy
This commit is contained in:
@@ -31,8 +31,7 @@
|
||||
// Ventcrawling defines
|
||||
#define VENTCRAWLER_NONE 0
|
||||
#define VENTCRAWLER_NUDE 1
|
||||
#define VENTCRAWLER_IMPLANT 2
|
||||
#define VENTCRAWLER_ALWAYS 3
|
||||
#define VENTCRAWLER_ALWAYS 2
|
||||
|
||||
// Bloodcrawling defines
|
||||
#define BLOODCRAWL 1
|
||||
|
||||
@@ -59,15 +59,10 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, typecacheof(list(
|
||||
if(!client)
|
||||
return
|
||||
|
||||
if(iscarbon(src))
|
||||
switch(ventcrawler)
|
||||
if(VENTCRAWLER_NUDE)
|
||||
if(length(get_equipped_items(include_pockets = TRUE)) || get_num_held_items())
|
||||
to_chat(src, "<span class='warning'>You can't crawl around in the ventilation ducts with items!</span>")
|
||||
return
|
||||
if(VENTCRAWLER_IMPLANT)
|
||||
if(getBackSlot() || getBeltSlot() || get_num_held_items())
|
||||
to_chat(src, "<span class='warning'>You can't crawl around in the ventilation ducts with what you have equipped!")
|
||||
if(iscarbon(src) && ventcrawler==VENTCRAWLER_NUDE)
|
||||
if(length(get_equipped_items(include_pockets = TRUE)) || get_num_held_items())
|
||||
to_chat(src, "<span class='warning'>You can't crawl around in the ventilation ducts with items!</span>")
|
||||
return
|
||||
|
||||
visible_message("<span class='notice'>[src] scrambles into the ventilation ducts!</span>","<span class='notice'>You climb into the ventilation ducts.</span>")
|
||||
forceMove(vent_found)
|
||||
|
||||
Reference in New Issue
Block a user