Cookie Clicker – How to Add/Install Building Mod in Game – Tutorial Guide

Cookie Clicker – How to Add/Install Building Mod in Game – Tutorial Guide 2 - steamlists.com
Cookie Clicker – How to Add/Install Building Mod in Game – Tutorial Guide 2 - steamlists.com

There seemed to be no mod to add original buildings, so I made one.

This section explains how to install the mod and add buildings.(DeepL)

Update

2021/09/18 v0.9999

Fixed a conflict with CCSE.

■ AddBuildingMod

Cookie Clicker

This is a mod that adds an original building.

It can be used simply as an additional element, but

The main purpose of this mod is to allow the user to rewrite the program and enjoy it.

Even if you don’t have programming experience, you can add buildings easily.

If you are interested, please give it a try.

Cookie Clicker is a very good programming material.

Cookie Clicker - How to Add/Install Building Mod in Game - Tutorial Guide - ■ AddBuildingMod - 6C858BC

■ Read Me!

・AddBuildingMod

The main purpose of the AddBuildingMod is to make it easier to add original buildings.

Therefore, some of the features of the original buildings may be omitted or removed from the added buildings.

It is strongly recommended that you save your game before installing it, as the rewriting of the program may cause a collapse of the game balance and data corruption.

Depending on the price of the buildings and the CpS settings, the game balance may be disrupted.

For this reason, we have set it so that achievements cannot be unlocked while this mod is installed.

You will be able to unlock achievements by changing the settings as follows.

\mods\workshop\AddBuildingMod\info.txt

"AllowSteamAchievs":1

If you have any bug reports, opinions, questions, or impressions, please write them in the comments section.

■ How to install

MOD:https://github.com/Megahoge/CC-AddBuildingMod/releases – [github.com]

(1) AddBuildingMod.zip

(2) Cookie Clicker

(3) /mods/workshop

(1) Download the AddBuildingMod.zip from the link above and unzip it.

(2) Launch Cookie Clicker and open the /mods folder from [Options] → Mods → [Manage mods] → [Open /mods folder].

(3) Place the folder prepared in (1) directly under the /mods/workshop folder.

■ Procedure for adding a building

(1) /mods/workshop/AddBuildingMod/main.js

  • Open /mods/workshop/AddBuildingMod/main.js in a text editor.
  • Find the place where the following code is written and rewrite it (around line 11)
// ★
// ex) this.addBuilding
// ※1 /AddBuildMod/img

this.addBuilding('2, 1, 'build01.png');
this.addBuilding('build02.png');
this.addBuilding('999999999, 523, 'build03.png');

■ Supplement

「this.addBuilding( ~ );」

「this.addBuilding( ~ );」

/mods/workshop/AddBuildingMod/img

The program “this.addBuilding( ~ );” is for adding a single building.

Here, you need to give the name, description, initial price, CpS, and icon file name (*) of the building.

Please refer to the sample code and rewrite it.

In the sample, three buildings are provided.

You can also add more buildings by copying and pasting “this.addBuilding( ~ );”.

Please place the image files to be used as icons in the following folder.

/mods/workshop/AddBuildingMod/img

It is recommended to make the image square.

This is all about Cookie Clicker – How to Add/Install Building Mod in Game – Tutorial Guide; I hope you enjoy reading the Guide! If you feel like we should add more information or we forget/mistake, please let us know via commenting below, and thanks! See you soon!


1 Comment

Leave a Reply

Your email address will not be published.


*