AH1488

New Member
Nov 1, 2020
10
13
This is part of the code that spawns professors at the start of the game. If I understand it correctly it is supposed to make them the gender your pc is attracted to if they teach one of two specified classes or else at an 80% chance. The highlighted evaluation doesn't seem to work though. If you remove the || rng.random() part of the line even the two specified professors will have random genders. Is this a bug or am I not understanding how it is supposed to work?
 

Londonerxxx

New Member
Sep 5, 2022
1
20
Alright guys. I was trying to reinsert all of the code changes I made to the game's previous version to fit the new version but I kept running into issues so instead I made a mod patcher so that I can automatically patch and depatch the game with all my mods everytime a new update rolls around. I'm not sure if a tool like this already exists, but I'll upload the game files with the patch tool with all the mods I use.

You guys can make your own mods too if you want.

Main Modding Instructions
1. Download KittyPatcher.zip
2. Put KittyPatcher.exe and the mods folder from KittyPatcher.zip in the main folder of the game, where CourseofTemptation.html is
3. Put the mods you want in the mods folder
4. Double Click KittyPatcher.exe to add the mod(s) to the game
5. Done

For any further help modding or making mods, join the modding discord:

Alternatively, you can run KittyPatcher.py in the scripts folder but you'll need to download Python to run it:
Also, F95 registers KittyPatcher.zip as a Virus because I packaged it as a .exe file but it isn't a virus, but if you want to be safe just download KittyPatcherPy.zip. You'll have to install Python to run it though.

Files Attached:
contains the Mod Patcher and the Mods Folder.
contains the Mod Patcher and the Mods Folder. Python, "safe" version.
Course Of Temptation v0.5.4e.zip contains the Mod Patcher, all the mods, and the modded game. (Outdated)

Download the Mods from Here: Google Drive
Google Drive Link: Google Drive

