Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: Nuclear Lychee on April 21, 2020, 07:12:11 PM

Title: Editing cpp files
Post by: Nuclear Lychee on April 21, 2020, 07:12:11 PM
Hey all! I'm not really a coder, but I've lately been seeing if I can get my head around editing the game's cpp files to add text, functioning traits and suchlike.

Having done so, I suspect the game isn't reading the new file - is there a particular location that the game looks for cpp files in, and (since cpp files are normally hidden in the 'guts' of the game, rather than a readily editable thing like girlsx files), how do I get the game to read the new file rather than the old one?
Title: Re: Editing cpp files
Post by: Gameboy on April 22, 2020, 12:05:29 AM
Look at the whore master editor in whoremaster/Docs&Tools/Character & item Editor at the top there is a traits page
Title: Re: Editing cpp files
Post by: Nuclear Lychee on April 23, 2020, 11:31:32 AM
To be honest, I haven't found the editor's traits page to be particularly useful. Editing CoreTraits.traitsx allows you to create new traits and set their stat modifiers and inheritability, but it looks like I need to be rooting around in the cpp files to let a trait give unique messages when performing a job.