Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Mana for Baby

A topic by Rendrassa created Sep 03, 2018 Views: 7,521 Replies: 10
Viewing posts 1 to 3
(2 edits)

Instead of paying 500 gold to raise a baby, it will cost 100 mana.

Link to mana mod: https://mega.nz/#F!biRghKII!Trv0gkJcurL4KIasNV0jwg

Not compatible with mods that change pregnancy stuff. Not required for Aric's.

is the mana mod working on V1.0+ ?

While I have not tried it, there are no code conflicts with V1.0d. Though the babyage function uses some unsafe randomization, the chance of it crashing your game is very very low. If you feel unlucky, then deleting that function from the mod's Mansion.gd will not effect the mod or the game. Script files are plain text.

As far as I know, it works with the latest build. If not, please let me know and I'll try to fix it.

Huh. Can't get this to work. I even copied the script into the bugfix mod's Mansion file figuring it was overriding this, trying top and bottom in case that made a difference, and I'm still getting 500 gold demanded on the screen and subtracted from my stockpile. I'm noticing there's not an AddTo or RemoveFrom command, is there supposed to be? Or is this text just supposed to be copy-pasted over the relevant sections in the original game files?

This mod should be lower in the list of mods than the Bugfix mod as both mods change the same functions. The Bugfix mod simply fixes some typos, so it is fine to override those changes. This mod does not need to use tags like AddTo or Remove from as without tags the mod system defaults to adding new or replacing existing definitions. The Bugfix mod also uses untagged changes. The mod that is lower in the list is applied later and for definition replacements this means that the later change overrides the earlier change.

This mod (and the mod system itself) is simply the automated version of copy-pasting the text over the relevant sections of the original game files. If you wanted to do it manually, then the results should be essentially the same. Though it may be worth investigating why it is not working for you. If I were to guess why it doesn't work, then I would say that since the download was not packaged as a archived folder you may not have setup the mod correctly as all of the pieces are essentially necessary. The site offers the option to download all the files as a single zip, which can be extracted into a folder of the same name. It should look something like this:

  • mods
    • Mana for Baby
      • info.txt
      • scripts
        • Mansion.gd

If it still does not work for you, then I recommend checking that there are not errors reported by the mod system. If you have 64-bit Windows, there is also the option to get the Debug mod, though the mod system generally reports most errors without needing the additional output window.

It's necessary to keep the text file that just has a single sentence (in English, not code) that tells people what the mod does? The mod has one working part and I had it installed. I'm pretty sure it was at the bottom because it was the last one installed but I can try again, but even if that wasn't the case, I literally copy/pasted the code from this mod into the relevant file from the bugfix mod, both at the top and at the bottom of that file (not at the same time), and I searched every other mod I use to make sure there were no further conflicts. The only other thing I can think of is that somehow the mana mod's code needed to go somewhere in the middle of the bugfix file. Nothing worked until I edited the main files. I mean, this mod's code still showed me where to make the edits, but that's not the point of a downloadable mod. 

I am on win10 btw.

I'm sorry, I don't mean to sound crass. It's just that I've done mod debugging before and already tried all of these solutions except for a debug mod, which I didn't know existed and don't really need. Apart from my game crashing when I try to reload a save and a few mods causing a crash or just flat-out not working, everything runs fine. If this debug mod can fix those issues I'll look into it, but otherwise I'm reasonably happy with my current setup. Still hoping I can learn to expand the sex system from the expanded sex mod, but that's slow going. I simply wanted to let the author know in case things weren't working as intended.

The mod system uses the info.txt files to determine where the root folder of each mod is. So long as the rest of the folder structure matches what I stated, the mod system should be able to place a default copy of info.txt in the correct folder. If you did not have info.txt nor the correct folder structure, then the mod system should give a warning stating that the Mansion.gd file was not used to mod any file, nor tagged as a custom script.

Indeed copying the code from this mod into the bottom of the Bugfix mod should probably work, which is why I suspected that you have a larger issue. Upon hearing that there are more mods that becomes the most likely explanation. Without knowing which mods you have installed I cannot verify that there are no further conflicts. Otherwise, it would likely mean that your mod system was failing in general, which can be the result of bad paths or limited permissions.

The Debug mod does not fix problems, but it can make fixing problems a lot easier. It changes how the Godot Engine handles errors from crashing to giving error messages that list a reason, file, and line number. Note that simply because it is not crashing does not mean the problems are gone and saving a progress after an error can result in data corruption (this can happen without the Debug mod, but crashing usually prevents it). On Windows 10 you will probably need to use the Command Prompt to start the game to get access to the debug output. There are instructions provided in the topic: https://itch.io/t/1137280/debugmod-v1

