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

Method foundChocolateBars

code/main/Quest.ts:569–575  ·  view source on GitHub ↗
(howMany: number)

Source from the content-addressed store, hash-verified

567 }
568
569 public foundChocolateBars(howMany: number): number{
570 // We add the chocolate bars found
571 this.chocolateBarsFound.add(howMany);
572
573 // We return the number of chocolate bars found
574 return howMany;
575 }
576
577 public foundGridOrEqItem(itemFound: QuestItemFound): boolean{
578 // If we already have this item, we return false

Callers 1

openFourthChestMethod · 0.80

Calls 1

addMethod · 0.65

Tested by

no test coverage detected