Skip to content

A Person class for Ren'py able to manage the pronouns of one of several characters.

Notifications You must be signed in to change notification settings

Gouvernathor/renpy-PronounsClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

renpy-PronounsClass

A Person class for Ren'py able to manage the pronouns of one or several characters.

The personclass.rpy file contains the python class itself (and the constants that goes with it).

The script.rpy file contains some example as to how to use it in dialogue. More specifically, it is showing :

  • how to create Person objects
  • how to set and access custom names, different from the name from the Character object
  • how to set and access genders
  • how to set and use custom pronouns (warning though, using an incomplete set of pronouns for a neutral-managed character causes glitches for the .theyre and .theyare forms)
  • how to manage capitalization of interpolated text (it's a basic renpy feature, but the file shows it nonetheless)

A tl folder may be added later for an example of how to translate it to other languages.

About

A Person class for Ren'py able to manage the pronouns of one of several characters.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages