Better Parapens (#7428)

This commit is contained in:
Kaedwuff
2019-12-03 19:42:05 +01:00
committed by Werner
parent 5655eadd69
commit 9b75bfa022
7 changed files with 842 additions and 757 deletions
+1
View File
@@ -55,6 +55,7 @@
#define CE_SPEEDBOOST "gofast" // Hyperzine
#define CE_BERSERK "berserk"
#define CE_PACIFIED "pacified"
#define CE_UNDEXTROUS "undextrous" // arms no work right
// Chemistry lists.
var/list/tachycardics = list("coffee", "inaprovaline", "hyperzine", "nitroglycerin", "thirteenloko", "nicotine") // Increase heart rate.
+1 -1
View File
@@ -20,7 +20,7 @@
list("mindbreaker" = 10, "space_drugs" = 20) = 3,
list("carpotoxin" = 15) = 2,
list("impedrezene" = 15) = 2,
list("zombiepowder" = 10) = 1)
list("dextrotoxin" = 10) = 1)
/obj/item/reagent_containers/glass/beaker/vial/random/Initialize()
. = ..()
File diff suppressed because it is too large Load Diff
+1 -3
View File
@@ -186,9 +186,7 @@
/obj/item/pen/reagent/paralysis/New()
..()
reagents.add_reagent("zombiepowder", 10)
reagents.add_reagent("cryptobiolin", 15)
reagents.add_reagent("dextrotoxin", 10)
/*
* Chameleon pen
*/
@@ -722,4 +722,34 @@
H.revive()
H.change_skin_color(r, g, b)
playsound(H.loc, 'sound/hallucinations/far_noise.ogg', 50, 1)
to_chat(H,"<font size='3'><span class='cult'>You return back to life as the undead, all that is left is the hunger to consume the living and the will to spread the infection.</font></span>")
to_chat(H,"<font size='3'><span class='cult'>You return back to life as the undead, all that is left is the hunger to consume the living and the will to spread the infection.</font></span>")
/datum/reagent/toxin/dextrotoxin
name = "Dextrotoxin"
id = "dextrotoxin"
description = "A complicated to make and highly illegal drug that cause paralysis mostly focused on the limbs."
reagent_state = LIQUID
color = "#002067"
metabolism = REM * 0.2
strength = 0
taste_description = "danger"
/datum/reagent/toxin/dextrotoxin/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
..()
var/mob/living/carbon/human/H = M
if(istype(H) && (H.species.flags & NO_SCAN))
return
if (!(CE_UNDEXTROUS in M.chem_effects))
to_chat(M, span("warning", "Your limbs start to feel numb and weak, and your legs wobble as it becomes hard to stand..."))
M.confused = max(M.confused, 250)
M.add_chemical_effect(CE_UNDEXTROUS, 1)
if(dose > 0.2)
M.Weaken(10)
/datum/reagent/toxin/dextrotoxin/Destroy()
if(holder && holder.my_atom && ismob(holder.my_atom))
var/mob/M = holder.my_atom
to_chat(M, span("warning", "You can feel sensation creeping back into your limbs..."))
return ..()
@@ -447,6 +447,13 @@
required_reagents = list("carpotoxin" = 5, "stoxin" = 5, "copper" = 5)
result_amount = 2
/datum/chemical_reaction/dextrotoxin
name = "Dextrotoxin"
id = "dextrotoxin"
result = "dextrotoxin"
required_reagents = list("carpotoxin" = 3, "stoxin" = 10, "phoron" = 5)
result_amount = 5
/datum/chemical_reaction/mindbreaker
name = "Mindbreaker Toxin"
id = "mindbreaker"
@@ -0,0 +1,43 @@
################################
# Example Changelog File
#
# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb.
#
# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.)
# When it is, any changes listed below will disappear.
#
# Valid Prefixes:
# bugfix
# wip (For works in progress)
# tweak
# soundadd
# sounddel
# rscadd (general adding of nice things)
# rscdel (general deleting of nice things)
# imageadd
# imagedel
# maptweak
# spellcheck (typo fixes)
# experiment
# balance
# admin
# backend
# security
# refactor
#################################
# Your name.
author: Kaedwuff
# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again.
delete-after: True
# Any changes you've made. See valid prefix list above.
# INDENT WITH TWO SPACES. NOT TABS. SPACES.
# SCREW THIS UP AND IT WON'T WORK.
# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries.
# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog.
changes:
- rscadd: "Added a new chemical, dextrotoxin. It is made somewhat wastefully with carpotoxin, soporific, and phoron."
- rscadd: "Dextrotoxin briefly makes it hard to walk straight before paralyzing you. People under the effects of dextrotoxin cannot move or use the radio, but can still speak."
- tweak: "Dextrotoxin replaces zombie powder in any antagonist item that previously contained it. Zombie powder is still possible to manufacture."