#variable list printing null?
1 messages · Page 1 of 1 (latest)
but this is weird. %{shop::%{_s}%::%{_item}%::price}% should be the same as %{shop::hotdog::steak::price}% and yet it's not printing the price as 5?? it's just printing <none>.
is there something i'm doing wrong? is it because steak, the item, is not a string? do i need to convert the item to a string?
yeah i think i answered my own question. i will convert it to a string and see what happens then
okay so if i put "steak" as a string, i'll need to convert it back to an actual item
YES
here's my code for anyone who needs it in the future