mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
MOAR mutations!
This commit is contained in:
@@ -334,6 +334,11 @@
|
||||
var/obj/item/W = get_active_hand()
|
||||
if( !W )//Not holding anything
|
||||
if( client && (TK in mutations) )
|
||||
if(ishuman(src))
|
||||
var/mob/living/carbon/human/H = src
|
||||
if(H.remoteview_target)
|
||||
H << "\red Your mind is too busy remote viewing."
|
||||
return
|
||||
var/obj/item/tk_grab/O = new(src)
|
||||
put_in_active_hand(O)
|
||||
O.host = src
|
||||
|
||||
@@ -504,6 +504,9 @@
|
||||
if(gloves)
|
||||
var/obj/item/clothing/gloves/G = gloves
|
||||
siemens_coeff = G.siemens_coefficient
|
||||
//If they have shock immunity mutation
|
||||
if(mShock in src.mutations)
|
||||
siemens_coeff = 0
|
||||
return ..(shock_damage,source,siemens_coeff)
|
||||
|
||||
|
||||
@@ -988,6 +991,12 @@
|
||||
src.verbs -= /mob/living/carbon/human/proc/remoteobserve
|
||||
return
|
||||
|
||||
if(istype(l_hand, /obj/item/tk_grab) || istype(r_hand, /obj/item/tk_grab/))
|
||||
src << "\red Your mind is too busy with that telekinetic grab."
|
||||
remoteview_target = null
|
||||
reset_view(0)
|
||||
return
|
||||
|
||||
if(client.eye != client.mob)
|
||||
remoteview_target = null
|
||||
reset_view(0)
|
||||
@@ -1278,4 +1287,4 @@ mob/living/carbon/human/yank_out_object()
|
||||
if(species)
|
||||
return 1
|
||||
else
|
||||
return 0
|
||||
return 0
|
||||
|
||||
@@ -285,6 +285,7 @@
|
||||
|
||||
proc/breathe()
|
||||
if(reagents.has_reagent("lexorin")) return
|
||||
if(mNobreath in mutations) return // No breath mutation means no breathing.
|
||||
if(istype(loc, /obj/machinery/atmospherics/unary/cryo_cell)) return
|
||||
if(species && species.flags & NO_BREATHE) return
|
||||
|
||||
@@ -947,6 +948,14 @@
|
||||
blinded = 1
|
||||
silent = 0
|
||||
else //ALIVE. LIGHTS ARE ON
|
||||
if(mRegen in mutations)
|
||||
if(nutrition)
|
||||
if(prob(10))
|
||||
var/randumb = rand(1,5)
|
||||
nutrition -= randumb
|
||||
heal_overall_damage(randumb,randumb)
|
||||
if(nutrition < 0)
|
||||
nutrition = 0
|
||||
updatehealth() //TODO
|
||||
if(!in_stasis)
|
||||
handle_organs()
|
||||
|
||||
Reference in New Issue
Block a user