Chocolate Factory

The Chocolate Factory is a spiritual successor to Cookie Clicker found within Calendar and Events or accessed via the , and commands. 
==Mechanics==
The Chocolate Factory is a minigame that consists of clicking to gain and then spending it on upgrades and employees, as well as some items from the Chocolate Shop. Players can collect lifetime chocolate in order to unlock milestones and upgrade the level of their chocolate factory, allowing it to produce more Chocolate.
==Clicking==
Players can click the Chocolate Factory icon in the UI to gain 1 . This must be done at least 50 times to gain , which can be used to hire , in order to unlock automatic Chocolate production. Purchasing the Hand Baked Chocolate upgrade will increase the amount of Chocolate gained from clicking up to a maximum of 10 Chocolate at level 10.
===Stray Rabbits===
Stray Rabbits will sometimes appear in the Chocolate Factory UI, staying for 20s, and will give when clicked. Only rabbits the player has already found can appear (the exception being Fish the Rabbit and Golden Rabbits) and will give a different amount of based on the rabbit's rarity and the player's current CpS.
A Stray Rabbit is guaranteed to appear at most 30 seconds after an egg has been collected. The first stray after collecting an egg has a chance to be a Golden Rabbit ( by default, or with ). These do not apply if the player swaps lobbies between collecting the egg and attempting to roll for a stray.
When clicked, Golden Rabbits can provide one of the following bonuses:
Bonus 	Effect
Side Dish 	Opens a chocolate egg.
Jackpot 	Grants bonus Chocolate equal to 480 times current CpS.
Chocolate Mountain	Grants even more bonus Chocolate, equal to 1500 times current CpS.
El Dorado 	Grants a small amount of bonus Chocolate. Upon catching this stray rabbit for the third time, "El Dorado" (Legendary Rabbit) will be added to the player's collection.
Stampede 	Spawns 10 Stray Rabbits.
Golden Click 	Gain +5 Chocolate per Second for the rest of SkyBlock Year. This bonus can be applied multiple times.
Fish the Rabbit () and El Dorado () can only be found as Stray Rabbits. Fish the Rabbit will be added to Hoppity's Collection each time it is found, while El Dorado will only be added to Hoppity's Collection every third time. As with other duplicate rabbits, if they would be added to Hoppity's Collection but the player has already obtained the rabbit before, they will grant instead.
Chocolate granted from Stray Rabbits during Hoppity's Hunt will be doubled.
Rarity	Chocolate Given
 	5s of current CpS
 	7s of current CpS
 	10s of current CpS
 	15s of current CpS
 	20s of current CpS
 	30s of current CpS
 	50s of current CpS
==Chocolate Factory Level==
Once enough chocolate is accumulated in their current prestige, players are given the option to reset their progress in order to increase the level of their Chocolate Factory. This comes with many perks including applying a base Chocolate per Second multiplier, allowing rarer Chocolate Rabbits to be found, increasing the maximum amount of Chocolate that can be held at any one time and much more.
Level	Required Prestige Chocolate	Production Multiplier	Maximum Chocolate Rabbit Rarity	Maximum Chocolate	Maximum Employee Level
1 	 	1x 	 	 	
2 	 	1.1x 	 	 	
3 	 	1.25x 	 	 	
4 	 	1.5x 	 	 	
5 	 	2x 	 	 	
6 	 	2.5x 	 	 	
==Employees==
There are 7 employees that can be purchased and upgraded, that being , , , , , and . Each of these will spawn its NPC counterpart in the hub once the previous employee reaches level 20. ( , being the first, is always present)
Each employee will automatically generate every second and can be upgraded to produce more.
The maximum level of an Employee is based on the player's level of Chocolate Factory. The only exception to this is at Chocolate Factory level 6 when Rabbits are unlocked, each of which increase the maximum level of every Employee by 1.
Icon 	Name 	CpS per Level	Maximum CpS ()	Maximum CpS ()	Maximum CpS ()	Maximum CpS ()	Maximum CpS ()	Maximum CpS ()	Maximum CpS ()
 	Rabbit Bro 	+1 	+120 	+140 	+160 	+180 	+200 	+220 	+225
 	Rabbit Cousin	+2 	+240 	+280 	+320 	+360 	+400 	+440 	+450
 	Rabbit Sis 	+3 	+360 	+420 	+480 	+540 	+600 	+660 	+675
 	Rabbit Daddy 	+4 	+480 	+560 	+640 	+720 	+800 	+880 	+900
 	Rabbit Granny	+5 	+600 	+700 	+800 	+900 	+1000 	+1100 	+1125
 	Rabbit Uncle 	+6 	+720 	+840 	+960 	+1080 	+1200 	+1320 	+1350
 	Rabbit Dog 	+7 	+840 	+980 	+1120 	+1260 	+1400 	+1540 	+1575
