Version history/2020: Difference between revisions

m
fixed color code/template confusion
(added tomb)
m (fixed color code/template confusion)
Line 1,596: Line 1,596:
* Added a new Modding option: 'Select enabled mods on new game'.
* Added a new Modding option: 'Select enabled mods on new game'.
* Space no longer accepts the 'Would you like to die?' prompt.
* Space no longer accepts the 'Would you like to die?' prompt.
* We added a markup layer to our text coloring system. Example: {{red|this text will be red}}. This lets us treat color specification as a stack, so that text's color can be reset to the previously specified color at the end of a block. (Previously, we would try to emulate this behavior by resetting color to default grey [&y], but grey wasn't always the last specified color.) The markup layer also supports shaders that apply color patterns to text blocks. Color names and shaders are defined in a new moddable file, Colors.xml.
* We added a markup layer to our text coloring system. Example: {{((}}red|this text will be red}}. This lets us treat color specification as a stack, so that text's color can be reset to the previously specified color at the end of a block. (Previously, we would try to emulate this behavior by resetting color to default grey [&y], but grey wasn't always the last specified color.) The markup layer also supports shaders that apply color patterns to text blocks. Color names and shaders are defined in a new moddable file, Colors.xml.
* We changed the implementation for how MinEvents are dispatched. Modders who are handling a MinEvent in one of their IParts (e.g. bool HandleEvent( EnteringCellEvent ev ) need to update each HandleEvent declaration to include 'public override' (e.g. public override bool HandleEvent( EnteringCellEvent ev )) in order for that event to be dispatched properly to the part.
* We changed the implementation for how MinEvents are dispatched. Modders who are handling a MinEvent in one of their IParts (e.g. bool HandleEvent( EnteringCellEvent ev ) need to update each HandleEvent declaration to include 'public override' (e.g. public override bool HandleEvent( EnteringCellEvent ev )) in order for that event to be dispatched properly to the part.
* In character generation, whether a genotype is considered a mutant is now controlled explicitly by the new attribute IsMutant="true" in the genotype entry rather than by whether its name contains the substring "True". Mods affecting genotypes may need to add this attribute.
* In character generation, whether a genotype is considered a mutant is now controlled explicitly by the new attribute IsMutant="true" in the genotype entry rather than by whether its name contains the substring "True". Mods affecting genotypes may need to add this attribute.