News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

[Resources] Trait King mod

Started by neronero, May 16, 2022, 08:26 PM

Previous topic - Next topic

neroneroTopic starter

The Trait King mod expands Brothel King's traits system to make each girl feel more unique. If you pluck a random girl off the street to work in your brothel, there's more uncertainty about her starting traits and how she might develop in the future.

[ Download ] (for BK 0.2)

[ Download ] (for BK 0.3 Gameplay Test)


Features:
  • Traits - More gold, positive and negative traits
  • More inequality - Girls will spawn with varying amounts of traits in different combinations of gold/positive/negative
  • Hidden talents - Discover more traits as girls work in your brothel
  • Improve negative traits - Girls with no negative fixations will strive for perfection by improving their shortcomings
  • True enslavement - If they feel comfortable doing so, free girls in your employ may offer you terms for permanent enslavement (allowing you to sell them for a profit)
  • Best girl - At the end of every month, give your most lucrative girl a pat on the back
  • And many more features - Such as trait-specific events, birthdays & holidays

Let me know if any problems occur. Balancing suggestions also very welcome.

To activate mods, in the main menu go to "Mods", select Trait King and press Activate Mod. Then start a new game.
My Girl Packs: [ link ] - Trait King mod: [ link ]

Goldo

#1
Would it be possible to create a thread listing mods and other useful resources, like we had on the old forum, so that I can only sticky one thread? I would rather not maintain it, hence why I don't create it directly.

Edit: Thank you neronero! Great avatar by the way ;)
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

EvilPenguin

1st time using this mod and I like it. Good work :D
But...
during ninja hunt, triggering that event:

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKmain.rpy", line 368, in script call
    call ninja_hunt(selected_location) from _call_ninja_hunt
  File "game/BKchapter2.rpy", line 5367, in script call
    call ninja_game(NPC_haruka) from _call_ninja_game_2
  File "game/BKminigame.rpy", line 222, in script
    call expression ("ninja_" + guest) from _call_expression_7
  File "game/BKminigame.rpy", line 222, in <module>
    call expression ("ninja_" + guest) from _call_expression_7
NameError: name 'guest' is not defined

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

Full traceback:
  File "game/BKmain.rpy", line 368, in script call
    call ninja_hunt(selected_location) from _call_ninja_hunt
  File "game/BKchapter2.rpy", line 5367, in script call
    call ninja_game(NPC_haruka) from _call_ninja_game_2
  File "game/BKminigame.rpy", line 222, in script
    call expression ("ninja_" + guest) from _call_expression_7
  File "renpy/ast.py", line 1488, in execute
    label = renpy.python.py_eval(label)
  File "renpy/python.py", line 2276, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 2269, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/BKminigame.rpy", line 222, in <module>
    call expression ("ninja_" + guest) from _call_expression_7
NameError: name 'guest' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220511
Thu May 19 01:20:13 2022

would attach a save file, but:
"Your file is too large. The maximum attachment size allowed is 512 KB. 0.8 MB"

neroneroTopic starter

Thanks!

The error doesn't strike me as something Trait King might've caused, so I've reposted it on the bug reports thread. If someone there concludes that TK is at the root of the issue after all I'll pick it back up here, but otherwise keep an eye on that thread for updates.
My Girl Packs: [ link ] - Trait King mod: [ link ]

Goldo

Fixed in today's patch.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

j01ntr0l1a

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/BKstart.rpy", line 88, in script call
    call init_game() from _call_init_game
  File "game/BKstart.rpy", line 778, in script
    $ game.start_mods()
  File "game/BKstart.rpy", line 778, in <module>
    $ game.start_mods()
  File "game/BKclasses.rpy", line 193, in start_mods
    self.activate_mod(mod)
  File "game/BKclasses.rpy", line 249, in activate_mod
    renpy.call_in_new_context(mod.init_label) # Suggested fix by SometimesIsNotEnough
  File "game/Mods/Trait King/Trait King.rpy", line 371, in script call
    python:
  File "game/Mods/Trait King/Trait King.rpy", line 371, in script call
    python:
ScriptError: could not find label 'traitking_holidays'.

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

