Twine Version: 2.6.1
Sugarcube: 2.36.1
I’m trying to replace this (it works fine):
<<link '<img src="img/cards/actions/7.png" style="position:relative; left:0; top:0 ; width: 100%; height: `100%">'>>
<<replace "#showbattle">>
<<include "battle step calc">>
<</replace>>
<</link>>
with this (it doesn’t work):
<<link '<img src="'img/cards/actions/'+$playaction.id+'.png'" style="position:relative; left:0; top:0 ; width: 100%; height: `100%">'>>
<<replace "#showbattle">>
<<include "battle step calc">>
<</replace>>
<</link>>
It doesn’t work because I have already used single quotes. And I don’t know what I can use instead of single quotes and double quotes to isolate this part.
Any way to reach the goal? I don’t rly want to do every single card manually… (I have 100 cards, its too much)