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