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

Method createEqItems

code/main/Game.ts:636–671  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

634 }
635
636 private createEqItems(): void{
637 // Create weapons
638 this.addEqItem(new WoodenSword(), this.weapons);
639 this.addEqItem(new IronAxe(), this.weapons);
640 this.addEqItem(new PolishedSilverSword(), this.weapons);
641 this.addEqItem(new TrollBludgeon(), this.weapons);
642 this.addEqItem(new MonkeyWizardStaff(), this.weapons);
643 this.addEqItem(new EnchantedMonkeyWizardStaff(), this.weapons);
644 this.addEqItem(new TribalSpear(), this.weapons);
645 this.addEqItem(new SummoningTribalSpear(), this.weapons);
646 this.addEqItem(new GiantSpoon(), this.weapons);
647 this.addEqItem(new Scythe(), this.weapons);
648 this.addEqItem(new GiantSpoonOfDoom(), this.weapons);
649
650 // Create hats
651 this.addEqItem(new OctopusKingCrown(), this.hats);
652 this.addEqItem(new OctopusKingCrownWithJaspers(), this.hats);
653 this.addEqItem(new OctopusKingCrownWithObsidian(), this.hats);
654 this.addEqItem(new MerchantHat(), this.hats);
655 this.addEqItem(new SorceressHat(), this.hats);
656
657 // Create body armours
658 this.addEqItem(new LightweightBodyArmour(), this.bodyArmours);
659 this.addEqItem(new KnightBodyArmour(), this.bodyArmours);
660 this.addEqItem(new EnchantedKnightBodyArmour(), this.bodyArmours);
661
662 // Create gloves
663 this.addEqItem(new LeatherGloves(), this.gloves);
664 this.addEqItem(new RedEnchantedGloves(), this.gloves);
665 this.addEqItem(new PinkEnchantedGloves(), this.gloves);
666
667 // Create boots
668 this.addEqItem(new LeatherBoots(), this.boots);
669 this.addEqItem(new RocketBoots(), this.boots);
670 this.addEqItem(new BootsOfIntrospection(), this.boots);
671 }
672
673 private createGridItems(): void{
674 // First line

Callers 1

constructorMethod · 0.95

Calls 1

addEqItemMethod · 0.95

Tested by

no test coverage detected