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)
Fixed a conflict with CCSE.
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.
■ Read Me!
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.
If you have any bug reports, opinions, questions, or impressions, please write them in the comments section.
■ How to install
(2) Cookie Clicker
(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
- 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');
「this.addBuilding( ～ );」
「this.addBuilding( ～ );」
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.
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!
- All Cookie Clicker Posts List