Files
vgstation13/code/modules/components/debugger.dm
MadmanMartian 6ccd5c3019 Messing with component mobs further (#17770)
* moves the brain component to living-level. Makes some tweaks to NPC AI so they know they're being attacked by something

* that took a lot more than I expected to fix the melee

* adds the weapon throw attack. Fixes where you could only ever have one attack type for your NPC. Fixes a bad usr argument in throw.

* /*DOES NOT WORK*/
Changes mob function so it uses a movement component, rather than it being under the mob component.

Adds the Astar mob movement component.

Adds Receive and Return signal handling. moves get def zone to this system.

* movement through astar now works.

* cleanup of debug

* Damians requested changes

* That doesn't work.
2018-07-09 09:50:39 +02:00

15 lines
554 B
Plaintext

/datum/component/debugger //Exists to shout 'HEY, WE'RE USING THIS SIGNAL'
var/spam = 1
/datum/component/debugger/RecieveSignal(var/message_type, var/list/args)
if(spam)
to_chat(world, "===================================")
to_chat(world, "[container.holder] received [message_type], args are")
for(var/i in args)
to_chat(world, "[i]: [args[i]]")
to_chat(world, "<a HREF='?src=\ref[src];pause=1'>\[Press here to stop and start the spam\]</a>")
/datum/component/debugger/Topic(href, href_list)
.=..()
if(href_list["pause"])
spam = !spam