mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-07-20 12:12:20 +01:00
Vaurca Fixes
* Should make their eyes get damaged with flases proper now * Makes them actually resistant to electric shock and walking on glass
This commit is contained in:
@@ -1132,6 +1132,10 @@
|
||||
return //TODO: DEFERRED
|
||||
|
||||
proc/handle_regular_status_updates()
|
||||
if(species.flags & IS_BUG)
|
||||
adjustBruteLoss(0)
|
||||
adjustFireLoss(0)
|
||||
|
||||
|
||||
if(status_flags & GODMODE) return 0
|
||||
|
||||
@@ -1408,6 +1412,9 @@
|
||||
see_in_dark = 8
|
||||
if(!druggy) see_invisible = SEE_INVISIBLE_OBSERVER_NOLIGHTING
|
||||
|
||||
if(species.flags & IS_BUG) //Vaurca nightvision 29/12/15
|
||||
see_in_dark = 8
|
||||
|
||||
if(seer==1)
|
||||
var/obj/effect/rune/R = locate() in loc
|
||||
if(R && R.word1 == cultwords["see"] && R.word2 == cultwords["hell"] && R.word3 == cultwords["join"])
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
var/blood_color = "#A10808" //Red.
|
||||
var/flesh_color = "#FFC896" //Pink.
|
||||
var/base_color //Used when setting species.
|
||||
var/darkness_view
|
||||
|
||||
//Used in icon caching.
|
||||
var/race_key = 0
|
||||
@@ -626,7 +627,8 @@ See code\modules\mob\new_player\preferences_setup.dm for where it's used.
|
||||
secondary_unarmed_type = /datum/unarmed_attack/bite/strong
|
||||
rarity_value = 2 //according to the code this does nothing but upset me so i guess it can stay
|
||||
slowdown = 1 //slow
|
||||
darksight = 666 //good at seeing
|
||||
darksight = 8 //good at seeing
|
||||
darkness_view = 7
|
||||
eyes = "blank_eyes" //made out of butts
|
||||
brute_mod = 0.5 //note to self: remove is_synthetic checks for brmod and burnmod
|
||||
burn_mod = 2 //bugs on fire
|
||||
|
||||
@@ -273,11 +273,13 @@
|
||||
//No animations will be performed by this proc.
|
||||
/proc/electrocute_mob(mob/living/carbon/M as mob, var/power_source, var/obj/source, var/siemens_coeff = 1.0)
|
||||
if(istype(M.loc,/obj/mecha)) return 0 //feckin mechs are dumb
|
||||
var/mob/living/carbon/human/H = M //29/12/2015 INSULATION INITIATION
|
||||
if(istype(H) && H.species.insulated) return 0
|
||||
|
||||
//This is for performance optimization only.
|
||||
//DO NOT modify siemens_coeff here. That is checked in human/electrocute_act()
|
||||
if(istype(M,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = M
|
||||
//var/mob/living/carbon/human/H = M Changed for inulation 29/12/15
|
||||
if(H.gloves)
|
||||
var/obj/item/clothing/gloves/G = H.gloves
|
||||
if(G.siemens_coefficient == 0) return 0 //to avoid spamming with insulated glvoes on
|
||||
|
||||
Reference in New Issue
Block a user