Changes

Jump to navigation Jump to search
→‎Dialogue changes: add non-binary example for gender-switch token
Line 5,790: Line 5,790:  
|- id="gender-switch"
 
|- id="gender-switch"
 
| <samp>${male^female}</samp><br /><samp>${male^female^non-binary}</samp>
 
| <samp>${male^female}</samp><br /><samp>${male^female^non-binary}</samp>
| Change text depending on the player's gender. This largely supersedes the <samp>^</samp> dialogue token (which still works), and is supported in many more places than that token. This is applied before most other commands or parsing, so it can safely be used in cases where <samp>^</samp> might have a different meaning (e.g. mail text). For example:<code>Ahoy there ${lad^lass}!</code>.
+
| Change text depending on the player's gender. This largely supersedes the <samp>^</samp> dialogue token (which still works), and is supported in many more places than that token. This is applied before most other commands or parsing, so it can safely be used in cases where <samp>^</samp> might have a different meaning (e.g. mail text). For example: <code>Ahoy there ${lad^lass}!</code> or <code>Ahoy there ${lad^lass^matey}!</code>.
    
Note that the non-binary value is only used if a mod mod overrides the player's gender, since the in-game UI only allows male or female.
 
Note that the non-binary value is only used if a mod mod overrides the player's gender, since the in-game UI only allows male or female.
translators
8,439

edits

Navigation menu