News:

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

Former www.henthighschool.com

Augment Mod

Started by Earliestbird555, Sep 08, 2022, 06:35 PM

Previous topic - Next topic

Earliestbird555Topic starter

The first version of Augment Mod is now available!

Enter The Augment Laboratory and experiment with powerful alchemical effects on your girls. From things such as gaining bonuses based on Love or Fear, to build-changing stat conversions, you'll have the opportunity to find the best synergies and the strongest combinations for each girl.

Meet Azure, the reincarnated alchemist who will be your guide in the lab, and who has a tendency to say words that will make our innocent protagonist scratch his head in confusion.

As a little extra, you can take your beloved girls into the Fun Room... which is basically a quick-access random gallery with a custom sound loop playing in the background.

--------------

This is my first mod, which means a couple of things...

Bugs. Expect a lot of bugs, some of which I probably don't have the knowledge to fix at all.

The code is an unorganized mess, and I made weird decisions at multiple points. For example, I couldn't in the blueberry-fucked world figure out how to add character pictures to 'game_image_dict', so I manually 'show' and 'hide' Azure's picture whenever she speaks >_>

I never tested anything on different resolutions. Even if I did, I don't know how to adjust things properly. So I'm assuming if anyone plays in higher than 1080p resolution, or in some weird aspect ratios, the interface will implode with a bad case of diarrhea.

Buuut that's mostly it, I think. I also wanted to add events and stuff like activities to improve BK's endgame experience, but those may be things further down the line. Or they may come with a different mod. Or they may not come in the foreseeable future at all.

However I'm probably going to turn some of my girlpack exclusive events (most likely The Menagerie Games) into a separate mod that any girlpack could use. If I get some free time to do it.

You can find the mod in my Mega, under the 'Mods' folder. Have fun!

https://mega.nz/folder/OIoXVYqC#B5bUR2gf-_7e9k3bc5n3vA

Goldo

Quote from: Earliestbird555 on Sep 08, 2022, 06:35 PMThe code is an unorganized mess, and I made weird decisions at multiple points. For example, I couldn't in the blueberry-fucked world figure out how to add character pictures to 'game_image_dict', so I manually 'show' and 'hide' Azure's picture whenever she speaks >_>

I'll try to give your mod a spin, but what you are probably looking for is a simple character/image declaration using Ren'Py vanilla features. Not really worth adding it to the dictionary unless you are trying to update the CG gallery, which is probably unwise with a mod (not sure if deactivating the mod would crash the CG gallery, but that is a distinct possibility).
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

Goodgroudon

Hey, I found a bug with your mod. Disclaimer, I have somewhat limited coding experience, but I think I've identified what the problem is.

The "Ripped Abs" augment doesn't properly remove the penalty if the girl is rank one and at 60 constitution or above as intended; this seems to be because the variables it uses to check these two attributes, namely augment_abs_const and augment_abs_rank, are only updated when the player enters the chest menu, not the body (belly) menu. Current workaround is making sure to enter the chest menu before applying the Ripped Abs augment, and the issue should be able to be fixed simply by moving the definitions of the variables from the chest label to the body label.

Side note unrelated to the bug report, but I'm not the biggest fan of a mechanic that forces players to leave a girl unranked in order to receive a benefit as it does with this augment. You can use items to get the girl to 60 constitution at rank 1, but you HAVE to leave her unranked if you want to not get the downsides of the perk. I think a potential change to that augment could be that it measures if a girl has a certain amount of constitution over the base amount for her rank (relatively easy to do by having some if statements), or potentially just if they have the maximum or greater constitution for their rank. As it stands the augment is only usable in the short period where you get rank C girls, which just isn't fun.

Smaug

Could you reupload it? apparently MEGA took it down.

vadi92

Quote from: Smaug on Apr 26, 2023, 08:12 PMCould you reupload it? apparently MEGA took it down.

Here is a link for it.

HollowN

Hiya,

I seem to be getting an error message after adding the augment mod to my mod folder. I have Trait King, Headhunter, King's Way and the ChrisJobMod already installed and working perfectly and am on the current release of Brothel King

Below is the error log:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 97, in <module>
    declare('azure', 'Mods/Augment Mod/chars/azure portrait.png', '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/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, 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/Mods/Augment Mod/augment mod.rpy", line 97, in <module>
    declare('azure', 'Mods/Augment Mod/chars/azure portrait.png', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
 
Tue May  2 16:08:49 2023

(I'm not too knowledgeable on coding, but the lines referenced 95/97 seem to be talking about an "Azure")
Hope somebody can help me with this (I really like the premise of the mod!)

vadi92

Quote from: HollowN on May 02, 2023, 06:19 AMHiya,

I seem to be getting an error message after adding the augment mod to my mod folder. I have Trait King, Headhunter, King's Way and the ChrisJobMod already installed and working perfectly and am on the current release of Brothel King

Below is the error log:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 97, in <module>
    declare('azure', 'Mods/Augment Mod/chars/azure portrait.png', '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/Mods/Augment Mod/augment mod.rpy", line 95, in script
    init -2 python:
  File "game/Mods/Augment Mod/augment mod.rpy", line 95, 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/Mods/Augment Mod/augment mod.rpy", line 97, in <module>
    declare('azure', 'Mods/Augment Mod/chars/azure portrait.png', 'p', x=res_portrait_size, y=res_portrait_size, gallery=False),
NameError: name 'res_portrait_size' is not defined

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
 
Tue May  2 16:08:49 2023

(I'm not too knowledgeable on coding, but the lines referenced 95/97 seem to be talking about an "Azure")
Hope somebody can help me with this (I really like the premise of the mod!)

Dont know what's the cause for you. Are you trying to use it on a saved game? Because for me it's working perfectly fine ???

HollowN

Quote from: vadi92 on May 02, 2023, 02:35 PMDont know what's the cause for you. Are you trying to use it on a saved game? Because for me it's working perfectly fine ???
Okay, I'm a dum dum or didn't install the patch properly
After actually copying it to the right directory, everything seemed to be running well
Thanks for all the help!

neronero

My Girl Packs: [ link ] - Trait King mod: [ link ]