Changes

Jump to navigation Jump to search
→‎Dialogue changes: update for build 24010 (added inline gender-switch syntax)
Line 5,788: Line 5,788:  
! command
 
! command
 
! description
 
! description
 +
|- id="gender-switch"
 +
| <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>.
 +
 +
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.
 
|-
 
|-
 
| <samp>$action {{t|action}}</samp>
 
| <samp>$action {{t|action}}</samp>
translators
8,445

edits

Navigation menu