mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
fingerprints on cans now log on any attackby() that isn't a wrench/analyzer/pda/tank
added a 2 minute countdown var to humans/monkeys that resets when move() is called (for an actual fix to the cuffbreak bug) changed a typo in security levels committed a gib animation fix for Sieve (todo: make custom gib animations for simple_animals/metroids) git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2750 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -164,6 +164,7 @@
|
||||
for(var/mob/V in viewers(src, null))
|
||||
V.show_message(text("\red [user] hits the [src] with a [W]!"))
|
||||
src.health -= W.force
|
||||
src.add_fingerprint(user)
|
||||
healthcheck()
|
||||
..()
|
||||
|
||||
|
||||
@@ -713,7 +713,7 @@
|
||||
|
||||
for(var/mob/living/carbon/metroid/M in view(1,src))
|
||||
M.UpdateFeed(src)
|
||||
|
||||
src.moved_recently = 120
|
||||
return
|
||||
|
||||
/mob/living/carbon/human/update_clothing()
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
playsound_local(src,pick(scarySounds),50, 1, -1)
|
||||
|
||||
..() //for organs
|
||||
|
||||
src.moved_recently = max(0, moved_recently-1)
|
||||
|
||||
/mob/living/carbon/human
|
||||
proc
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
step(src, pick(cardinal))
|
||||
if(prob(1))
|
||||
emote(pick("scratch","jump","roll","tail"))
|
||||
|
||||
src.moved_recently = max(0, src.moved_recently-1)
|
||||
|
||||
/mob/living/carbon/monkey
|
||||
proc
|
||||
|
||||
@@ -512,7 +512,7 @@
|
||||
|
||||
for(var/mob/living/carbon/metroid/M in view(1,src))
|
||||
M.UpdateFeed(src)
|
||||
|
||||
src.moved_recently = 120
|
||||
return
|
||||
|
||||
/mob/living/carbon/monkey/verb/removeinternal()
|
||||
|
||||
@@ -741,6 +741,14 @@
|
||||
flick("gibbed-h", animation)
|
||||
else if(ismonkey(src))
|
||||
flick("gibbed-m", animation)
|
||||
else if(ismetroid(src))
|
||||
flick("gibbed-m", animation)
|
||||
else if(iscrab(src))
|
||||
flick("gibbed-m", animation)
|
||||
else if(iscorgi(src))
|
||||
flick("gibbed-m", animation)
|
||||
else if(iscat(src))
|
||||
flick("gibbed-m", animation) //New-has monkey gib effect versus robogib
|
||||
else if(isalien(src))
|
||||
flick("gibbed-a", animation)
|
||||
else
|
||||
@@ -755,6 +763,14 @@
|
||||
else
|
||||
gibs(loc, viruses)
|
||||
|
||||
/* else if(key)
|
||||
if(istype(src, /mob/living/simple_animals)) //Should gib all simple_animals like a monkey
|
||||
gibs(loc, viruses)
|
||||
else if (istype(src, /mob/living/simple_animals))
|
||||
gibs(loc, viruses)
|
||||
Currently doesn't work, but should be useful later or at least as a template
|
||||
*/
|
||||
|
||||
else
|
||||
if(istype(src, /mob/living/silicon))
|
||||
robogibs(loc, viruses)
|
||||
|
||||
@@ -50,6 +50,16 @@
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/iscrab(A)
|
||||
if(istype(A, /mob/living/simple_animal/crab))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/proc/iscat(A)
|
||||
if(istype(A, /mob/living/simple_animal/cat/))
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/*proc/ishivebot(A)
|
||||
if(A && istype(A, /mob/living/silicon/hivebot))
|
||||
return 1
|
||||
|
||||
@@ -444,7 +444,7 @@
|
||||
O.show_message(text("\red <B>[] attempts to remove the handcuffs!</B>", usr), 1)
|
||||
spawn(0)
|
||||
if(do_after(usr, 1200))
|
||||
if(!usr:handcuffed || usr:buckled) return
|
||||
if(!usr:handcuffed || usr:buckled || usr.moved_recently >= 40) return // time leniency for lag
|
||||
for(var/mob/O in viewers(usr))
|
||||
O.show_message(text("\red <B>[] manages to remove the handcuffs!</B>", usr), 1)
|
||||
usr << "\blue You successfully remove your handcuffs."
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/machinery/keycard_auth
|
||||
name = "Keycard Authentication Device"
|
||||
desc = "This device is used to trigger ship functions, which require more than one ID card to authenticate."
|
||||
desc = "This device is used to trigger station functions, which require more than one ID card to authenticate."
|
||||
icon = 'monitors.dmi'
|
||||
icon_state = "auth_off"
|
||||
var/active = 0 //This gets set to 1 on all devices except the one where the initial request was made.
|
||||
@@ -21,7 +21,7 @@
|
||||
power_channel = ENVIRON
|
||||
|
||||
/obj/machinery/keycard_auth/attack_ai(mob/user as mob)
|
||||
user << "The ship AI is not to interact with these devices"
|
||||
user << "The station AI is not to interact with these devices"
|
||||
return
|
||||
|
||||
/obj/machinery/keycard_auth/attack_paw(mob/user as mob)
|
||||
|
||||
Reference in New Issue
Block a user