# Paired stat not displaying properly

**URL:** <https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157>\
**Category:** ChoiceScript Help\
**Created:** [June 19, 2018, 9:00pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157 "2018-06-19T21:00:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delliot](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/delliot/32/60504_2.png) [@Delliot](https://forum.choiceofgames.com/u/Delliot)\
**Post date:** [June 19, 2018, 9:00pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/1 "2018-06-19T21:00:42Z")

</div>

Hi all,

My game at [https://dashingdon.com/play/delliot/the-butler-did-it/mygame/](https://dashingdon.com/play/delliot/the-butler-did-it/mygame/) is having an issue with one of the paired stats, and I can’t figure it out. I have another paired stat that works fine.

It’s supposed to read Artifice - Honesty, but I’m just getting Artifice. I thought maybe the names were too long, but I’ve tried making them shorter as well, and it didn’t help.

```
	opposed_pair Manners
		Mayhem
	opposed_pair Honesty
		Artifice

```

Any idea?

Thank you!

---

<div class="post-metadata">

**Author:** ![lunawisp](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lunawisp/32/85423_2.png) [@lunawisp](https://forum.choiceofgames.com/u/lunawisp)\
**Post date:** [June 19, 2018, 9:19pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/2 "2018-06-19T21:19:59Z")

</div>

If you want Honesty shown on the other side you’ll need to add it after Artiface. The name after the opposed\_pair command is the variable name. Note you should only have one variable for each opposed pair, the names displayed are just labels.

Try:

```
opposed_pair Honesty
  Artiface
  Honesty
```

---

<div class="post-metadata">

**Author:** ![Carlos.R](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/carlos.r/32/75837_2.png) [@Carlos.R](https://forum.choiceofgames.com/u/Carlos.R)\
**Post date:** [June 19, 2018, 9:55pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/3 "2018-06-19T21:55:53Z")

</div>

@Delliot,  
It may have something to do with your spacing, but I’m not sure.  
When I downloaded your choicescript\_stats as a text file, it looked like this:

 ![stats](https://global.discourse-cdn.com/choiceofgames/original/3X/0/2/023275f3610b6bc90eeca9bac496523beab5a69e.jpg)

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [June 19, 2018, 10:20pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/4 "2018-06-19T22:20:04Z")

</div>

@Carlos.R His spacing is fine. The .txt files uploaded at the site sometimes can look janky and weird, but the compiler should runs through them just fine.

* * *

@lunawisp Well, that’ll turn [Honesty] into [Artifice], which can make things _really_ whoppy to track (increase honesty to increase artifice?).

* * *

But I think she nearly nailed it.  
@Delliot, instead of

```
opposed_stats honesty
   Artifice
   Honesty

```

try

```
opposed_stats honesty
   Honesty
   Artifice

```

I’m not sure that’s the case, but maybe that’ll beat the common sense into the compiler that nothing is wrong in your code.

---

<div class="post-metadata">

**Author:** ![Delliot](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/delliot/32/60504_2.png) [@Delliot](https://forum.choiceofgames.com/u/Delliot)\
**Post date:** [June 19, 2018, 10:37pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/5 "2018-06-19T22:37:16Z")

</div>

Thanks, I’ll try that later on. Sounds right!

---

<div class="post-metadata">

**Author:** ![Carlos.R](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/carlos.r/32/75837_2.png) [@Carlos.R](https://forum.choiceofgames.com/u/Carlos.R)\
**Post date:** [June 19, 2018, 11:08pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/6 "2018-06-19T23:08:33Z")

</div>

I think the problem is either in the spacing or the code.  
I changed Honesty and Artifice to another Manners and Mayhem while keeping the exact same spacing and this happened:

 ![stats](https://global.discourse-cdn.com/choiceofgames/original/3X/5/e/5e74228a32677cae96ea8248b324d78e876b8e29.jpg)

code:

 ![spacing](https://global.discourse-cdn.com/choiceofgames/original/3X/0/4/045d12a999ce5f50148811a20f24c70106218199.jpg)

---

<div class="post-metadata">

**Author:** ![Delliot](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/delliot/32/60504_2.png) [@Delliot](https://forum.choiceofgames.com/u/Delliot)\
**Post date:** [June 19, 2018, 11:29pm UTC](https://forum.choiceofgames.com/t/paired-stat-not-displaying-properly/40157/7 "2018-06-19T23:29:02Z")

</div>

Yup, @Szaal had it! Thanks to @Carlos.R and @lunawisp for their efforts as well.

I threw it up on a new instance so as not to invalidate tester saves, here it is working right:

[https://dashingdon.com/play/delliot/tbdi-testing/mygame/](https://dashingdon.com/play/delliot/tbdi-testing/mygame/)
