Ren'Py Brothel King [v0.3] [Goldo]

4.60 star(s) 47 Votes

__neronero

Member
Jan 23, 2021
285
393
I'm thinking about adding some traits that fits my kinks...
So I'm opening the BKtraits.rpy and can simply add my traits in one of the three columns, right?
(I know there is a manual in the file but I was not able to find out was the dictionary means.)
Maybe some of you could help?
A dictionary is just a way to store a bunch of data in the code, such as a list of all positive traits. (although a dictionary is technically not a list, but let's not get into that)

Yes, you can simply add new traits to the gold_traits, pos_traits, neg_traits parts of the code.
If you want to keep using trait king, then add your new traits to /Mods/Trait King/Trait King.rpy instead. (The mod kinda throws away the dictionaries from BKtraits.rpy and starts over from scratch)

Effects is the most difficult part to fully comprehend, because it's so broad and can be used to influence almost anything in the game. Traits are effects, Spells are effects, Consumables and items are effects, Perks are effects, etc. I recommend simply browsing through BKtraits.rpy or Trait King.rpy for inspiration. Below is a short introduction that's given where the Effect class is defined.

Code:
         ## Type defines how the effect work

         # Boost applies a % increase (or decrease). Value is a float number
         # Change applies a fixed value change which is not limited by stat max. Change can be reversed. Value is a number.
         # Gain applies a one time permanent gain and is limited by stat max. Gain cannot be reversed. Value is a number.
         # Set replaces a base value with the new value
         # Allow unlocks a brothel option
         # Special is hard-coded

         ## Value depends on the effect type. It is often used for checking the presence of an effect, so set it to 1 unless you need it to work differently

         ## Target defines what the effect affects

         ## Chance is the chance that the effect will happen. A float number.

         ## Scales_with is hard-coded for the moment and only concerns MC stats // <- I think this part is outdated, you can also use it on girls -neronero

         ## Scope is the scope of the effect: individual (None), brothel-wide ("brothel"), farm-wide ("farm"), free-girls ("city"), or "world" ("everywhere")
 

Daemmerwind

New Member
Aug 30, 2021
14
31
Thank you very much.
I added my Traits by simply copying an old one and changing the name.
But it doesn't seem to appear after about 100 reloads.
There seem to be no error-message of an unknown trait. So maybe I'm still a little mistaken. Hmm...
 

__neronero

Member
Jan 23, 2021
285
393
Thank you very much.
I added my Traits by simply copying an old one and changing the name.
But it doesn't seem to appear after about 100 reloads.
There seem to be no error-message of an unknown trait. So maybe I'm still a little mistaken. Hmm...
You can test if your traits are in the game by opening the console (Shift + O) and typing the following, including the quotation marks around your trait's name.
trait_dict["Your Trait"]

The response should be a store.Trait object, not a KeyError.
 

Daemmerwind

New Member
Aug 30, 2021
14
31
I see, all my traits generate errors whilst the officials traits generate store objects.
Let's see what I did wrong. ^^
I'll get into it.
 

ek1231234

New Member
Dec 2, 2020
2
0
I have some of the patch from older versions. Just we should know wich was the date for the version he used before updating it and i can post it.
Thanks for the replies (Neronero too).

I updated the game before even starting to play, so it isn't caused by an update :/ Prolly just me suffering for using a mac if there's no other workarounds - thanks though! :)
 

__neronero

Member
Jan 23, 2021
285
393
No one knows for sure, but Goldo's progress updates make me think there will be a test version within the next few weeks. Which will be more stable around... March?

A long time between updates is this developer's specialty. In his own words:
Goldo said:
I am a one man team, so progress on the game will always be slow but steady. I cannot promise to deliver new events at any kind of speed (especially since all the volunteers to help me with the writing have a way of vanishing into thin air...), but at least I am immune from the bickering and burn-outs that routinely happen in amateur teams working on hentai games. Please bear with me, and we will improve the game together thanks to your feedback!
Test versions can be very unstable and buggy for the first few weeks, so I'm already dreading what this thread might turn into when a horde of players get frustrated by game-breaking bugs over and over. o_O
 

Alfre4u

Member
Dec 1, 2018
480
523
Curious How Many GB worth of Gals do people have added to this ? (in 1 save)


I Have roughly 12-13gb and used to have a little more but trimmed it down, merged some etc... when I decided to remove a ton too make 1 last new save
(was playing with 2 saves of like 9gb and 11gb worth I think :D ) -->
This toke a bloody long time and idk if was worth considering how long updates take to be made and it just being pics and small clips but you know :sneaky:
 
Last edited:

Daemmerwind

New Member
Aug 30, 2021
14
31
Waaay too many.
And when I think about I just could have watched porn, I don't know why it is way cooler watching it in the game.

The only problem is... it slows the game down a lot.
 

nothereorami12345

New Member
Jul 27, 2022
2
0
Is there any way (change files, charge customers, change brother settings (I already know dim lights, etc) to make end-of-day customer events or morning girls events occur more frequently?
 

CazadorAlien

New Member
Nov 13, 2017
1
0
Odd question but is there a way to add a pregnant trait? maybe get it randomly during sex and force the use of preg specific pictures. Might be able to flesh it out even more gameplay wise
 

__neronero

Member
Jan 23, 2021
285
393
Is there any way (change files, charge customers, change brother settings (I already know dim lights, etc) to make end-of-day customer events or morning girls events occur more frequently?
For morning (or night) events, I don't think there's a way.
For customer events, other things that can help is 1) attracting Craftsmen & Patricians (customers that are extra "horny"), and 2) waiting for a Wet Moon.

