How to give 'white text' warnings?

Started by CallMeDio, August 09, 2016, 11:52:28 PM

Previous topic - Next topic

CallMeDio

Hey again, the title pretty much says it all, Im looking at the decompiler and xmls for hours and I can't find how to make an alert such as the one that happens when a colonist dies:
*blipsound* white text on top of screen: "guy x died".
QuoteYou may need a rubber duck.  Also, try some caveman debugging.

Released mods: No Mood Loss on Prisoner Sold or Died

kaptain_kavern

I don't know if it can help but for surgeries there is just a xml tag <successfullyRemovedHediffMessage>{0} has successfully excised {1}'s carcinoma.</successfullyRemovedHediffMessage> in Core/Defs/RecipeDefs/Recipes_Surgery.xml(line 85) per example.

1000101

From C# code you are looking for the Messages or the LetterStack classes.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By