upload files

This commit is contained in:
Enric Gabriel
2020-09-21 13:27:22 -03:00
parent d86e4354a9
commit 46ef6a63c5
6 changed files with 10 additions and 24 deletions
@@ -0,0 +1,4 @@
/datum/mood_event/failed_easy
description = "<span class='warning'>I failed such an easy equation</span>\n"
mood_change = -1
timeout = 2 MINUTES
+1 -10
View File
@@ -1,18 +1,9 @@
/obj/machinery/pdapainter
circuit = /obj/item/circuitboard/machine/pdapainter
/obj/machinery/pdapainter/New() //aug_manipulator code is so stupid that i sincerely can't make out why it doesn't just work normally
. = ..() //in any case if you figure out how to make it just work normally, have a go at it.
if(!component_parts)
circuit = null
circuit = new /obj/item/circuitboard/machine/pdapainter
component_parts = list()
component_parts += circuit
/obj/machinery/pdapainter/examine(mob/user)
. += ..()
if(panel_open)
. += "<span class='info'>Its maintenance panel is currently open.</span>"
. += "<span class='info'>Its maintenance panel is currently [panel_open ? "open" : "closed"].</span>"
/obj/machinery/pdapainter/screwdriver_act(mob/living/user, obj/item/W)
. = TRUE
@@ -1,18 +1,9 @@
/obj/machinery/aug_manipulator
circuit = /obj/item/circuitboard/machine/aug_manipulator
/obj/machinery/aug_manipulator/New() //aug_manipulator code is so stupid that i sincerely can't make out why it doesn't just work normally
. = ..() //in any case if you figure out how to make it just work normally, have a go at it.
if(!component_parts)
circuit = null
circuit = new /obj/item/circuitboard/machine/aug_manipulator
component_parts = list()
component_parts += circuit
/obj/machinery/aug_manipulator/examine(mob/user)
. += ..()
if(panel_open)
. += "<span class='info'>Its maintenance panel is currently open.</span>"
. += "<span class='info'>Its maintenance panel is currently [panel_open ? "open" : "closed"].</span>"
/obj/machinery/aug_manipulator/screwdriver_act(mob/living/user, obj/item/W)
. = TRUE
@@ -239,9 +239,9 @@
D.adjust_money(-points_lost)
// me fail arithmetic, me brian hurt
playsound(src, 'sound/machines/buzz-sigh.ogg', 30, 1)
if(difficulty == "Easy") // me fail arithmetic, me brian hurt
to_chat(user,"<span class='warning'>You feel lightheaded after failing such an easy question...</span>")
LM.adjustOrganLoss(ORGAN_SLOT_BRAIN, 10)
if(difficulty == "Easy") // me fail arithmetic, me brian hurt //nice one, brain damage for it, very cool.
to_chat(user,"<span class='warning'>You feel sad after failing such an easy question...</span>")
SEND_SIGNAL(LM, COMSIG_ADD_MOOD_EVENT, "failed_easy", /datum/mood_event/failed_easy)
return
// Award points for a correct answer.