Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Events

A topic by RainyWater created Sep 18, 2018 Views: 740 Replies: 3
Viewing posts 1 to 4

I know that i already made a thread of the amount of events that occur in a period of time, and that there was an update for changing the variables for it, but I've no idea how to change it (Not alot of coding experience T_T) could someone please guide me to change the variables of events ^_^

You don't need to be a programmer. In the Strive game folder, look in Files\scripts\variable.gd. Open variables.gd in a text editor such as Notepad or Notepad ++.  The file is a list of variables with assigned values. Change whatever values you want and save the file. You'll need to redo this each time the game is updated.

Thanks for expaining, sadly i couldn't find a variable for the amount of events that occur in the mansion, kinda sucks

(1 edit)

I'm not sure, but I think that the NPCs have a stat, "attention", which is daily increased b 5-7 points if they don't sleep with you. Once their attention reaches 50 points, the NPCs are "eligible" for a personal event: the game picks one of them and compare their attention to a random number between 30 and 150. If their attention is smaller, the NPC has a personal event and its attention goes back to zero.

Again, I'm not sure and I didn't make any test, but you may open the file "files\scripts\Mansion.gd", find the line:
        if personlist[number].attention < rand_range(30,150):
and play with those numbers. Remember to save in UTF-8 format. Backup the script before editing it.
Eta: in the same file you may also play with this other line:

               person.attention += rand_range(5,7)

About the text editors: Notepad literally can't into line endings. Go with Notepad++. Or, alternatively: Atom, Brackets, Sublime, Scite.
MS Wordpad sucks too (can't deal with UTF-8 encoding). Avoid also MS Word / Writer for stuff like this: they will fill your files with sh*t. Good luck!