When changing files, for morning/night events: BKstart.rpy, line 133 & 134, change chance to something higher (1.0 = 100%)
For customer events: BKfunctions.rpy, line 2155, add a number at the end of this "chance = ..." line (eg: "chance = ... + 10"), 100 = 100%

Odd question but is there a way to add a pregnant trait? maybe get it randomly during sex and force the use of preg specific pictures. Might be able to flesh it out even more gameplay wise
Short answer, yes.

Long answer,
- The ingredients are available to support mods/events that use images with a pregnancy tag.
- Not many girlpacks support this tag. And it's not popular enough among artists to make such a feature a very prominent thing, such as a main tag which can be used in combination with all other tags - so it's not realistic to want girls becoming visibly pregnant but still going about their business as usual in the brothel
- We've had this discussion a few times over the years, but it has never been clear what this should look like gameplay-wise and how that would be a fun addition. Even if you just show the third trimester, 3 months is a very long time in the game and it's hard to imagine what your girl would be doing during that time (remember that for the average girl pack, you're going to have 1-2 pregnancy pics in total to work with for all this time)
- Best we can think of is some sort of magical pregnancy or parasitic-disease that only lasts a few days. But if it's a magical pregnancy, it's hard to wrap your head around how much of an impact such magic would have lore-wise. And if it's a parasitic-disease, it's hard to wrap your head around how that would be fun for most players.
- check out earliestbird555's girlpacks, most of them have custom events that involve pregnancy.
 

MayhemZero

New Member
Apr 3, 2020
5
0
You can test if your traits are in the game by opening the console (Shift + O) and typing the following, including the quotation marks around your trait's name.
trait_dict["Your Trait"]

The response should be a store.Trait object, not a KeyError.
How do you get it to not show up as an error?
 

Febui

Active Member
May 6, 2022
507
559
It's a small touch, but I quite like how the Virgin trait is replaced by one of several different traits depending on how the girl loses her virginity.
Buy her up and rape her on the spot? Trauma trait, huge buff to fear.
Make her happy and safe and send her to the farm to lose her virginity to the animals? Farmgirl trait, buff to obedience and farm preferences.
Care for her and raise love up so she consents to sex with you? Teacher's Pet trait, +10 beauty and +20% love gains. Also 4 prestige.

I assume losing her virginity to a customer gets something like "slut", but I'd love to find out that if building love with her really high and then her losing her virginity to a customer got some kind of NTR themed trait.
Passively raise sex preferences for all slaves based on their love value. The more all your girls want you, the more they all want other dicks.
But there's probably no NTR trait.
I wonder what others there could be.
 
  • Like
Reactions: selberdreher

Leortha

Active Member
Jun 25, 2019
744
668
As a side note I will add that a Virgin girl is immune to some of the randomness of the game. The idea is that the girl knows that her master holds her virginity as a thing of value, and thus she works to hold on to it. Things like cases where a customer there for a non-sexual service pushes the girl to give them sex. Most girls, it's random whether they will accept the request for enhanced service. A virgin will refuse.

I had Goldo add such. It's hard enough keeping a virgin without being subject to randomness. You can still pop her cherry easily enough yourself, or assign her to do sex for customers, but she will not lose her virginity to randomness.
 

Febui

Active Member
May 6, 2022
507
559
Slaves cost fairly little early on. You are much more restrained by bedrooms than girls to fill them.
What's the point of girls around the city? Action points seem like they're worth way more than those girls. I could seduce this free woman into joining my brothel by spending a dozen action points building love
Or I could spend 3 actions points and get probably a bit of carpenter material, some gossip, and randomly 350 gold to buy a slave.
On top of that, I know the stats and perks of the slave before I invest anything into them. I need to get to know the free girls.
The love value seems uncapped by low rank, but that's of... little benefit. It doesn't seem to yield girls that are often virgins, as none have been so far for me.
And if I want a lump sum of money fast, or just want to change my roster of girls out, I can sell a slave. I can only dismiss free girls.
It's not like free girls have no upkeep. They seem to cost similarly as much as a slave.

Also, the girl pack used for a free girl can still appear in slave trade on a different week. Maybe even the same week, I though not that I noticed.
There does seem to be no benefit. More work for less reward. At least as far as I see it. Am I missing anything?
 

__neronero

Member
Jan 23, 2021
285
393
What's the point of girls around the city?
The main benefit is that city girls are 3x more likely to be "originals" (gold name, better traits) compared to girls at the slavemarket.

In older versions you used to be able to sell free girls after seducing them. Unfortunately that's no longer possible without mods. But even so, the most money is made by working girls with great combinations of traits & perks. The best traits belong to original girls, and you only have to say hi once to discover which girls are originals.

How effective flirting with free girls is really depends on the player's alignment and charisma. The love gains per AP spent becomes way better if you're a "good" guy with high charisma.
 

Febui

Active Member
May 6, 2022
507
559
3x more likely to be "originals" (gold name, better traits)
Can the original appear even if you already have a copy? So, my Xen Fu that has Lyndis's art won't prevent me from getting a true Lyndis?
If it does prevent me from encountering the same girl, I feel compelled to sell generically named ones that I actually like so that I can get the true version.
It's not like I'm short on options to fill my rooms I guess, so I could just quickly rank her up and flip the thousand gold and buy up some other girl and it hardly matters. Probably for the best that I don't keep her around just so I'm not tired of seeing her art by the time the original appears.
 
  • Like
Reactions: __neronero
4.60 star(s) 47 Votes