# Campaign: Equipped items missing inside level (spells not available, levels unplayable)

**URL:** <https://discourse.codecombat.com/t/campaign-equipped-items-missing-inside-level-spells-not-available-levels-unplayable/2593>\
**Category:** Bugs\
**Created:** [February 5, 2015, 3:17pm UTC](https://discourse.codecombat.com/t/campaign-equipped-items-missing-inside-level-spells-not-available-levels-unplayable/2593 "2015-02-05T15:17:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fourdots](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/fourdots/32/2022_2.png) [@fourdots](https://discourse.codecombat.com/u/fourdots)\
**Post date:** [February 5, 2015, 3:17pm UTC](https://discourse.codecombat.com/t/campaign-equipped-items-missing-inside-level-spells-not-available-levels-unplayable/2593/1 "2015-02-05T15:17:41Z")

</div>

![](https://sea2.discourse-cdn.com/flex016/uploads/codecombat/2024/be7fe26a6695a796.png) ![](https://sea2.discourse-cdn.com/flex016/uploads/codecombat/2023/3c4523336c1ee151.png)

---

<div class="post-metadata">

**Author:** ![fourdots](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/fourdots/32/2022_2.png) [@fourdots](https://discourse.codecombat.com/u/fourdots)\
**Post date:** [February 5, 2015, 3:29pm UTC](https://discourse.codecombat.com/t/campaign-equipped-items-missing-inside-level-spells-not-available-levels-unplayable/2593/2 "2015-02-05T15:29:21Z")

</div>

( Previous post discarded my text description of the problem ☹ )

Bug Description: I equip an item in the inventory screen, then when the level loads that item and its spells are missing.

This has happened in two desert levels so far: _Thunderhooves_ & _Keeping Time_, but I suspect it might happen with others as well.

The screenshots show _Keeping Time_. Here I equip a long sword, then click Play. Once in the level I get the error that `attack()` is undefined and not a function. We need to attack in this level so it is now **unplayable**.  
I exited and tried to re-equip the sword, but it remains missing.  
I did accidentally try to play this level before with nothing equipped in the weapon slot. When I realized this, I exited to equip the sword, but then this started happening.

A similar thing happens in _Thunderhooves_ when I replace the simple boots with the improved boots that provide the `moveXY()` function. After the level loads I only have the `moveRight|Left|Up|Down()` functions. I was able to beat the level by building a fence on the required y-coordinate, then used `moveRight()`.

---

<div class="post-metadata">

**Author:** ![nick](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/nick/32/784_2.png) [@nick](https://discourse.codecombat.com/u/nick)\
**Post date:** [February 6, 2015, 12:58am UTC](https://discourse.codecombat.com/t/campaign-equipped-items-missing-inside-level-spells-not-available-levels-unplayable/2593/3 "2015-02-06T00:58:37Z")

</div>

How about now? I’ve reverted a change which I think might have introduced this buggy behavior. Sorry about that!
