Please request registration email again and then check your "Spam" folder
Started by Goldo, May 19, 2022, 09:17 AM
Quote from: reddok on Aug 13, 2022, 05:42 PMIt is possible, and which would be the most efficient/clean way of having an event end with the addition of a character to the brothel, and have said character's stats reflect the values of stats tracked during interactions with the player during those events?Also, is it possible to have a girl folder inside a mod folder?
init -4 python:#### GIRLS FOLDER #### girl_directories = ["girls/", ] # You can specify one or more directories containing girl packs. The 'game' folder is the root folder
init -3 python: # Creation of 'girl_directories' happens on init -4, and parsing of girlpack templates on init -2, so -3 is fine here girl_directories.append("Mods/My_Mod/My_Mod_Boa/") # You could simply add "Mods/My_Mod/" if you have several girlpacks, but it isn't recommended if you have subfolders with image files elsewhere in the mod because they will be parsed as girlpacks, unless you make sure to use an underscore prefix ("_") to exclude such folders
$ girl = create_girl("My_Mod_Boa", free=False, force_original=True, level=1)
# In this example, we'll change the girl's libido to 50$ girl.change_stat("Libido", 50 - girl.get_stat("Libido", raw=True)) # Changes the stat by the difference between 50 and the current stat
if len(MC.girls) < brothel.bedrooms: # Checks that you have less girls in the brothel than bedrooms $ MC.girls.append(girl) # Adds the girl to the brothelelse: # Here, define what happens if the brothel is full. You can look in BKmain.rpy for inspiration, or in BKevents.rpy (such as the label 'found_runaway_girl_come_back') ...
if girl.personality.name == "loyal": [...]
$ girl = rand_choice(able_girls, Nerd, Loyal, Class president)
$ able_girls = [g for g in MC.girls if not (g.away or g.hurt or g.exhausted) and g.personality.name in ("nerd", "loyal", "class president")]
if not able_girls: return
if service >= 80:
if girl.get_stat("service") >= XX:
if girl.get_sex_attitude("service") >= XX:
Quote from: Goldo on Sep 25, 2022, 02:40 PMHere is what I had time to do when debugging the event. You can test it in-game in the console by using:Code Select Expandcall test_harebOf course it's not integrated as a daily event yet, but you can do that last when the event is fine-tuned.
Quote from: Hareb on Sep 25, 2022, 01:43 PMI'm an absolute n00b with Ren'Py. Never used it before this week.