mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
things
and stuff...gonna need to get to those merge conflicts eventually. also purged all mention of internal_organs by name from the face of the earth. we have get_int_organ now...i may need to tweak shit. oh and i broke some things...
This commit is contained in:
@@ -652,7 +652,7 @@
|
||||
//Synthetic human mob goes here.
|
||||
if(istype(user,/mob/living/carbon/human))
|
||||
var/mob/living/carbon/human/H = user
|
||||
if(!isnull(H.internal_organs_by_name["cell"]) && H.a_intent == I_GRAB)
|
||||
if(H.get_int_organ(/obj/item/organ/internal/cell) && H.a_intent == I_GRAB)
|
||||
if(emagged || stat & BROKEN)
|
||||
var/datum/effect/system/spark_spread/s = new /datum/effect/system/spark_spread
|
||||
s.set_up(3, 1, src)
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
continue
|
||||
// Where we're going, we don't need eyes.
|
||||
// Prosthetic eyes will also protect against this business.
|
||||
var/obj/item/organ/internal/eyes = l.internal_organs_by_name["eyes"]
|
||||
var/obj/item/organ/internal/eyes/eyes = l.get_int_organ(/obj/item/organ/internal/eyes/)
|
||||
if(!istype(eyes))
|
||||
continue
|
||||
l.hallucination = max(0, min(200, l.hallucination + power * config_hallucination_power * sqrt( 1 / max(1,get_dist(l, src)) ) ) )
|
||||
|
||||
Reference in New Issue
Block a user