Skip to content

Commit

Permalink
Adds singulo help messages
Browse files Browse the repository at this point in the history
  • Loading branch information
itchybones committed Dec 7, 2023
1 parent 9c18335 commit 5f34379
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions code/obj/machinery/singularity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ TYPEINFO(/obj/machinery/the_singularitygen)
density = 1
var/bhole = 0 // it is time. we can trust people to use the singularity For Good - cirr

HELP_MESSAGE_OVERRIDE({"Automatically creates a singularity when all surrounding containment fields are active.\
Can be anchord/unanchored with a <b>wrench</b>"})

/obj/machinery/the_singularitygen/process()
var/max_radius = singularity_containment_check(get_turf(src))
if(isnull(max_radius))
Expand Down Expand Up @@ -595,6 +598,10 @@ TYPEINFO(/obj/machinery/field_generator)
var/active_dirs = 0
var/shortestlink = 0

HELP_MESSAGE_OVERRIDE({"In order to be activated, the Field Generator has to be <b>wrenched</b> and <b>welded</b> down first. Once \
secured, a valid ID has to be swiped to unlock the controls. Once activated, the generator will connect to \
other ones within a cardinal range of 13 tiles."})

proc/set_active(var/act)
if (src.active != act)
src.active = act
Expand Down Expand Up @@ -1103,6 +1110,10 @@ TYPEINFO(/obj/machinery/emitter)
var/obj/machinery/power/data_terminal/link = null
var/datum/projectile/current_projectile = new/datum/projectile/laser/heavy

HELP_MESSAGE_OVERRIDE({"The Emitter shoots laser bolts at <b>Containment Field Generators to power them.</b> Has to be \
<b>wrenched</b> and <b>welded</b> down before being useable. The control systems must be unlocked \
with a valid ID in order to activate the Emitter."})

/obj/machinery/emitter/New()
..()
SPAWN(0.6 SECONDS)
Expand Down Expand Up @@ -1387,6 +1398,8 @@ TYPEINFO(/obj/machinery/power/collector_array)
var/obj/item/tank/plasma/P = null
var/obj/machinery/power/collector_control/CU = null
deconstruct_flags = DECON_WELDER | DECON_MULTITOOL | DECON_CROWBAR | DECON_WRENCH
HELP_MESSAGE_OVERRIDE({"Must be cardinally adjacent to a <b>Radiation Collector Control</b> to function. \
It can be bolted or unbolted to the floor with a <b>wrench</b>."})

/obj/machinery/power/collector_array/New()
..()
Expand Down Expand Up @@ -1521,6 +1534,10 @@ TYPEINFO(/obj/machinery/power/collector_control)
var/list/obj/machinery/the_singularity/S = null
deconstruct_flags = DECON_WELDER | DECON_MULTITOOL | DECON_CROWBAR | DECON_WRENCH

HELP_MESSAGE_OVERRIDE({"Outputs the energy harvested by the <b>Radiation Collector Arrays</b>, which have to be cardinally adjacent \
to the controller, as useable electrical power to the wire below it. It can be bolted or \
unbolted to the floor with a <b>wrench</b>."})

/obj/machinery/power/collector_control/New()
..()
START_TRACKING
Expand Down

0 comments on commit 5f34379

Please sign in to comment.