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

4.60 star(s) 51 Votes

Congressman Weiner

Active Member
Jul 29, 2018
849
775
288
Is there any way to change the way the farm works? I have plenty of pictures for the "beast" category, less so for "monster", and fewer for "machine" and "big" -- is there a way to make it so that there are more of some and less of others? (I'm no programmer so if it's really complicated I'll be lost)
 

WarblGarbl

Active Member
Oct 10, 2017
537
640
258
Is there any way to change the way the farm works? I have plenty of pictures for the "beast" category, less so for "monster", and fewer for "machine" and "big" -- is there a way to make it so that there are more of some and less of others? (I'm no programmer so if it's really complicated I'll be lost)
If I understand how mods work, when you do an action it just grabs one of the photos that fit that category. So if you have one machine picture and 10 beast pics, when you choose to do a machine action it will only grab the one image while for a beast action it could grab any of those. By having more for beast you'll just have more variety for those actions. You might be able to change the girl to have the weakness to beast to make it more useful but besides that there's not much to change. Because you can choose which action to do in the farm there's not a huge reason to need to prefer one or the other.
 

Pornolover91

Newbie
May 3, 2023
35
14
94
Is there a tutorial for creating mods? I'm missing 2 things in the game. Once a person where you can tattoo, pierce and brand your slaves. And secondly, an expansion of the farm direction where you can get and sell milk.

I'm just too stupid to create it myself without help, so the question is, is there a tutorial?
 

vadi9203

Member
Aug 2, 2019
463
273
238
Is there a tutorial for creating mods? I'm missing 2 things in the game. Once a person where you can tattoo, pierce and brand your slaves. And secondly, an expansion of the farm direction where you can get and sell milk.

I'm just too stupid to create it myself without help, so the question is, is there a tutorial?
No. Not really. But there is a guide for writing for BK. If you have questions regarding how to create a mod you can always ask Goldo or neronero on BK forum. They can help you.
 

Congressman Weiner

Active Member
Jul 29, 2018
849
775
288
If I understand how mods work, when you do an action it just grabs one of the photos that fit that category. So if you have one machine picture and 10 beast pics, when you choose to do a machine action it will only grab the one image while for a beast action it could grab any of those. By having more for beast you'll just have more variety for those actions. You might be able to change the girl to have the weakness to beast to make it more useful but besides that there's not much to change. Because you can choose which action to do in the farm there's not a huge reason to need to prefer one or the other.
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
 

WarblGarbl

Active Member
Oct 10, 2017
537
640
258
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
You could probably remove the other options in the code but I would wager that would break the game somehow.
 

Kealan

Newbie
Feb 9, 2018
78
149
165
Yeah, I was just hoping there was a way I could, for instance, tell the farm to only have beasts or more beasts than, say, machines (of which I have the least amount of pictures for)
I might not be fully understanding what you are after, but you need to buy your farm beasts/monsters/machines/dudes. So why not just buy only those and use only those in the farm training?
Mods could easily be used to make the farm more favorable for big dudes (or any other specific type) training.
You could think of cost reductions for buying big dudes, extra slots for them, cheaper slots for them.
It would probably break some game logic if a mod tried to remove the other types completely.

So, if you have a specific gameplay idea on how you would skew the farm towards one type, let us know. People here could probably tell you if it's possible to mod if not actually mod it in. Or try on the , where more modders are active or modders are more active.
 

Congressman Weiner

Active Member
Jul 29, 2018
849
775
288
I might not be fully understanding what you are after, but you need to buy your farm beasts/monsters/machines/dudes. So why not just buy only those and use only those in the farm training?
Mods could easily be used to make the farm more favorable for big dudes (or any other specific type) training.
You could think of cost reductions for buying big dudes, extra slots for them, cheaper slots for them.
It would probably break some game logic if a mod tried to remove the other types completely.

So, if you have a specific gameplay idea on how you would skew the farm towards one type, let us know. People here could probably tell you if it's possible to mod if not actually mod it in. Or try on the , where more modders are active or modders are more active.
I guess my point is this:

I have lots of girls who have pictures for beasts but not other things.

But when I go to the farm (at first), there's only 1 beast option and then 3 other options that I hardly ever use (big, machine, monster). So I don't want to choose girls for the farm that don't have pictures for those other options.

I wanted to make it so I can make all of them "beast" options or maybe make it so the farm has x many pens and we decide what to use the pens for based on what we buy (beasts, monsters, machines, etc)
 

Congressman Weiner

Active Member
Jul 29, 2018
849
775
288
You could probably remove the other options in the code but I would wager that would break the game somehow.
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
 

WarblGarbl

Active Member
Oct 10, 2017
537
640
258
e 'res_portrait_size' is not defined
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
Somehow the game can't get the size of Sil's portrait. Do you have a file called portrait.webp in the folder NPC/Sill? If you do something is super wrong with the code.
 
  • Like
Reactions: Congressman Weiner

Yasaki74

Member
Aug 21, 2020
141
152
238
I'm not experienced enough in coding to even try.

And now I'm getting this error message as I try to play and I don't know what happened:


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/bootstrap.py", line 331, in bootstrap
renpy.main.main()
File "renpy/main.py", line 560, in main
renpy.game.context().run(node)
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "game/BKdeclarations.rpy", line 175, in script
init -2 python:
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/BKdeclarations.rpy", line 643, in <module>
declare('side sill', 'NPC/Sill/portrait.webp', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.22621
Ren'Py 7.4.11.2266

Tue May 21 23:02:56 2024
well it's either the file is missing or the directory of the game trying to find that file is at the wrong spot
(I seen this code before)
 

Congressman Weiner

Active Member
Jul 29, 2018
849
775
288
Somehow the game can't get the size of Sil's portrait. Do you have a file called portrait.webp in the folder NPC/Sill? If you do something is super wrong with the code.
Yep, it's there....but hey, I notice there is also a "portrait_unknown" as well. Should I delete that? Is that the problem?

EDIT: I downloaded and reinstalled the game, so that fixed it. No idea what suddenly caused it, though.

Screenshot 2024-05-22 182416.png
 
Last edited:

vadi9203

Member
Aug 2, 2019
463
273
238
Is this still being developed? If so, is the version in the OP the latest or is it somewhere else?
It's still in development. you can download the test version for 0.3.

In the OP you only find the lastest stable version of the game.
 
  • Like
Reactions: Laritas

Laritas

Member
Jul 10, 2023
374
706
226
Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.
It's still in development. you can download the test version for 0.3.

In the OP you only find the lastest stable version of the game.
Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.
 

vadi9203

Member
Aug 2, 2019
463
273
238
Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.

Thanks for the info. Had thought the project was abandoned as the last update in this thread was on 2022-04-28.
It's not abandoned. Just have a very (i mean very) slow update as Goldo only have a limited time working on it.
 
  • Like
Reactions: Laritas

Teritius

Newbie
Jan 5, 2021
74
58
119
After several playthroughs and over a 100 hours of this game, I ask. What's the extractor, and where do I get it?
 

WarblGarbl

Active Member
Oct 10, 2017
537
640
258
After several playthroughs and over a 100 hours of this game, I ask. What's the extractor, and where do I get it?
I think those are the things you can buy later that extract resources from the sites automatically? You get them from the shops and they generate bonus materials if you place them at the spots. Kinda pricy for what they do.
 
4.60 star(s) 51 Votes