mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Adds virology goals! Something for the viro to do (Ready for review) (#23408)
* virus analyzer and WIP virology goals * bug fixes but not all * tgui update * fixed bug * runtime fix * small fix * misc * virology goals not showing required symptoms fix * virus analyzer code polish + animation tweak * removes virus analyzer + tweaks * adds the health analyzer back * code polish * comment edit * oops, this time resolves merge conflicts * bigger payout and more goals upon completion * adds the until now unused vial lockbox * more code tweaks * also code tweaks * yet another code polish * merge conflict resolve * virology job_objective * merge conflict resolve * grammar * code polish * another polish * forgot these * oops, how did i do this mapping error * some but not all code polish and moves vials to fridge because i forgot on map queue, sorry * finally merging some of the requested changes * forgot this * one reguested change left * merges last reguested change * failed check asks to rebuild tgui * most of the reviews * removes lazyremove, no idea why i used it there * reviews * grammar Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * more reviews * forgot to undef * deletes old tgui file * Contrabang reviews * some of DGamerL´s reviews * oops * DGamerL´s reviews * Update tgui.bundle.js * stealth virus virology goal now requires 4 symptoms instead of 5 --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
co-authored by
Henri215
S34N
SteelSlayer
parent
38f009b763
commit
d6a48deac3
@@ -15,8 +15,13 @@
|
||||
|
||||
/obj/machinery/computer/pandemic/Initialize(mapload)
|
||||
. = ..()
|
||||
GLOB.pandemics |= src
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/computer/pandemic/Destroy()
|
||||
GLOB.pandemics -= src
|
||||
return ..()
|
||||
|
||||
/obj/machinery/computer/pandemic/set_broken()
|
||||
stat |= BROKEN
|
||||
update_icon()
|
||||
@@ -216,6 +221,26 @@
|
||||
P.name = "Releasing Virus - [D.name]"
|
||||
printing = null
|
||||
|
||||
/obj/machinery/computer/pandemic/proc/print_goal_orders()
|
||||
if(stat & (BROKEN|NOPOWER))
|
||||
return
|
||||
|
||||
playsound(loc, 'sound/goonstation/machines/printer_thermal.ogg', 50, TRUE)
|
||||
var/obj/item/paper/P = new /obj/item/paper(loc)
|
||||
P.name = "paper - 'Viral Samples Request'"
|
||||
|
||||
var/list/info_text = list("<div style='text-align:center;'><img src='ntlogo.png'>")
|
||||
info_text += "<h3>Viral Sample Orders</h3></div><hr>"
|
||||
info_text += "<b>Viral Sample Orders for [station_name()]'s Virologist:</b><br><br>"
|
||||
|
||||
for(var/datum/virology_goal/G in GLOB.virology_goals)
|
||||
info_text += G.get_report()
|
||||
info_text += "<hr>"
|
||||
info_text += "-Nanotrasen Virology Research"
|
||||
|
||||
P.info = info_text.Join("")
|
||||
P.update_icon()
|
||||
|
||||
/obj/machinery/computer/pandemic/attack_hand(mob/user)
|
||||
if(..())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user