I'm making a game for a jam that I want to have a bunch of images to represent variables. I have tried a bunch of different things but nothing works yet.
For a basic idea:
<html><div id="turtle"><img src="</html><<print $turtle>><html>.png">
</div></html>
I figure it should be easy if I have the images as the same name as the variable, but I can't figure out how to implement this.
I can make it work with "if" tags, but using so much code for such a simple operation breaks my formatting because of twine insisting extra lines of code means line breaks. Thanks!