One of my variables in my stats screen isn't displaying for some reason


#1

In the stats page of my gamebook, “Inventory” isn’t showing up, and I can’t figure out why or how to fix it.
It basically says
“Transformations:
Staff, salt, iron, etc”
"Transformations:

Inventory:
Staff, iron, salt, etc"
Here’s the relevant code.


	text Transformations Beckham's transformations
*if transformations_poisonous_toad
	Poisonous toad- requires 1 manna.

*if transformations_pit_viper
	Pit Viper- requires 2 manna.

*if transformations_crow
	Crow- requires 2 manna.

*if transformations_red_tailed_boa 
	Red tailed boa- requires 3 manna.

*if transformations_eagle
	Eagle- requires 3 manna.

*if transformations_hound
	Hound- requires 3 manna.

*if transformations_ostrich
	Ostrich- requires 4 manna.

*if transformations_horse
	Horse- requires 4 manna.

*if transformations_crocodile
	Crocodile- requires 4 manna.

*if transformations_tiger
	Tiger- requires 5 manna.

	text Inventory
*if Chemical_instilled_staff
	Chemical instilled staff,
*if Poisonous_darts=6 
	6 poisonous darts,
*if Poisonous_darts=5
	5 poisonous darts
*if Poisonous_darts=4
	4 poisonous darts
*if Poisonous_darts=3
	3 poisonous darts
*if Poisonous_darts=2
	2 poisonous darts
*if Poisonous_darts=1
	1 poisonous dart
*if Silver_chain 
	Silver chain,
*if Iron_shavings=8
	Iron shavings 8/8,
*if Iron_shavings=7
	Iron shavings 7/8,
*if Iron_shavings=6
	Iron shavings 6/8,
*if Iron_shavings=5
	Iron shavings 5/8,
*if Iron_shavings=4
	Iron shavings 4/8,
*if Iron_shavings=3
	Iron shavings 3/8,
*if Iron_shavings=2
	Iron shavings 2/8,
*if Iron_shavings=1
	Iron shavings 1/8,
*if Salt=2
	Salt 2/2,
*if Salt=1
	Salt 1/2,
*if Knife
	Knife,
*if Food_and_water
	Food and water,
*if Demon_Book_of_Names
	Demon Book of Names,
*if Candles
	Candles,
*if Flint_and_metal
	Flint and metal,
*if Razor_shield 
	Razor shield,
*if Marble_grenades 
	Marble grenades,
*if Mythril_armor 
	Mythril armor,
*if Healing_ointment=4
	Healing ointment 4/4,
*if Healing_ointment=2
	Healing ointment 2/4,
*if Flame_accelerate
	Flame accelerate,
*if Six_daggers 
	Witch's daggers,
*if Blood_charm 
	Blood charm,
*if Vials_of_poison
	Vials of poison,
*if Spiked_steel_knuckles 
	Spiked steel knuckles,
*if Staff 
	Staff,
*if Wind_Scyth 
	Wind Scythe,
*if Flame_Devil 
	Flame Devil,
*if Constricting_Vines 
	Constricting Vines,
*if Ice_Statue 
	Ice Statue,
*if Earth_Abyss 
	Earth Abyss,
*if Destruction_grenade=1
	Destruction grenade,
*if Flash_grenades=3
	3 flash grenades,
*if Flash_grenades=2
	2 flash grenades,
*if Flash_grenades=1
	1 flash grenade
*if Smoke_grenades=5
	5 smoke grenades, 
*if Smoke_grenades=4
	4 smoke grenades, 
*if Smoke_grenades=3
	3 smoke grenades,
*if Smoke_grenades=2
	2 smoke grenades,
*if Smoke_grenades=1
	1 smoke grenade, 
*if Strange_amulet
	Strange amulet,


#2

Holy convolute-y… At first glance I’ll say you may have lost track of your indentations.

Also, I would recommend not using a *stat_chart with your inventory. I’m not sure *if commands can be used within a *stat_chart, but someone else might.

Try to list your inventory without using the stat chart, it would be easier, I should think.


#3

@Caddmuss
The indentations are all correct:P and all the commands are working well. The only problem that I’m having is that the word Inventory isn’t showing up in my stat chart.


#4

Yes could be used if commands in stats i use it usually. But i dont now what error could be except you dont use any *goto *finish command anywhere use quicktest


#5

Inventory without the text lol


#6

@MaraJade
I didn’t use a *goto or *finish because it’s in the stat page…it’s worked fine for me without them. And I’ve ran the quicktest and it hasn’t picked up any error inside of my stat scene


#7

Well in stats i use labbels and goto is a normal scene you could use temporals choices fake choices. i could let you see my inventary and stats if you want just write
Inventory without spaces


#8

Nevermind, I fixed it! I just changed it to



Inventory: 
*line_break
*if Chemical_instilled_staff
	Chemical instilled staff,
*if Poisonous_darts=6 
	6 poisonous darts,
*if Poisonous_darts=5
	5 poisonous darts
*if Poisonous_darts=4
	4 poisonous darts
*if Poisonous_darts=3
	3 poisonous darts
*if Poisonous_darts=2
	2 poisonous darts
*if Poisonous_darts=1
	1 poisonous dart
*if Silver_chain 
	Silver chain,
*if Iron_shavings=8
	Iron shavings 8/8,
*if Iron_shavings=7
	Iron shavings 7/8,
*if Iron_shavings=6
	Iron shavings 6/8,
*if Iron_shavings=5
	Iron shavings 5/8,
*if Iron_shavings=4
	Iron shavings 4/8,
*if Iron_shavings=3
	Iron shavings 3/8,
*if Iron_shavings=2
	Iron shavings 2/8,
*if Iron_shavings=1
	Iron shavings 1/8,
*if Salt=2
	Salt 2/2,
*if Salt=1
	Salt 1/2,
*if Knife
	Knife,
*if Food_and_water
	Food and water,
*if Demon_Book_of_Names
	Demon Book of Names,
*if Candles
	Candles,
*if Flint_and_metal
	Flint and metal,
*if Razor_shield 
	Razor shield,
*if Marble_grenades 
	Marble grenades,
*if Mythril_armor 
	Mythril armor,
*if Healing_ointment=4
	Healing ointment 4/4,
*if Healing_ointment=2
	Healing ointment 2/4,
*if Flame_accelerate
	Flame accelerate,
*if Six_daggers 
	Witch's daggers,
*if Blood_charm 
	Blood charm,
*if Vials_of_poison
	Vials of poison,
*if Spiked_steel_knuckles 
	Spiked steel knuckles,
*if Staff 
	Staff,
*if Wind_Scyth 
	Wind Scythe,
*if Flame_Devil 
	Flame Devil,
*if Constricting_Vines 
	Constricting Vines,
*if Ice_Statue 
	Ice Statue,
*if Earth_Abyss 
	Earth Abyss,
*if Destruction_grenade=1
	Destruction grenade,
*if Flash_grenades=3
	3 flash grenades,
*if Flash_grenades=2
	2 flash grenades,
*if Flash_grenades=1
	1 flash grenade
*if Smoke_grenades=5
	5 smoke grenades, 
*if Smoke_grenades=4
	4 smoke grenades, 
*if Smoke_grenades=3
	3 smoke grenades,
*if Smoke_grenades=2
	2 smoke grenades,
*if Smoke_grenades=1
	1 smoke grenade, 
*if Strange_amulet
	Strange amulet,



#9

Ignore this then. You fixed it.