mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-20 12:12:26 +01:00
lets micros breathe, adds unaware
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
|
||||
//Here comes the fetish code.
|
||||
//This stuff will definitely, absolutely, completely need to be touched up later -Dahl
|
||||
/obj/item/clothing
|
||||
var/recent_struggle = 0
|
||||
var/mob/M
|
||||
@@ -37,7 +39,7 @@
|
||||
else
|
||||
var/obj/item/clothing/head/mob_holder/holder = I
|
||||
if(holder.held_mob && (holder.held_mob in holder))
|
||||
//var/mob/living/M = holder.held_mob
|
||||
var/mob/living/M = holder.held_mob
|
||||
//holder.dump_mob()
|
||||
to_chat(M, "<span class='warning'>[user] stuffs you into \the [src]!</span>")
|
||||
M.forceMove(src)
|
||||
@@ -45,6 +47,28 @@
|
||||
else
|
||||
..()
|
||||
|
||||
/obj/item/clothing/shoes/assume_air(datum/gas_mixture/env)
|
||||
var/atom/location = loc
|
||||
if(!loc)
|
||||
return //null
|
||||
var/turf/T = get_turf(loc)
|
||||
while(location != T)
|
||||
location = location.loc
|
||||
if(ismob(location))
|
||||
return location.loc.assume_air(env)
|
||||
return location.assume_air(env)
|
||||
|
||||
/obj/item/clothing/shoes/remove_air(amount)
|
||||
var/atom/location = loc
|
||||
if(!loc)
|
||||
return //null
|
||||
var/turf/T = get_turf(loc)
|
||||
while(location != T)
|
||||
location = location.loc
|
||||
if(ismob(location))
|
||||
return location.loc.remove_air(amount)
|
||||
return location.remove_air(amount)
|
||||
|
||||
/obj/item/clothing/shoes/attack_self(var/mob/user)
|
||||
for(var/mob/M in src)
|
||||
M.forceMove(get_turf(user))
|
||||
@@ -53,6 +77,15 @@
|
||||
|
||||
..()
|
||||
|
||||
//Couldn't help myself but add this. Might need a balance pass later, depending on how it's inevitably abused
|
||||
/obj/item/clothing/shoes/MouseDrop(atom/over_object)
|
||||
var/mob/living/M = usr
|
||||
if(!ishuman(M) || !M.Adjacent(src) || M.incapacitated())
|
||||
return FALSE
|
||||
if(M.size_multiplier <= 0.25)
|
||||
to_chat(M, "<span class='notice'>You crawl into \the [src]!</span>")
|
||||
M.forceMove(src)
|
||||
|
||||
/obj/item/clothing/shoes/container_resist(mob/living/micro)
|
||||
var/mob/living/carbon/human/macro = loc
|
||||
if(!istype(macro))
|
||||
|
||||
Reference in New Issue
Block a user