# Useless extension that's only gonna be used in Pittsburgh games and Economics games and meme games

**URL:** <https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693>\
**Category:** Arcade\
**Tags:** graphics-and-math, extension\
**Created:** [March 13, 2024, 6:43pm UTC](https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693 "2024-03-13T18:43:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![soren\_lorenson](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@soren\_lorenson](https://forum.makecode.com/u/soren_lorenson)\
**Post date:** [March 13, 2024, 6:43pm UTC](https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693/1 "2024-03-13T18:43:43Z")

</div>

> **[arcade-economics](https://arcade.makecode.com/S96989-34220-48434-29772)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I don’t know .md code so I’ll include what I would put in Redame.MD here

block 1: $: return the number corresponding to enum placement minus 1  
block 2: convert 0 to $ + add 0 tenths: returns a string of number plus math symbol and depending on if you added tenths, it will add "and _x_ tenths"Z  
block 3: set default number symbol to $: sets internal variable (in namespace economics) to number added  
block 4: default number symbol: returns default number symbol  
block 5: Microsoft: same as block 1  
block 6: get stonks from Microsoft: splashes corresponding message to added number  
you can look at the code for the rest

---

<div class="post-metadata">

**Author:** ![soren\_lorenson](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@soren\_lorenson](https://forum.makecode.com/u/soren_lorenson)\
**Post date:** [March 13, 2024, 11:04pm UTC](https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693/2 "2024-03-13T23:04:57Z")

</div>

> **[arcade-economics](https://arcade.makecode.com/S96989-34220-48434-29772)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

update 1.1

---

<div class="post-metadata">

**Author:** ![soren\_lorenson](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@soren\_lorenson](https://forum.makecode.com/u/soren_lorenson)\
**Post date:** [March 18, 2024, 6:32pm UTC](https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693/3 "2024-03-18T18:32:11Z")

</div>

could someone fix the screensaver of this:

> **[arcade-EMSG](https://arcade.makecode.com/S77203-08333-50105-55545)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

here’s the code:

```auto
namespace screensaver {
    let IS = false
    while (IS) {
        let e = spritePlus.createProjectileAt(
            img`
    e e e 6 e 6 6 6 e 6 6 6 
    e 6 6 6 e e 6 e e 6 6 6 
    e e e 6 e 6 e 6 e 6 6 6 
    e 6 6 6 e 6 6 6 e 6 6 6 
    e e e 6 e 6 6 6 e 6 6 6 
    6 6 6 6 6 6 6 6 6 6 6 6 
    e e e 6 6 e e e e 6 6 6 
    e 6 6 6 e 6 6 6 6 6 6 6 
    e e e 6 e 6 6 e e 6 6 6 
    6 6 e 6 e 6 6 6 e 6 6 6 
    e e e 6 6 e e e e 6 6 6 
    6 6 6 6 6 6 6 6 6 6 6 6 
    `,
            5,
            5,
            50,
            50
        )
        e.setBounceOnWall(true)
    }
    //%block="set screensaver to $bool"
    //%blocId="3.1415926 approx = pi"
    export function setScreenSaver (bool: boolean) {
        IS = bool
    }
}

```

---

<div class="post-metadata">

**Author:** ![soren\_lorenson](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@soren\_lorenson](https://forum.makecode.com/u/soren_lorenson)\
**Post date:** [April 15, 2024, 4:46pm UTC](https://forum.makecode.com/t/useless-extension-thats-only-gonna-be-used-in-pittsburgh-games-and-economics-games-and-meme-games/27693/4 "2024-04-15T16:46:06Z")

</div>

it’s //%blocId not //%blockId
