WTS/game/scripts/doll/init.rpy
LoafyLemon e0e9d23d2a Bug fixes and improvements
* Fixed wardrobe not initializing in replay context
* Fixed unequip all clothes cheat
* Fixed example mod file structure
* Fixed ability to rollback to the broken past during the game's start
* Simplified initialization
* Simplified mods module importing and parsing, reducing possible number of fail points
* Moved audio channel registration to options (config) file
* Added default zorder for `cg` image tag
* Added rpym format to .editorconfig
2023-03-02 23:06:16 +00:00

18 lines
571 B
Plaintext

# To add new doll character just add it to this named set inside your mod file
init offset = 2
init python:
def wardrobe_init():
for c in CHARACTERS:
char = get_character_object(c)
body_default = get_character_body(c, type="default")
char.equip(body_default)
outfit_default = get_character_outfit(c, type="default")
char.equip(outfit_default)
outfit_last = outfit = get_character_outfit(c, type="last")
outfit_last.save()
config.start_callbacks.append(wardrobe_init)