Mods Included:
Add Faculty Contact Mod Allows you to add Faculty as contacts in your phone so you can hang out with them whenever you want.
Faculty Delimiter Mods Removes all Faculty restrictions.
Pregnancy Mod Allows you to get/get others pregnant.
Date Anybody Mod Allows you to date anybody, including non peers. Further removes Faculty restrictions.
Booty Calls Anytime Mod Allows you to get booty calls anytime you want. No longer restricts booty calls until after 6pm or the following day.
Dates/Hangouts Anytime Mod Allows you to get dates anytime you want. No longer restricts date and hangout times until after 6pm or the following day.
Unlimited Dates/Hangouts Allows you to have multiple dates a day.
Unlimited Chat Flirt Allows you to chat/flirt with someone as many times as you want.
Quick Sex Mod Allows you to have Quick Sex anywhere with anyone that is present that you are normally able to have sex with. Can be buggy and show multiple Quick Sexes at times. One of my favorites. (I recommend Certified AI's as a fantastic alternative.
Orgasm Limit Mod Allows you to go as many rounds as your physicality stat allows for. Also modifies male partners so that they don't tire out after just 1 orgasm.
Uncapped Skills Allow you to level and cheat past level 10.
Leave Locations Nude Allows you to leave locations nude.

Hangout At Your Dorm Mods Allows hangouts to occur at your dorm instead of the other person's.
Unrestrict Relation Qualifications Mod Allows you to bypass relationship qualifications like having to wait 28 days after breakup to get back with an ex.
More Player Football Mod Allows the Player to have more chances to shine in a football game. (Vanilla only allows player to make a move once every 10 games)
Party Events Mods: Allows for Party events more often.
Walk Events Mods: Allows for Campus walking events more often.

All other mods are personalized towards my specific playstyle and modify events to occur much more often than usual.
Add FBuddy/Exhibition Mod: Higher likelihood of getting a fbuddy and the fbuddy exhibition event.
Add Friend/Partner Mod: Higher likelihood of getting a friend and/or partner.
Phone Events Mod: Vastly increases the amount of texts, dates, and hangout requests you get.
Prof Events Mod: Increases likelyhood of Professor events.

Other Peoples' Mods:
NPC Visualization Mod by Maenoko/Mes: An image pack addon that allows you to have images for yourself and others in the game.

Spice of Life & Icon Pack Mod by YazawaHY: Introduces lunch bags, lunch boxes, and a diminishing returns mechanic for food satiety, encouraging players to pursue more diverse recipes.
or

Certified AI's Mods
More orgasms per encounter.
Introduces extra chat options.
Introduces more in person actions to engage with people you see in the game.
Allows you to edit Inclinations from a drop down list instead of having to go to the wiki.

Sarinee's Mods:
Easy Cheat NPC Inclinations

Get Plumpness Change

Edit NPC Orientation

Better Waiting

No Random Chat

Select Stream Channel


Mods Made by Other People Require Modloader:

KittyPatcher.exe/py
This allows you to apply any and all mods you have in your mods folder to the game in a double click.
1. Put the mods in the mods folder.
2. Double click KittyPatcher.py
After doing these two steps, the patcher works by automatically replacing code in the HTML to modify the game code.
You need the latest version of python installed for it to work.

Mods Folder
Store mods here so the patcher can patch your game.

Create Mods Simple
1. old code 1~new code 1~~old code 2~new code 2~~old code 3~new code 3
2. Name file [yourmodnamehere].mod
3. Put it in mods folder

Tips:
1. You have to make sure there is only 1 instance of the thing you're trying to replace. If you try to replace frequency: 40, with frequency: 640, thousands of instances of frequency: 40, will be changed and you'll have to delete the CourseOfTemptation.html file entirely.
2. If you're creating mods, it's best to do so in Notepad++.
3. You can also replace dialogue, but it's very tricky.
4. Try to avoid putting spaces before or after the ~ key separator.

You should also be able to modify any other Twine HTML game with this but you'd need to change the HTML name in KittyPatcher.py.


Would be great if someone made a mod to add images
 

DandyMe

Member
Mar 27, 2024
319
211
Yeah, I hate Discord... :HideThePain:

I know hat there is a mod that adds rudimentary 2d models to the game, but I mean just the ability to add actual photos.
The developers won't never go in that direction..
There could be in future more arts also related to the NPCs/PC aspect, whenever they will manage to find an artist for that, but not a priority right now..
Try asking to the ones making already mods for it..
 

Takkatakka

Engaged Member
Nov 11, 2022
2,916
9,168
The developers won't never go in that direction..
There could be in future more arts also related to the NPCs/PC aspect, whenever they will manage to find an artist for that, but not a priority right now..
Try asking to the ones making already mods for it..
Yeah, that's why they should just add the ability to add some avatars for people that want to and not add them themselves.
 

boobooboo69

New Member
Jun 30, 2021
4
2
Alright guys. I was trying to reinsert all of the code changes I made to the game's previous version to fit the new version but I kept running into issues so instead I made a mod patcher so that I can automatically patch and depatch the game with all my mods everytime a new update rolls around. I'm not sure if a tool like this already exists, but I'll upload the game files with the patch tool with all the mods I use.

You guys can make your own mods too if you want.

Main Modding Instructions
1. Download KittyPatcher.zip
2. Put KittyPatcher.exe and the mods folder from KittyPatcher.zip in the main folder of the game, where CourseofTemptation.html is
3. Put the mods you want in the mods folder
4. Double Click KittyPatcher.exe to add the mod(s) to the game
5. Done

For any further help modding or making mods, join the modding discord:

Alternatively, you can run KittyPatcher.py in the scripts folder but you'll need to download Python to run it:
Also, F95 registers KittyPatcher.zip as a Virus because I packaged it as a .exe file but it isn't a virus, but if you want to be safe just download KittyPatcherPy.zip. You'll have to install Python to run it though.

Files Attached:
contains the Mod Patcher and the Mods Folder.
contains the Mod Patcher and the Mods Folder. Python, "safe" version.
Course Of Temptation v0.5.4e.zip contains the Mod Patcher, all the mods, and the modded game. (Outdated)

Download the Mods from Here: Google Drive
Google Drive Link: Google Drive

Mods Included:
Add Faculty Contact Mod Allows you to add Faculty as contacts in your phone so you can hang out with them whenever you want.
Faculty Delimiter Mods Removes all Faculty restrictions.
Pregnancy Mod Allows you to get/get others pregnant.
Date Anybody Mod Allows you to date anybody, including non peers. Further removes Faculty restrictions.
Booty Calls Anytime Mod Allows you to get booty calls anytime you want. No longer restricts booty calls until after 6pm or the following day.
Dates/Hangouts Anytime Mod Allows you to get dates anytime you want. No longer restricts date and hangout times until after 6pm or the following day.
Unlimited Dates/Hangouts Allows you to have multiple dates a day.
Unlimited Chat Flirt Allows you to chat/flirt with someone as many times as you want.
Quick Sex Mod Allows you to have Quick Sex anywhere with anyone that is present that you are normally able to have sex with. Can be buggy and show multiple Quick Sexes at times. One of my favorites. (I recommend Certified AI's as a fantastic alternative.
Orgasm Limit Mod Allows you to go as many rounds as your physicality stat allows for. Also modifies male partners so that they don't tire out after just 1 orgasm.
Uncapped Skills Allow you to level and cheat past level 10.
Leave Locations Nude Allows you to leave locations nude.

Hangout At Your Dorm Mods Allows hangouts to occur at your dorm instead of the other person's.
Unrestrict Relation Qualifications Mod Allows you to bypass relationship qualifications like having to wait 28 days after breakup to get back with an ex.
More Player Football Mod Allows the Player to have more chances to shine in a football game. (Vanilla only allows player to make a move once every 10 games)
Party Events Mods: Allows for Party events more often.
Walk Events Mods: Allows for Campus walking events more often.

All other mods are personalized towards my specific playstyle and modify events to occur much more often than usual.
Add FBuddy/Exhibition Mod: Higher likelihood of getting a fbuddy and the fbuddy exhibition event.
Add Friend/Partner Mod: Higher likelihood of getting a friend and/or partner.
Phone Events Mod: Vastly increases the amount of texts, dates, and hangout requests you get.
Prof Events Mod: Increases likelyhood of Professor events.

Other Peoples' Mods:
NPC Visualization Mod by Maenoko/Mes: An image pack addon that allows you to have images for yourself and others in the game.

Spice of Life & Icon Pack Mod by YazawaHY: Introduces lunch bags, lunch boxes, and a diminishing returns mechanic for food satiety, encouraging players to pursue more diverse recipes.
or

Certified AI's Mods
More orgasms per encounter.
Introduces extra chat options.
Introduces more in person actions to engage with people you see in the game.
Allows you to edit Inclinations from a drop down list instead of having to go to the wiki.

Sarinee's Mods:
Easy Cheat NPC Inclinations

Get Plumpness Change

Edit NPC Orientation

Better Waiting

No Random Chat

Select Stream Channel


Mods Made by Other People Require Modloader:

KittyPatcher.exe/py
This allows you to apply any and all mods you have in your mods folder to the game in a double click.
1. Put the mods in the mods folder.
2. Double click KittyPatcher.py
After doing these two steps, the patcher works by automatically replacing code in the HTML to modify the game code.
You need the latest version of python installed for it to work.

Mods Folder
Store mods here so the patcher can patch your game.

Create Mods Simple
1. old code 1~new code 1~~old code 2~new code 2~~old code 3~new code 3
2. Name file [yourmodnamehere].mod
3. Put it in mods folder

Tips:
1. You have to make sure there is only 1 instance of the thing you're trying to replace. If you try to replace frequency: 40, with frequency: 640, thousands of instances of frequency: 40, will be changed and you'll have to delete the CourseOfTemptation.html file entirely.
2. If you're creating mods, it's best to do so in Notepad++.
3. You can also replace dialogue, but it's very tricky.
4. Try to avoid putting spaces before or after the ~ key separator.

You should also be able to modify any other Twine HTML game with this but you'd need to change the HTML name in KittyPatcher.py.
Has anyone running to an error after running KittyPatcher.exe?

1731483176892.png

Reverting back to backup/original allowed me to progress tho.

More error details on different browser (stack trace has same details):

An error has occurred. You may be able to continue, but some parts may not work properly.

Error: <<run>>: bad evaluation: TypeError: target is undefined v0.5.4f.

Stack Trace:
wikifyEval@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:162610:11
handler/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html line 162066 > eval:53790:23
createShadowWrapper/MacroContext@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:166088:16
oneClickFnWrapper/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:154623:7
onClickFnWrapper/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:154603:7
dispatch@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:40:40035
add/v.handle@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:40:38006
 

AccidentalGryffindor

Active Member
Oct 8, 2020
536
595
Has anyone running to an error after running KittyPatcher.exe?

View attachment 4228078

Reverting back to backup/original allowed me to progress tho.

More error details on different browser (stack trace has same details):

An error has occurred. You may be able to continue, but some parts may not work properly.

Error: <<run>>: bad evaluation: TypeError: target is undefined v0.5.4f.

Stack Trace:
wikifyEval@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:162610:11
handler/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html line 162066 > eval:53790:23
createShadowWrapper/MacroContext@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:166088:16
oneClickFnWrapper/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:154623:7
onClickFnWrapper/<@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:154603:7
dispatch@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:40:40035
add/v.handle@file:///C:/Users/user/Downloads/CourseOfTemptation-v0.5.4f-desktop/CourseOfTemptation.html:40:38006
At a glance, it looks like you're trying to run an outdated mod on a newer version of the game (mod is 0.5.4e, you're running 0.5.4f).
 
  • Like
Reactions: boobooboo69

givemeabeer

New Member
Nov 7, 2022
4
0
I'm gonna ask my ominous question here, since I didn't get help on the official discord of the game.
Maybe because my question s'not directly about the game... anyway! Here it comes.

I know I'm not the sharpest tool around, but, what exactly have I need to «adapt»?
Because, I tried to inject modloader inside the game, and I get this :

htmlPath Game/CourseOfTemptation.html
jsonPath modList.json
jsPath dist-BeforeSC2/BeforeSC2.js
csp_findString not found !!! skip!
Congratulation! insert2html done! Everything is ok.


But, when I launch the newly generated game, there's no modloader. So, I guess something went wrong, but I don't know what. Did the «csp_findstring» is important? Something else?
I tried to follow the guide on github, but I'm not really sure about what I do. So, if someone here know how to inject modloader into this game, it really be appreciate.
I just need to do it right one time to really understand.
 

BWQX

Newbie
Nov 23, 2019
21
7
I'm gonna ask my ominous question here, since I didn't get help on the official discord of the game.
Maybe because my question s'not directly about the game... anyway! Here it comes.



I tried to follow the guide on github, but I'm not really sure about what I do. So, if someone here know how to inject modloader into this game, it really be appreciate.
I just need to do it right one time to really understand.
Replace (CourseOfTemptation.html) in (mods\logs\backup) with a new one (CourseOfTemptation.html), Run again (KittyPatcher v0.1.2.exe)
 

givemeabeer

New Member
Nov 7, 2022
4
0
Replace (CourseOfTemptation.html) in (mods\logs\backup) with a new one (CourseOfTemptation.html), Run again (KittyPatcher v0.1.2.exe)
Oh, I think you misunderstood, this is the modloader, this to be precise, with which I have some issues. Not the one made by Kitty.
My mistake, I should have precise which one I had problem with.
 
4.30 star(s) 104 Votes