Total:	Total: 	Total: 	+3360 	+3920 	+4480 	+5040 	+5600 	+6160 	+6300
=== Employee Upgrade Cost ===
Rabbit Bro's first 10 levels use the following cost formula, where \mathrm{multiplier}_Lis the multiplier at level L.
\mathrm{upgrade\_cost}_L = (30 + 20 \times \mathrm{CF}) \times \mathrm{multiplier}_L
Level	Multiplier
1 	1
2 	2
3 	4
4 	6
5 	8
6 	9
7 	9.5
8 	10
9 	10.5
10 	11
For all other cases, the cost to upgrade any employee to the next level can be calculated using the following formula, where i is the index of the employee in the order they can be unlocked (see the table below), \text{CF} is the player's Chocolate Factory level and L is the current employee level.
\mathrm{base\_cost} = (216 + 144 \times \mathrm{CF}) \times i^2
\mathrm{upgrade\_cost}_L = \mathrm{base\_cost} \times 1.05^L
Base Costs
Icon	Name 	Index	Base cost	Base cost	Base cost	Base cost	Base cost	Base cost
Icon	Name 	Index	 	 	 	 	 	
 	Rabbit Bro 	1 	360 	504 	648 	792 	936 	1080
 	Rabbit Cousin	2 	1440 	2016 	2592 	3168 	3744 	4320
 	Rabbit Sis 	3 	3240 	4536 	5832 	7128 	8424 	9720
 	Rabbit Daddy 	4 	5760 	8064 	10368 	21672 	14976 	17280
 	Rabbit Granny	5 	9000 	12600 	16200 	19800 	23400 	27000
 	Rabbit Uncle 	6 	12960 	18144 	23328 	28512 	33696 	38880
 	Rabbit Dog 	7 	17640 	24696 	31752 	38808 	45864 	52920
