Merge pull request #163 from Woodratt/Woodrat_work_v8.1

Woodrat Work v8.1 "Glasslock Edition"
This commit is contained in:
Woodratt
2015-08-20 17:01:56 -07:00
8 changed files with 424 additions and 333 deletions

View File

@@ -46,6 +46,30 @@
can_breach = 1
sprite_sheets = list("Tajara" = 'icons/mob/species/tajaran/suit.dmi',"Unathi" = 'icons/mob/species/unathi/suit.dmi')
supporting_limbs = list()
var/obj/item/weapon/material/hatchet/tacknife
/obj/item/clothing/suit/space/rig/attack_hand(var/mob/living/M)
if(tacknife)
tacknife.loc = get_turf(src)
if(M.put_in_active_hand(tacknife))
M << "<span class='notice'>You slide \the [tacknife] out of [src].</span>"
playsound(M, 'sound/weapons/flipblade.ogg', 40, 1)
tacknife = null
update_icon()
return
..()
/obj/item/clothing/suit/space/rig/attackby(var/obj/item/I, var/mob/living/M)
if(istype(I, /obj/item/weapon/material/hatchet/tacknife))
if(tacknife)
return
M.drop_item()
tacknife = I
I.loc = src
M << "<span class='notice'>You slide the [I] into [src].</span>"
playsound(M, 'sound/weapons/flipblade.ogg', 40, 1)
update_icon()
..()
//TODO: move this to modules
/obj/item/clothing/head/helmet/space/rig/proc/prevent_track()

View File

@@ -145,7 +145,7 @@
environment.add_thermal_energy(-removed_heat)
if (prob(5))
T.visible_message("<span class='warning'>The water sizzles as it lands on \the [T]!</span>")
else if(volume >= 10)
if(T.wet >= 1)
return
@@ -186,7 +186,7 @@
/datum/reagent/water/affect_touch(var/mob/living/carbon/M, var/alien, var/removed)
if(istype(M, /mob/living/carbon/slime))
var/mob/living/carbon/slime/S = M
S.adjustToxLoss(8 * removed) // Babies have 150 health, adults have 200; So, 10 units and 13.5
S.adjustToxLoss(15 * removed) // Babies have 150 health, adults have 200; So, 10 units and 13.5
if(!S.client)
if(S.Target) // Like cats
S.Target = null