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

Method found

code/main/QuestItemFound.ts:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21
22 // Public methods
23 public found(): void{ // Called when we find the item
24 this.quest.getGame().getQuestLog().addMessage(new QuestLogMessage(this.foundText, null, true));
25 }
26
27 public get(): void{ // Called when we get the item
28 this.quest.getGame().getQuestLog().addMessage(new QuestLogMessage(this.getText, null, true));

Callers 1

foundGridOrEqItemMethod · 0.80

Calls 3

addMessageMethod · 0.80
getQuestLogMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected