I Can't Believe It's Not Circuits (it is)

Fixes numberpad and letterpad pulsing.
Debugger and Constant chip can now have null written to it.
Adds new sound output, with two types so far.  One being the 'beeper' type, which can do things like buzz, ping, beep, etc.  The second type is a securitron speaker, which allows us to get closer to building a functioning Beepsky.
This commit is contained in:
Neerti
2016-09-18 16:13:25 -04:00
parent b24c2a5685
commit c8fab7d070
4 changed files with 89 additions and 7 deletions

View File

@@ -116,7 +116,7 @@
var/accepting_refs = 0
/obj/item/device/integrated_electronics/debugger/attack_self(mob/user)
var/type_to_use = input("Please choose a type to use.","[src] type setting") as null|anything in list("string","number","ref")
var/type_to_use = input("Please choose a type to use.","[src] type setting") as null|anything in list("string","number","ref", "null")
var/new_data = null
switch(type_to_use)
if("string")
@@ -135,6 +135,9 @@
accepting_refs = 1
user << "<span class='notice'>You turn \the [src]'s ref scanner on. Slide it across \
an object for a ref of that object to save it in memory.</span>"
if("null")
data_to_write = null
user << "<span class='notice'>You set \the [src]'s memory to absolutely nothing.</span>"
/obj/item/device/integrated_electronics/debugger/afterattack(atom/target, mob/living/user, proximity)
if(accepting_refs && proximity)