=== Discount ===
Unlocking Zeta Rabbit () reduces the cost of your employee upgrades by . It is unlocked by reaching spent in the Chocolate Shop.
==Upgrades==
Aside from employees, there are 5 total upgrades that each work in a unique way to help players max the Chocolate Factory. Same as employees, all upgrades are lost upon prestige.
===Rabbit Barn===
The Rabbit Barn, unlocked at Chocolate Factory 1, determines the maximum number of unique Chocolate Rabbits that you can hold in Hoppity's Collection. If the maximum number of Chocolate Rabbits is reached, then any subsequently obtained rabbits will be crushed.
This is the only upgrade that is not reset upon upgrading the Chocolate Factory.
Level 1 is unlocked by default, and the cost to unlock level 2 is . The cost for subsequent levels can be calculated using the following formula, where L is the desired rabbit barn level.
\lfloor 5000 \times 1.05^{L - 1} \rceil
===Hand-Baked Chocolate===
The Hand-Baked Chocolate upgrade, unlocked at Chocolate Factory 1, determines how much is earnt by clicking. It can be upgraded to a maximum level of 10, giving + per click per level for a maximum of per click.
This is the only way to increase the amount of Chocolate earnt per click in the Chocolate Factory.
The cost of each level can be calculated using the formula 500 \times (L - 1), where L is the Hand-Baked Chocolate level. The cumulative cost at level 10 is . The cost is irrespective of the player's Chocolate Factory level.
===Time Tower===
The Time Tower, unlocked at Chocolate Factory 2, allows the player to temporarily boost Chocolate production. The Time Tower slowly builds up to 3 charges, each over an 8 hour period, which can then be activated one at a time to add a multiplier to Chocolate production for 1 hour.
The Chocolate Rabbit decreases the charge time of the Time Tower by 1h, to just 7h per charge or 21h for a full charge and increases production by +0.7x .
The multiplier is equal to \frac {1} {10} times the level of the Time Tower, starting at +0.1x (+0.8x with ) at level 1 up to a maximum of +1.5x (+2.2x with ) at level 15.
Level 1 is unlocked by default. The cost for each subsequent level can be calculated using the following formula, where CF is the player's Chocolate Factory level and cost\_multiplier_L is a multiplier where L is the next level of the Time Tower according to the the table below.
\mathrm{upgrade\_cost} = (4,500,000 + (500,000 \times \mathrm{CF})) \times \mathrm{cost\_multiplier_L}
Level	Cost Multiplier	Increase	Increase (with )
1 	 	+0.1x 	+0.8x
2 	1 	+0.2x 	+0.9x
3 	2 	+0.3x 	+1x
4 	3 	+0.4x 	+1.1x
5 	4 	+0.5x 	+1.2x
6 	6 	+0.6x 	+1.3x
7 	8 	+0.7x 	+1.4x
8 	10 	+0.8x 	+1.5x
9 	12 	+0.9x 	+1.6x
10 	14 	+1x 	+1.7x
11 	16 	+1.1x 	+1.8x
12 	20 	+1.2x 	+1.9x
13 	24 	+1.3x 	+2x
14 	30 	+1.4x 	+2.1x
15 	40 	+1.5x 	+2.2x
The cumulative cost at level 15 is as follows:
Chocolate Factory Level	Cost
1 	
2 	
3 	
4 	
5 	
6 	
===Rabbit Shrine===
This upgrade, unlocked at Chocolate Factory 3, increases the chance of getting higher rarity Chocolate Rabbits during the Hoppity's Hunt event by 2% per Rabbit Shrine level.
The total cost of this perk is .
Rabbit Shrine Level	Extra chance	Cost
1 	2% 	
2 	4% 	
3 	6% 	
4 	8% 	
5 	10% 	
6 	12% 	
7 	14% 	
8 	16% 	
9 	18% 	
10 	20% 	
11 	22% 	
12 	24% 	
13 	26% 	
14 	28% 	
15 	30% 	
16 	32% 	
17 	34% 	
18 	36% 	
19 	38% 	
20 	40% 	
===Coach Jackrabbit ===
, unlocked at Chocolate Factory 4, provides a +0.01x CpS multiplier similar to that of the Time Tower, only it is permanently active.
The total cost of this perk is .
Coach Jackrabbit Level	CpS Multiplier	Cost
1 	+0.01x 	
2 	+0.02x 	
3 	+0.03x 	
4 	+0.04x 	
5 	+0.05x 	
6 	+0.06x 	
7 	+0.07x 	
8 	+0.08x 	
9 	+0.09x 	
10 	+0.1x 	
11 	+0.11x 	
12 	+0.12x 	
13 	+0.13x 	
14 	+0.14x 	
15 	+0.15x 	
16 	+0.16x 	
17 	+0.17x 	
18 	+0.18x 	
19 	+0.19x 	
20 	+0.2x 	
== Chocolate Shop==
The Chocolate Shop is accessed through the Chocolate Factory UI and sells a variety of items, including a 5 tier Accessory and unique Cloak.
Slot	Item 	Chocolate Factory Required	Cost 	Annual Stock
 	Supreme Chocolate Bar 	Level 1 	( for )	500
 	Egglocator 	Level 1 	 	1
 	Nibble Chocolate Stick 	Level 2 	 	1
 	Smooth Chocolate Bar 	Level 2 	 	1
 	Rich Chocolate Chunk 	Level 3 	 	1
 	Ganache Chocolate Slab 	Level 3 	 	1
 	Prestige Chocolate Realm 	Level 4 	 	1
 	Dark Cacao Truffle 	Level 4 	( for )	2
 	Chocolate Dye 	Level 5 	 	4
 	Chocolate Factory Barn Skin	Level 5 	 	1
 	Chocolate Syringe 	Level 5 	 	1
 	Choco Rabbit Minion Skin 	Level 5 	 	2
 	Zorro's Cape 	 	 	1
 	Fish Chocolat à la Vapeur 	Level 6 	 	1
 	Hot Chocolate Mixin 	Level 6 	 	4
 	Chocolate Fortune 	Level 6 	 	*
 Can only be purchased 25 times, with no annual limit.