I understand that you may have experience with some of this before, but I am not inclined to rely on that given the limited communications so far. I have been fixing bugs and problems related to Strive(semi-officially) and its mods for more than 3 years, during which I have been updating the mod system. I often provide assistance with understanding Strive's code and mod system to modders. The Discord (https://itch.io/t/284398/discord) is often the fastest place to get help as there are usually other modders besides myself.

I have tried installing only the Bugfix mod and this mod and there are no issues.

Sorry, I didn't mean to downplay your experience. And I had no idea the game would actually be making use of a text file with zero code. I only have 4 mods listed currently: Constants, Random Portraits (the first two mods I ever picked up), Expanded Sex (downloaded this week), and the Bugfix, into which I incorporated Levelling Makes You Smarter and Halfkin Offspring Expanded, as it seemed to be overwriting them. Not exactly a long list. I check the mod report each time I add a new one, and nothing ever comes up, but I still get the reload CTD issue, which has been going on for long enough that I just assume it's going to happen. I also had an issue with Mind Read Always Active and then Armor Matters, where the explore menu would say I'd found a fight but never spawn the buttons to fight it or avoid it, so I ditched those mods, and the last time that happened the problem persisted until I downloaded a fresh copy of the game.

Could be the constants mod interacting badly, I suppose. Pretty sure I haven't updated it in at least two years.

No offence taken, even with my experience Strive is a crazy mess that still surprises me, and that's before we add in mods.

Your Constants mod was updated when you applied the Bugfix mod, and since you probably re-applied the mods after it was updated it should be fully up to date. The Constants mod only exists in the main menu and is unloaded entirely when you enter the mansion, the mod is pretty isolated and not prone to problems with anything besides itself (I'll get those worked out eventually).

Random portraits is also a very isolated mod and not prone to problems. The old version still works with minimal issues, but this https://itch.io/t/984434/randomportraits-and-portrait-pack-editor-for-the-10-version is the current version.

Expanded Sex is a group of mods that has two parts to it, Es-01-ExpandedSex and Es-02-ChastityBelt. There is a topic to download the first part by itself, but that has version 1.3d rather than 1.3e. He added some compatibility tweaks for my Bugfix mod since I copied his bugfixes, but the 1.3d first part does not appear to conflict. However, the Bugfix mod has been updated since, but the ChastityBelt mod has not and is not compatible with recent versions. You didn't list ChastityBelt so I will assume that you don't have that part, but I mention it just in case.

Leveling Makes You Smarter, Halfkin Offspring Expanded, Mind Read Always Active, and Armor Matters were all made prior to version 1.0 of Strive, which was a period of significant code changes and makes them prone to having the wrong line numbers. Fortunately the mods seem to have avoided most of the changes past and present as none of them conflict with any of your stated mods. Leveling Makes You Smarter and Halfkin Offspring Expanded appear to both be entirely okay, though they both touch core mechanic so I won't rule out conflict with other mods.

Mind Read Always Active has some significant line targeting problems so I changed the first three tags to:

<RemoveFrom 29 29>
<AddTo 29>
<RemoveFrom 176 181> 

Note, the mind read mechanics have changed since then to no longer require a turn to cast during combat, which was one of the big motivations behind the mod.

Armor Matters has a slight line problem so I changed the second tag to:

<AddTo 54>

After making those changes I applied the Bugfix mod, restarted the game, applied all the mods, restarted, and had no issues with any of the mods. Here is my mod panel:

The mod system notes that a couple overlaps between the mods occurred, but I know from having looked at them that neither are a problem.The order of the mods is mostly open to flexibility as there are minimal overlaps, with the exceptions being Mana for Baby and Constants need to be below the Bugfix. The Bugfix is placed first and random portraits and Constants last as a general approach to deal with conflicts.

Thus your problems likely are a result of either your changes to the mods or your save file has data corruption. I would recommend trying a fresh install with the tag changes I made and see if you have any problems with a fresh start versus loading your save. If the save file is the problem and you want to keep playing it, then you can share it here or on Discord and I can try to fix it as explaining all the data in the save file is tedious.

Yeah, I first tried the "mindread always on" before mindread didn't cost a turn, but I got sick of having to spend time setting that up all the time (mana isn't really an issue, it's easy to maintain ~2000 mana with 12+ girls and a few foursomes a day), so I'll give it the suggested line edits and hope that works. 

So I've just about finished my reload and have *more* mods now with no issues so far. Though I haven't done a pregnancy test to confirm Halfkin Expanded is working yet. My guess is that versioning is what was getting me. I hadn't realized the main game was still getting code updates so I was running a version from ~2 years ago I think, and some of my mods were older while others were more recent. I also didn't know the bugfix should be first so I'm pretty sure constants was at the top.