mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-05-12 18:20:09 +01:00
6c01cc2c01
## About The Pull Request stop forgetting to include mapload, if you don't include it then every single subtype past it by default doesn't include it for example, `obj/item` didn't include mapload so every single item by default didn't fill in mapload  ## Regex used: procs without args, not even regex `/Initialize()` procs with args `\/Initialize\((?!mapload)((.)*\w)?` cleanup of things i didn't want to mapload: `\/datum\/(.)*\/Initialize\(mapload`
15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
/**
|
|
* # Hello World preset
|
|
*
|
|
* Says "Hello World" when triggered. Needs to be wired up and connected first.
|
|
*/
|
|
/obj/item/integrated_circuit/loaded/hello_world
|
|
|
|
/obj/item/integrated_circuit/loaded/hello_world/Initialize(mapload)
|
|
. = ..()
|
|
var/obj/item/circuit_component/speech/speech = new()
|
|
add_component(speech)
|
|
|
|
speech.message.set_input("Hello World")
|
|
|