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

Method willDie

code/main/Teapot.ts:46–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 // willDie()
46 public willDie(): void{
47 // Candies
48 this.getQuest().getGame().getQuestLog().addMessage(new QuestLogMessage(this.getDeathMessage()));
49 // The spoon
50 this.getQuest().foundGridOrEqItem(new QuestItemFound(this.getQuest(), "eqItemWeaponGiantSpoon", "You found a giant spoon inside the teapot.", "You gain a giant spoon."));
51 }
52}

Callers

nothing calls this directly

Calls 6

addMessageMethod · 0.80
getQuestLogMethod · 0.80
getQuestMethod · 0.80
getDeathMessageMethod · 0.80
foundGridOrEqItemMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected