mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
HMN.update_eyes()
|
||||
if(aug_message && !special)
|
||||
to_chat(owner, "<span class='notice'>[aug_message]</span>")
|
||||
|
||||
M.sight |= vision_flags
|
||||
|
||||
/obj/item/organ/internal/cyberimp/eyes/remove(var/mob/living/carbon/M, var/special = 0)
|
||||
@@ -61,7 +60,6 @@
|
||||
if(prob(10 * severity))
|
||||
return
|
||||
to_chat(owner, "<span class='warning'>Static obfuscates your vision!</span>")
|
||||
|
||||
owner.flash_eyes(visual = 1)
|
||||
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
var/stun_amount = 5 + (severity-1 ? 0 : 5)
|
||||
owner.Stun(stun_amount)
|
||||
to_chat(owner, "<span class='warning'>Your body seizes up!</span>")
|
||||
|
||||
return stun_amount
|
||||
|
||||
|
||||
@@ -73,7 +72,6 @@
|
||||
|
||||
if(!l_hand_obj && !r_hand_obj)
|
||||
to_chat(owner, "<span class='notice'>You are not holding any items, your hands relax...</span>")
|
||||
|
||||
active = 0
|
||||
else
|
||||
var/msg = 0
|
||||
@@ -82,17 +80,13 @@
|
||||
switch(msg)
|
||||
if(1)
|
||||
to_chat(owner, "<span class='notice'>Your left hand's grip tightens.</span>")
|
||||
|
||||
if(2)
|
||||
to_chat(owner, "<span class='notice'>Your right hand's grip tightens.</span>")
|
||||
|
||||
if(3)
|
||||
to_chat(owner, "<span class='notice'>Both of your hand's grips tighten.</span>")
|
||||
|
||||
else
|
||||
release_items()
|
||||
to_chat(owner, "<span class='notice'>Your hands relax...</span>")
|
||||
|
||||
l_hand_obj = null
|
||||
r_hand_obj = null
|
||||
|
||||
@@ -110,13 +104,11 @@
|
||||
A = pick(oview(range))
|
||||
L_item.throw_at(A, range, 2)
|
||||
to_chat(owner, "<span class='notice'>Your left arm spasms and throws the [L_item.name]!</span>")
|
||||
|
||||
if(R_item)
|
||||
A = pick(oview(range))
|
||||
R_item.throw_at(A, range, 2)
|
||||
to_chat(owner, "<span class='notice'>Your right arm spasms and throws the [R_item.name]!</span>")
|
||||
|
||||
|
||||
/obj/item/organ/internal/cyberimp/brain/anti_drop/proc/release_items()
|
||||
if(!l_hand_ignore && l_hand_obj in owner.contents)
|
||||
l_hand_obj.flags ^= NODROP
|
||||
@@ -181,7 +173,6 @@
|
||||
if(owner.nutrition <= hunger_threshold)
|
||||
synthesizing = 1
|
||||
to_chat(owner, "<span class='notice'>You feel less hungry...</span>")
|
||||
|
||||
owner.nutrition += 50
|
||||
spawn(50)
|
||||
synthesizing = 0
|
||||
@@ -192,7 +183,6 @@
|
||||
owner.reagents.add_reagent("????",poison_amount / severity) //food poisoning
|
||||
to_chat(owner, "<span class='warning'>You feel like your insides are burning.</span>")
|
||||
|
||||
|
||||
/obj/item/organ/internal/cyberimp/chest/nutriment/plus
|
||||
name = "Nutriment pump implant PLUS"
|
||||
desc = "This implant will synthesize and pump into your bloodstream a small amount of nutriment when you are hungry."
|
||||
@@ -258,7 +248,6 @@
|
||||
if(H.stat == CONSCIOUS)
|
||||
to_chat(H, "<span class='notice'>You feel your heart beating again!</span>")
|
||||
|
||||
|
||||
//ARM...THAT GO IN THE CHEST
|
||||
/obj/item/organ/internal/cyberimp/chest/arm_mod//dummy parent item for making arm-mod implants. works best with nodrop items that are sent to nullspace upon being dropped.
|
||||
name = "Arm-mounted item implant"
|
||||
@@ -276,7 +265,6 @@
|
||||
/obj/item/organ/internal/cyberimp/chest/arm_mod/ui_action_click()
|
||||
if(overloaded)//ensure the implant isn't broken
|
||||
to_chat(owner, "<span class='warning'>The implant doesn't respond. It seems to be broken...</span>")
|
||||
|
||||
return
|
||||
if(out)//check if the owner has the item out already
|
||||
owner.unEquip(holder, 1)//if he does, take it away. then,
|
||||
@@ -294,7 +282,6 @@
|
||||
holder.loc = null//keep it in nullspace
|
||||
to_chat(owner, "<span class='warning'>You can't extend [holder] if you can't use your hands!</span>")
|
||||
|
||||
|
||||
/obj/item/organ/internal/cyberimp/chest/arm_mod/emp_act(severity)//if the implant gets EMPed...
|
||||
if(!owner || overloaded)//ensure that it's in an owner and that it's not already EMPed, then...
|
||||
return
|
||||
@@ -306,7 +293,6 @@
|
||||
owner.visible_message("<span class='danger'>A loud bang comes from [owner]...</span>")
|
||||
playsound(get_turf(owner), 'sound/effects/bang.ogg', 100, 1)
|
||||
to_chat(owner, "<span class='warning'>You feel an explosion erupt inside you as your chest implant breaks. Is it hot in here?</span>")
|
||||
|
||||
owner.adjust_fire_stacks(20)
|
||||
owner.IgniteMob()//ignite the owner, as well as
|
||||
owner.say("AUUUUUUUUUUUUUUUUUUGH!!")
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
/obj/item/device/autoimplanter/attack_self(mob/user)//when the object it used...
|
||||
if(!storedorgan)
|
||||
to_chat(user, "<span class='notice'>[src] currently has no implant stored.</span>")
|
||||
|
||||
return
|
||||
storedorgan.insert(user)//insert stored organ into the user
|
||||
user.visible_message("<span class='notice'>[user] presses a button on [src], and you hear a short mechanical noise.</span>", "<span class='notice'>You feel a sharp sting as [src] plunges into your body.</span>")
|
||||
@@ -20,21 +19,17 @@
|
||||
if(istype(I, /obj/item/organ/internal/cyberimp))
|
||||
if(storedorgan)
|
||||
to_chat(user, "<span class='notice'>[src] already has an implant stored.</span>")
|
||||
|
||||
return
|
||||
if(!user.drop_item())
|
||||
return
|
||||
I.forceMove(src)
|
||||
storedorgan = I
|
||||
to_chat(user, "<span class='notice'>You insert the [I] into [src].</span>")
|
||||
|
||||
else if(istype(I, /obj/item/weapon/screwdriver))
|
||||
if(!storedorgan)
|
||||
to_chat(user, "<span class='notice'>There's no implant in [src] for you to remove.</span>")
|
||||
|
||||
else
|
||||
storedorgan.forceMove(get_turf(user))
|
||||
storedorgan = null
|
||||
to_chat(user, "<span class='notice'>You remove the [storedorgan] from [src].</span>")
|
||||
|
||||
playsound(get_turf(user), 'sound/items/Screwdriver.ogg', 50, 1)
|
||||
|
||||
@@ -127,11 +127,9 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
|
||||
update_body()
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
to_chat(src, "\red You feel [word]")
|
||||
|
||||
if(prob(1))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
to_chat(src, "\red You feel [word]")
|
||||
|
||||
if(oxyloss < 20)
|
||||
oxyloss += 3
|
||||
if(BLOOD_VOLUME_BAD to BLOOD_VOLUME_OKAY)
|
||||
@@ -146,7 +144,6 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
|
||||
Paralyse(rand(1,3))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
to_chat(src, "\red You feel very [word]")
|
||||
|
||||
if(BLOOD_VOLUME_SURVIVE to BLOOD_VOLUME_BAD)
|
||||
if(!pale)
|
||||
pale = 1
|
||||
@@ -158,7 +155,6 @@ var/const/BLOOD_VOLUME_SURVIVE = 122
|
||||
Paralyse(rand(1,3))
|
||||
var/word = pick("dizzy","woosey","faint")
|
||||
to_chat(src, "\red You feel extremely [word]")
|
||||
|
||||
if(0 to BLOOD_VOLUME_SURVIVE)
|
||||
death()
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
..()
|
||||
to_chat(finder, "<span class='warning'>You found an unknown alien organism in [owner]'s [parent_organ]!</span>")
|
||||
|
||||
|
||||
/obj/item/organ/internal/body_egg/insert(var/mob/living/carbon/M, special = 0)
|
||||
..()
|
||||
owner.status_flags |= XENO_HOST
|
||||
|
||||
@@ -145,7 +145,6 @@ var/list/organ_cache = list()
|
||||
if(status & ORGAN_DEAD)
|
||||
to_chat(user, "<span class='notice'>The decay has set in.</span>")
|
||||
|
||||
|
||||
/obj/item/organ/proc/handle_germ_effects()
|
||||
//** Handle the effects of infections
|
||||
var/antibiotics = owner.reagents.get_reagent_amount("spaceacillin")
|
||||
|
||||
@@ -294,7 +294,6 @@
|
||||
var/obj/item/organ/external/stump/S = locate() in children
|
||||
if(S)
|
||||
// to_chat(world, "Extra healing to go around ([brute+burn]) and [owner] needs a replacement limb.")
|
||||
|
||||
*/
|
||||
|
||||
//Sync the organ's damage with its wounds
|
||||
@@ -530,7 +529,6 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
if (!(status & ORGAN_DEAD))
|
||||
status |= ORGAN_DEAD
|
||||
to_chat(owner, "<span class='notice'>You can't feel your [name] anymore...</span>")
|
||||
|
||||
owner.update_body(1)
|
||||
|
||||
germ_level++
|
||||
|
||||
@@ -303,7 +303,6 @@
|
||||
if (germ_level > INFECTION_LEVEL_ONE)
|
||||
if(prob(1))
|
||||
to_chat(owner, "<span class='warning'> Your skin itches.</span>")
|
||||
|
||||
if (germ_level > INFECTION_LEVEL_TWO)
|
||||
if(prob(1))
|
||||
spawn owner.vomit()
|
||||
@@ -460,13 +459,11 @@
|
||||
if(organhonked < world.time)
|
||||
organhonked = world.time+900
|
||||
to_chat(owner, "<font color='red' size='7'>HONK</font>")
|
||||
|
||||
owner.sleeping = 0
|
||||
owner.stuttering = 20
|
||||
owner.ear_deaf = 30
|
||||
owner.Weaken(3)
|
||||
to_chat(owner, 'sound/items/AirHorn.ogg')
|
||||
|
||||
if(prob(30))
|
||||
owner.Stun(10)
|
||||
owner.Paralyse(4)
|
||||
|
||||
@@ -41,7 +41,6 @@ mob/living/carbon/proc/pain(var/partname, var/amount, var/force, var/burning = 0
|
||||
if(msg && (msg != last_pain_message || prob(10)))
|
||||
last_pain_message = msg
|
||||
to_chat(src, msg)
|
||||
|
||||
next_pain_time = world.time + (100 - amount)
|
||||
|
||||
|
||||
@@ -66,7 +65,6 @@ mob/living/carbon/human/proc/custom_pain(var/message, var/flash_strength)
|
||||
if(msg && ((msg != last_pain_message) || (world.time >= next_pain_time)))
|
||||
last_pain_message = msg
|
||||
to_chat(src, msg)
|
||||
|
||||
next_pain_time = world.time + 100
|
||||
|
||||
mob/living/carbon/human/proc/handle_pain()
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
owner.reagents.add_reagent("histamine", 5)
|
||||
if(5)
|
||||
to_chat(owner, "<span class='danger'>You feel like something is tearing its way out of your skin...</span>")
|
||||
|
||||
owner.reagents.add_reagent("histamine", 10)
|
||||
if(prob(30))
|
||||
owner.emote("scream")
|
||||
|
||||
@@ -134,7 +134,6 @@
|
||||
if(!special)
|
||||
to_chat(owner, "Error 404:Optical Sensors not found.")
|
||||
|
||||
|
||||
. = ..()
|
||||
|
||||
/obj/item/organ/internal/optical_sensor/surgeryize()
|
||||
|
||||
Reference in New Issue
Block a user