WTS/game/scripts/doll/init.rpy

25 lines
873 B
Plaintext
Raw Permalink Normal View History

2022-05-16 23:48:22 +00:00
# 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 states.dolls:
2022-05-16 23:48:22 +00:00
char = get_character_object(c)
2024-03-26 18:53:28 +00:00
body_default = get_character_body(c, typ="default")
char.equip(body_default)
2024-03-26 18:53:28 +00:00
outfit_default = get_character_outfit(c, typ="default")
2022-05-16 23:48:22 +00:00
char.equip(outfit_default)
2024-03-26 18:53:28 +00:00
outfit_last = outfit = get_character_outfit(c, typ="last")
2022-05-16 23:48:22 +00:00
outfit_last.save()
char.set_face(mouth="base", eyes="base", eyebrows="base", pupils="mid", cheeks="none", tears="none")
def chibi_init():
# TODO: Perhaps it could be automated?
hooch_chibi.register("stand", 1, (600, 800))
hooch_chibi.register("walk", 8, (600, 800))
config.start_callbacks.extend([wardrobe_init, chibi_init])