[Mod] NeverInept: Protect yourself from ineptitude

Installation

Create a new folder called NeverInept

Create two text files within your new folder, naming one main.js and the other info.txt

Copy one of the code blocks located below, and paste it into the associating file.

Repeat step 3 for the other code block.

Move the entire NeverInept folder to your Cookie Clicker mod directory. By default it's located here: C:\Program Files (x86)\Steam\steamapps\common\Cookie Clicker\resources\app\mods\local\

Usage

Activate the mod by opening Cookie Clicker, then going to Options > Mods > Manage Mods > NeverInept > Enable, then restart the game. You will receive a notification upon starting the game while the mod is active.

Files

main.js

var noticeTitle = 'NeverInept'; var noticeIcon = [29,11]; var spellName = 'Diminish ineptitude'; var debuffName = 'Magic inept'; Game.registerMod('chaneverinept',{ init:function(){ Game.Notify(noticeTitle,'Protecting you against ' + spellName + ' backfires.',noticeIcon); var debuffCheck = setInterval(function() { // Loops four times per second. if (Game.buffs[debuffName] && Game.ObjectsById[7].onMinigame) { Game.ObjectsById[7].switchMinigame(false); Game.Notify(noticeTitle,'Wait until ' + debuffName + ' expires before casting more spells.',noticeIcon,true); } }, 250); }, save:function(){ }, load:function(str){ }, });

info.txt

{ "Name": "NeverInept", "ID": "chaneverinept", "Author": "Chachamara", "Description": "Automatically close the grimoire if Diminish ineptitude backfires.", "ModVersion": 1.0, "GameVersion": 2.042, "Date": "2021-10-15", "Dependencies": [], "Disabled": 1, "AllowSteamAchievs": 1 }

Source: https://steamcommunity.com/sharedfiles/filedetails/?id=2629038619					

More Cookie Clicker guilds