Full traceback:
  File "game/BKstart.rpy", line 88, in script call
    call init_game() from _call_init_game
  File "game/BKstart.rpy", line 778, in script
    $ game.start_mods()
  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/BKstart.rpy", line 778, in <module>
    $ game.start_mods()
  File "game/BKclasses.rpy", line 193, in start_mods
    self.activate_mod(mod)
  File "game/BKclasses.rpy", line 249, in activate_mod
    renpy.call_in_new_context(mod.init_label) # Suggested fix by SometimesIsNotEnough
  File "renpy/game.py", line 344, in call_in_new_context
    return renpy.execution.run_context(False)
  File "renpy/execution.py", line 922, in run_context
    context.run()
  File "game/Mods/Trait King/Trait King.rpy", line 371, in script call
    python:
  File "game/Mods/Trait King/Trait King.rpy", line 371, in script call
    python:
  File "renpy/script.py", line 918, in lookup
    raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'traitking_holidays'.

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Brothel King 0.2 v220519
Wed Jun  1 21:08:22 2022

when i tryto start a new game with mod on i get this error

neroneroTopic starter

Quote from: j01ntr0l1a on Jun 02, 2022, 04:13 AMwhen i tryto start a new game with mod on i get this error
It looks to me like Trait King might not be properly installed.
Besides the files inside the /Mods/ subdirectory, there's also supposed to be a file called "TKevents.rpy" inside Brothel King's /game/ folder.
My Girl Packs: [ link ] - Trait King mod: [ link ]

j01ntr0l1a

ok thanks!! it works now!!!!!!!!!

neroneroTopic starter

Reposting this here so I don't forget  ;D
Quote from: j01ntr0l1a on Jun 14, 2022, 08:15 PMhey i dunno where to put this if this is a glitch or not or just a loop(same diff to me tho im not a tech wiz or anything im just saying something that isnt supposed to happen i believe)and its for Trait King not the main game but i noticed if someone is in High-Demand and you move them over to the farm they will stay in High-Demand indefinitely long as they stay there
My Girl Packs: [ link ] - Trait King mod: [ link ]

EzNorlax26

when i open the game, it shows this
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Trait King/Trait King.rpy", line 248, in script
    init -1 python:
  File "game/Mods/Trait King/Trait King.rpy", line 265, in <module>
    update_label = "traitking_update"
TypeError: __init__() got an unexpected keyword argument 'update_label'

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

Full traceback:
  File "game/Mods/Trait King/Trait King.rpy", line 248, in script
    init -1 python:
  File "C:\Users\lucas\Desktop\a\as\Brothel_King-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\lucas\Desktop\a\as\Brothel_King-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/Mods/Trait King/Trait King.rpy", line 265, in <module>
    update_label = "traitking_update"
TypeError: __init__() got an unexpected keyword argument 'update_label'

Windows-8-6.2.9200
Ren'Py 7.0.0.196
 
Sat Jun 18 01:16:38 2022

neroneroTopic starter

#10
It looks like you're missing the latest patch for BK.
My Girl Packs: [ link ] - Trait King mod: [ link ]

vadi92

Not just the lastest patch but even the lastest build for the game. The version number for the Renpy engine should be: Ren'Py 7.4.11.2266 ::)
You can download both of them from here: https://henthighschool.net/brothel-king/release-brothel-king-v0-2-download-and-information/

EzNorlax26

i'll try it, but i was shure i installed the last version🤔. Thank you very much!

Rewsrer

If you buy a girl for 900 (for example) in 1-2 weeks, increase her level and rank (on bk difficulty) when she receives the mark in demand, she will be worth about 30,000 for sale and this is in less than a month. If you raise her 2 ranks, she will be sold for 70000+. This is incredible cheating ;D  ;D
This is a very fun mod if you find the princess after the last perk is available. She is capable of making huge profits alone.

neroneroTopic starter

Quote from: Rewsrer on Jul 27, 2022, 10:36 AMIf you buy a girl for 900 (for example) in 1-2 weeks, increase her level and rank (on bk difficulty) when she receives the mark in demand, she will be worth about 30,000 for sale and this is in less than a month. If you raise her 2 ranks, she will be sold for 70000+. This is incredible cheating ;D  ;D
This is a very fun mod if you find the princess after the last perk is available. She is capable of making huge profits alone.
I'm glad someone is using this strategy ;D

I was hoping to make it extremely strong, but still difficult to rely on (you won't always find a princess, you can't predict when a girl will become in demand)

If it's a bit too strong now, which one of these nerfs would you prefer?

  • Nerf "In demand" by making it have a smaller effect on the girl price
  • Nerf "In demand" by making it occur less frequently
  • Nerf "Princess" and "Noble" by making the valuation effect slowly reduce in strength as their rank increases
  • Nerf "Princess" and "Noble" girls by making them more of a pain in the ass to sell. Eg: They could have a small chance to write letters of protest to the slavers guild, causing them to temporarily become unsellable (in terms of game mechanics, they would temporarily become "free" girls in your employ)
My Girl Packs: [ link ] - Trait King mod: [ link ]