proc/output(msg,control)
if(msg=="Change this message")
msg="Case 01"
else if(msg=="Change this message\n")
msg="Case 02"
else
msg="Case: [msg]")
..()
mob/proc/output(msg,control)
if(msg=="Change this message")
msg="Case 11"
else if(msg=="Change this message\n")
msg="Case 12"
else
msg="Case 10: [msg]")
..()
Problem description:
Neither of these work. I want to create the ability for hosts to override server messages with their own custom ones. But this isn't working the way it should. In fact it isn't working at all. Is changing every single output into a custom output procedure the only way to do it? As someone who makes text-games, this is as time consuming as it is un-necessary.
this attempt at using operator overloading didn't work, the BYOND guide suggests the correct override for this is: