MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / constructMill

Method constructMill

code/main/LollipopFarm.ts:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 private constructMill(): void{
151 if(this.getGame().getLollipops().getCurrent() >= 10000){
152 this.getGame().getLollipops().add(-10000);
153 Saving.saveBool("lollipopFarmMillConstructed", true);
154 this.update();
155 this.getGame().updatePlace();
156 }
157 }
158
159 private digPond(): void{
160 if(this.getGame().getLollipops().getCurrent() >= 100000){

Callers

nothing calls this directly

Calls 6

updateMethod · 0.95
getCurrentMethod · 0.80
updatePlaceMethod · 0.80
addMethod · 0.65
getLollipopsMethod · 0.45
getGameMethod · 0.45

Tested by

no test coverage detected