Miscellaneous borer/bughunt fixes. (#7930)

Borers no longer get teleported out of a host if they're manually removed after leaving the host.
    Removed synaptizine from borer chems. Added dylovene, kelotane, norepinephrine instead.
    You can now call ERTs on Bughunt.
    Borers no longer have nutrition loss.
This commit is contained in:
Matt Atlas
2020-01-06 22:53:50 +02:00
committed by Erki
parent 6032167c8f
commit caeff09b24
5 changed files with 54 additions and 8 deletions
@@ -11,7 +11,7 @@
item_state = "brainslug"
icon_living = "brainslug"
icon_dead = "brainslug_dead"
speed = 5
speed = 6
a_intent = I_HURT
stop_automated_movement = 1
status_flags = CANPUSH
@@ -24,6 +24,7 @@
universal_understand = 1
holder_type = /obj/item/holder/borer
mob_size = 1
hunger_enabled = FALSE
var/used_dominate
var/chemicals = 10 // Chemicals used for reproduction and spitting neurotoxin.
@@ -137,6 +138,9 @@
borers.remove_antagonist(host.mind)
forceMove(get_turf(host))
var/obj/item/organ/external/head = host.get_organ(BP_HEAD)
if(head)
head.implants -= src
reset_view(null)
machine = null
@@ -144,8 +148,7 @@
host.reset_view(null)
host.machine = null
var/mob/living/H = host
H.status_flags &= ~PASSEMOTES
host.status_flags &= ~PASSEMOTES
host = null
return
@@ -205,7 +205,7 @@
to_chat(src, span("warning", "You don't have enough chemicals!"))
return
var/chem = input("Select a chemical to secrete.", "Chemicals") as null|anything in list("Inaprovaline", "Bicaridine", "Hyperzine", "Synaptizine", "Peridaxon", "Tramadol", "Oxycodone", "Fluvoxamine")
var/chem = input("Select a chemical to secrete.", "Chemicals") as null|anything in list("Inaprovaline", "Norepinephrine", "Bicaridine", "Kelotane", "Dylovene", "Hyperzine", "Peridaxon", "Tramadol", "Fluvoxamine")
if(!chem || chemicals < 20 || !host || controlling || !src || stat) //Sanity check.
return
@@ -38,8 +38,8 @@
chosen_sayer.say(message)
return
to_chat(src, "You drop words into [host]'s mind: \"[message]\"")
to_chat(host, "Your own thoughts speak: \"[message]\"")
to_chat(src, "<b>You drop words into [host]'s mind:</b> \"[message]\"")
to_chat(host, "<b>Your own thoughts speak:</b> \"[message]\"")
for(var/mob/M in player_list)
if(istype(M, /mob/abstract/new_player))