Merge pull request #4407 from Fox-McCloud/no-guns

Refactors Species Gun Handling
This commit is contained in:
TheDZD
2016-05-10 22:46:52 -04:00
6 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ Made by Xhuis
blood_color = "#555555"
flesh_color = "#222222"
flags = NO_BLOOD | NO_BREATHE | RADIMMUNE
flags = NO_BLOOD | NO_BREATHE | RADIMMUNE | NOGUNS //Can't use guns due to muzzle flash
burn_mod = 1.5 //1.5x burn damage, 2x is excessive
hot_env_multiplier = 1.5
@@ -77,6 +77,11 @@
if (!user.IsAdvancedToolUser())
to_chat(user, "<span class='warning'>You don't have the dexterity to do this!</span>")
return
if(ishuman(user))
var/mob/living/carbon/human/H = user
if((HULK in H.mutations) || (H.species.flags & NOGUNS))
user << "<span class='warning'>Your fingers can't press the button!</span>"
return
add_fingerprint(user)