==Hoppity's Collection==
Collecting unique Chocolate Rabbits, through milestones, Hoppity or Chocolate Rabbit Eggs, grants progress towards Hoppity's Collection and increase the player's chocolate per second. Rabbits each grant a unique bonus, rather than the flat CpS boost that other rabbits give, and Rabbits each increase the maximum level of Employees by 1.
 Rabbits will give +5 CpS (base) when is unlocked.
Rarity	Chocolate per Second (base)	Chocolate per Second (multiplier)
 	+1 	+0.002x
 	+2 	+0.003x
 	+4 	+0.004x
 	+10 	+0.005x
 	 	+0.02x
 	 	
 	 	+0.025x
==Milestones==
Chocolate Rabbits can be earnt from reaching lifetime chocolate milestones and Chocolate Shop milestones
===Chocolate Factory Milestones===
Reaching certain lifetime chocolate milestones will give the player a unique Chocolate Rabbits that cannot be obtained anywhere else.
Milestone	Rarity	Rabbit
 	 	Almond Amaretto
 	 	Buttercream Blossom
 	 	Cocoa Comet
 	 	Dulce Drizzle
 	 	Espresso Eclair
 	 	Fudge Fountain
 	 	Ginger Glaze
 	 	Honey Hazelnut
 	 	Icing Ivy
 	 	Jasmine Jello
 	 	Kiwi Kiss
 	 	Lavender Lemon
 	 	Maple Mirage
 	 	Nougat Nebula
 	 	Orange Obsidian
 	 	Peppermint Pearl
 	 	Quince Quark
 	 	Raspberry Ripple
 	 	Strawberry Swirl
 	 	Toffee Tulip
 	 	Ube Unicorn
 	 	Vanilla Vortex
 	 	Walnut Whirl
 	 	Xoco Xanudu
 	 	Yogurt Yucca
 	 	Zest Zephyr
===Chocolate Shop Milestones===
Spending certain amounts of in the Chocolate Shop will give the player a unique Chocolate Rabbits that cannot be obtained anywhere else.
Milestone	Raity	Rabbit
 	 	Alpha Rabbit
 	 	Beta Rabbit
 	 	Gamma Rabbit
 	 	Delta Rabbit
 	 	Epsilon Rabbit
 	 	Zeta Rabbit
 	 	Eta Rabbit
 	 	Theta Rabbit
 	 	Iota Rabbit
 	 	Kappa Rabbit
 	 	Lambda Rabbit
 	 	Mu Rabbit
 	 	Nu Rabbit
 	 	Xi Rabbit
 	 	Omicron Rabbit
 	 	Pi Rabbit
 	 	Rho Rabbit
 	 	Sigma Rabbit
 	 	Tau Rabbit
 	 	Upsilon Rabbit
 	 	Phi Rabbit
 	 	Chi Rabbit
 	 	Psi Rabbit
 	 	Omega Rabbit
==Maximum Chocolate Per Second Achievable==
The maximum base amount of Chocolate per Second from Employees and the Talisman is 6,350.
Completing Hoppity's Collection gives 1146 Cps and a multiplier of +1.86
The Multiplier given from , , Chocolate Factory 6, Booster Cookie, and Time Tower is 5.2x.
Aside from temporary Golden Rabbit buffs, the maximum Cps is 52921.76 (with time tower active)
==Interface==
This is how the UI will appear when the Chocolate Factory is fully upgraded.
==History==