# ASCII Art in Item Description

**URL:** https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462
**Category:** The Drawing Board
**Created:** [March 30, 2019, 11:39am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462 "2019-03-30T11:39:34Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Bence](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bence/32/10041_2.png) [@Bence](https://discourse.cataclysmdda.org/u/Bence)
#### Post date: [March 30, 2019, 11:39am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/1 "2019-03-30T11:39:34Z")

</div>

So… I had this crazy idea.  
I added an ASCII art in to the description of the butcher knife. I separated the lines with `\n`  
This is the result.

**Craft menu:**

 ![craft](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/d/daa97388e83b786f7913a7e02511985e35c6ca27.png)

**Debug menu:**

 ![debug](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/f/fd62de616176489b8268e33f6393bc6925c7ce3e.png)

**Inventory:**

 ![works](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/a/a7a2521af659817e853d038150f8a029d72a898e.png)

---

<div class="post-metadata">

### Author: ![Mr.Denton](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr.denton/32/3156_2.png) [@Mr.Denton](https://discourse.cataclysmdda.org/u/Mr.Denton)
#### Post date: [March 30, 2019, 12:25pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/2 "2019-03-30T12:25:25Z")

</div>

Thats awesome, i always wonder what some special weapons in the game looks like

---

<div class="post-metadata">

### Author: ![Valiant](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valiant/32/4788_2.png) [@Valiant](https://discourse.cataclysmdda.org/u/Valiant)
#### Post date: [March 30, 2019, 12:41pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/3 "2019-03-30T12:41:33Z")

</div>

This kind of feature will require a convention on maximum size of the window an artist can use, so it could be displayed properly on small screens.

---

<div class="post-metadata">

### Author: ![Mr.Denton](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr.denton/32/3156_2.png) [@Mr.Denton](https://discourse.cataclysmdda.org/u/Mr.Denton)
#### Post date: [March 30, 2019, 2:03pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/4 "2019-03-30T14:03:04Z")

</div>

Or downscale the ASCII to match the size of the info box

---

<div class="post-metadata">

### Author: ![Tazeell](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/tazeell/32/4576_2.png) [@Tazeell](https://discourse.cataclysmdda.org/u/Tazeell)
#### Post date: [March 30, 2019, 5:43pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/5 "2019-03-30T17:43:30Z")

</div>

That’s actually really cool

---

<div class="post-metadata">

### Author: ![Bence](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bence/32/10041_2.png) [@Bence](https://discourse.cataclysmdda.org/u/Bence)
#### Post date: [March 30, 2019, 6:26pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/6 "2019-03-30T18:26:17Z")

</div>

Made it smaller, it works:  
 ![works](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/a/a7a2521af659817e853d038150f8a029d72a898e.png)  
 ![pretttyyyyycoool](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/e/e020aeae5b6d097ff5c5d90b12b6387c406e1c9f.png)  
This is pretty exciting. I wonder if this could be a thing in game.

---

<div class="post-metadata">

### Author: ![Bence](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bence/32/10041_2.png) [@Bence](https://discourse.cataclysmdda.org/u/Bence)
#### Post date: [March 30, 2019, 8:38pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/7 "2019-03-30T20:38:32Z")

</div>

**Combat knife**  
 ![combat_knife](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/8/8881ecc3a645600ca3ad6e912ab9201e8face199.png)  
**Hunting knife**  
 ![hunting_knife](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/5/5e226881bb41b4d752456f6d31ddb3bfed5ff74a.png)  
**Pocket knife**  
 ![pocket_knife](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/9/9d5c26cf20bb4b85279ccaf51989a9243beda78d.png)

---

<div class="post-metadata">

### Author: ![Axema](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/axema/32/10822_2.png) [@Axema](https://discourse.cataclysmdda.org/u/Axema)
#### Post date: [March 30, 2019, 9:08pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/8 "2019-03-30T21:08:30Z")

</div>

I wonder how a butter knife looks like…

---

<div class="post-metadata">

### Author: ![Mr.Denton](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr.denton/32/3156_2.png) [@Mr.Denton](https://discourse.cataclysmdda.org/u/Mr.Denton)
#### Post date: [March 30, 2019, 10:00pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/9 "2019-03-30T22:00:31Z")

</div>

I hope you would consider making art for food items also, especially herb and plants

---

<div class="post-metadata">

### Author: ![BushElito](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bushelito/32/4767_2.png) [@BushElito](https://discourse.cataclysmdda.org/u/BushElito)
#### Post date: [March 31, 2019, 9:26am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/10 "2019-03-31T09:26:03Z")

</div>

I think the best course of action is to add another parameter, “ascii\_art”, that shows up under description.

The reason why to introduce a new variable is so that you could turn off ascii art in options, to have shorter description.

I’m sure some people might not want to see ascii art as some would want a faster scroll.

---

<div class="post-metadata">

### Author: ![Bence](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bence/32/10041_2.png) [@Bence](https://discourse.cataclysmdda.org/u/Bence)
#### Post date: [April 1, 2019, 3:48pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/11 "2019-04-01T15:48:07Z")

</div>

> I wonder how a butter knife looks like…

![butter_knife](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/e/ea3ccef610b904db9e8c16c6a1400c843e76e361.png)

> I hope you would consider making art for food items also, especially herb and plants

Toast-em  
 ![toast-ems](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/2X/a/aba479b3045fb9c0c7e0967fbb58a7167831c44f.png)  
Yeah, of course, but those are hard to make. Especially for a beginner like me.

> I think the best course of action is to add another parameter, “ascii\_art”, that shows up under description.

That’s a good idea. I can see why some people wouldn’t like to see it. However this requires some code knowledge, so this feature won’t be a thing any time soon.

---

<div class="post-metadata">

### Author: ![Valiant](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valiant/32/4788_2.png) [@Valiant](https://discourse.cataclysmdda.org/u/Valiant)
#### Post date: [April 2, 2019, 5:36am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/12 "2019-04-02T05:36:46Z")

</div>

> [@BushElito](#):
>
> I think the best course of action is to add another parameter, “ascii\_art”, that shows up under description.

Adding another field to the json is easy, but imagine how LARGE the file will become after adding all the pictures to all the items.

---

<div class="post-metadata">

### Author: ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)
#### Post date: [April 2, 2019, 9:33am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/13 "2019-04-02T09:33:59Z")

</div>

> [@Valiant](#):
>
> but imagine how LARGE the file

You mean very hard to scroll through or actually large in term of file size ?

---

<div class="post-metadata">

### Author: ![Bence](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/bence/32/10041_2.png) [@Bence](https://discourse.cataclysmdda.org/u/Bence)
#### Post date: [April 2, 2019, 11:32am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/14 "2019-04-02T11:32:04Z")

</div>

The ascii takes up only one line of code, one very long one. The “art” is about 300 characters long.

EDIT: it’s less, the toast-em one is 179 characters large. I think that’s the largest one. The pocket knife is just 160 long.

---

<div class="post-metadata">

### Author: ![Mr.Denton](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mr.denton/32/3156_2.png) [@Mr.Denton](https://discourse.cataclysmdda.org/u/Mr.Denton)
#### Post date: [April 2, 2019, 11:46am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/15 "2019-04-02T11:46:10Z")

</div>

Adding a few 1000 letters should only change a files size by a few kilobits, in other words very LITTLE file changr occour

---

<div class="post-metadata">

### Author: ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)
#### Post date: [April 2, 2019, 11:56am UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/16 "2019-04-02T11:56:25Z")

</div>

So the tricky part would mainly be to make it display correctly on any screen size ?

---

<div class="post-metadata">

### Author: ![Axema](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/axema/32/10822_2.png) [@Axema](https://discourse.cataclysmdda.org/u/Axema)
#### Post date: [April 2, 2019, 1:01pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/17 "2019-04-02T13:01:39Z")

</div>

> [@Fris0uman](#):
>
> make it display correctly on any screen size

I agree to this. Mobile devices has its limit in viewing item informations, so the ASCII arts might look terrible at that ☹

---

<div class="post-metadata">

### Author: ![Trigon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trigon/32/2668_2.png) [@Trigon](https://discourse.cataclysmdda.org/u/Trigon)
#### Post date: [April 2, 2019, 1:08pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/18 "2019-04-02T13:08:37Z")

</div>

A stopgap might be to make the ASCII art toggled through the options. I’m sure either way some people might not care for it, but if it got borked on your particular screen for some reason you could at least disable it so you don’t have a paragraph of weird, disjointed characters.

---

<div class="post-metadata">

### Author: ![Valiant](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valiant/32/4788_2.png) [@Valiant](https://discourse.cataclysmdda.org/u/Valiant)
#### Post date: [April 2, 2019, 3:17pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/19 "2019-04-02T15:17:03Z")

</div>

> [@Fris0uman](#):
>
> You mean very hard to scroll through

This.  
Character limit.

---

<div class="post-metadata">

### Author: ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)
#### Post date: [April 2, 2019, 3:18pm UTC](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462/20 "2019-04-02T15:18:55Z")

</div>

Would it be possible to dedicate a json file to it ? With a two entry system : one with item id and one with actual ASCII art .  
This way it would not clutter the actual item file

[Next page](https://discourse.cataclysmdda.org/t/ascii-art-in-item-description/19462.md?page=2)
