# Coming Soon: Text-Based Adventure tutorial for Dungeons & Dragons: Honor Among Thieves!

**URL:** <https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403>\
**Category:** Educators' Lounge\
**Tags:** skillmaps\
**Created:** [January 13, 2023, 5:55pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403 "2023-01-13T17:55:28Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [April 12, 2023, 5:36pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/21 "2023-04-12T17:36:34Z")

</div>

Yep. It looks like it was double-markdowned. I’ve fixed it, but here’s the link.

> **[AdventureGame\_1\_Pager.pdf](https://onedrive.live.com/redir?resid=416406873CB120AB%213482&authkey=%21AMqgbSOXkJ4k1fE&ithint=file%2cpdf&e=61j8y3)**
>
> PDF File

---

<div class="post-metadata">

**Author:** ![its\_TMK](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@its\_TMK](https://forum.makecode.com/u/its_TMK)\
**Post date:** [April 19, 2023, 11:20pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/22 "2023-04-19T23:20:38Z")

</div>

@KIKIvsIT Anyway we could get some sort of block that can easily make variables similar to the coins/potions/tickets so we can put up counters for our own variables. Workin on making a decent sized game and wanted to make a keys variable/edit potions to be health potions etc. I havent found any good way to change the sprites of the built in adventure variables/make other like variables pop up.

---

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [April 20, 2023, 1:47am UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/23 "2023-04-20T01:47:54Z")

</div>

I’m adding this ability to Carnival very soon (for multiplayer) but I have a couple of sticky UI things to work through related to overwriting the score. In the meantime, you should be able to add the arcade-text extension and put these in custom.ts:

```auto
namespace custom {

    let scoreText = textsprite.create("")

    //% blockId=set_score_override_any
    //% block="set $thisImg to $thisScore"
    //% thisScore.defl=0
    //% thisImg.shadow=screen_image_picker
    export function setScoreOverrideAny(thisImg: Image, thisScore: number) {
        info.setScore(thisScore)
        scoreText.setText("x" + convertToText(info.score()))
        scoreText.setIcon(thisImg)
        scoreText.setBorder(1, 3, 1)
        scoreText.setMaxFontHeight(9)
        scoreText.right = 160
        scoreText.top = 0
        scoreText.update()
        info.showScore(false)
    }

    /**
    * Changes the score and overrides the traditional UI
    * with an iconified version
    */
    //% blockId=change_score_override
    //% block="change $thisImg by $thisScore"
    //% thisScore.defl=1
    //% thisImg.shadow=screen_image_picker
    export function changeScoreOverrideAny(thisImg: Image, thisScore: number) {
        info.changeScoreBy(thisScore)
        setScoreOverrideAny(thisImg, info.score())
    }
}

```

---

<div class="post-metadata">

**Author:** ![its\_TMK](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@its\_TMK](https://forum.makecode.com/u/its_TMK)\
**Post date:** [April 20, 2023, 9:57pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/24 "2023-04-20T21:57:44Z")

</div>

@KIKIvsIT The above “changeScoreOverrideAny” block only gives the same thing thats already in the adventure extension. It only allows you to select the same adventure variables of (candy, coins, tickets, potions) Dont know if its meant to allow you to change any variable or not. Curious if theres a way to just add to the “adventure variables” list somewhere and change the icons so you can use the built ins to change/display them.

Also the setScoreOverrideAny block only allows for a singular icon variable in the TR of the screen. Because any others will just overlap one another.

---

<div class="post-metadata">

**Author:** ![its\_TMK](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@its\_TMK](https://forum.makecode.com/u/its_TMK)\
**Post date:** [April 20, 2023, 10:20pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/25 "2023-04-20T22:20:59Z")

</div>

Figured out which file the adventure extension stores the variables in however the file is read only. Is there a way to get a writable file of the dnd adventure extension.

---

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [April 20, 2023, 10:36pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/26 "2023-04-20T22:36:39Z")

</div>

The code above will actually let you choose your own image, it just shows up under “Custom” in the toolbox, instead of adventure.

Extensions will be read only, but you can copy the contents to custom.ts if you want to edit…

---

<div class="post-metadata">

**Author:** ![PrinceDaBezt123Acc2](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/princedabezt123acc2/32/7250_2.png) [@PrinceDaBezt123Acc2](https://forum.makecode.com/u/PrinceDaBezt123Acc2)\
**Post date:** [April 21, 2023, 4:55pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/27 "2023-04-21T16:55:09Z")

</div>

the mimic looks a lot like that one character from prodigy

are u guys planning to copy that?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [April 21, 2023, 4:59pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/28 "2023-04-21T16:59:15Z")

</div>

The term ‘Mimic’ / concept of the ‘treasure chest that bites back’ creature is actually from the first edition of Dungeons and Dragons back in 1974 / in printed form in 1977 – since then it has become a fantasy story / game staple, though, so you’ll see it around in all sorts of places!

---

<div class="post-metadata">

**Author:** ![KIKIvsIT](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kikivsit/32/10492_2.png) [@KIKIvsIT](https://forum.makecode.com/u/KIKIvsIT)\
**Post date:** [April 24, 2023, 11:23pm UTC](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403/29 "2023-04-24T23:23:53Z")

</div>

Only one more week to play the Adventure skillmap with the Honor Among Thieves inspired assets! If you want the sprites and music from this map make sure to play by EoD 4/28.

As of May 1st, this will become a generic “Adventure” themed map with all new art and music.

[Previous page](https://forum.makecode.com/t/coming-soon-text-based-adventure-tutorial-for-dungeons-dragons-honor-among-thieves/17403.md?page=1)
