- Jun 1, 2019
- 2
- 0
I've been editing the game to my own preferences, first only the sideboard animations and card images. Now I wanted to edit the thoughts that occur with the animations to better suit the ones I chose. I did that by editing the html file with notepad++ and only changed the text, nothing more. So only the part between " signs after a thought:
But somehow that breaks certain elements of the game like images, in firefox when opening a picture I get the following error:setup.cards.card13 = { name: "Hypnotic Email", cost: 3, suit: "brain", image: "card6", gifType: 0, code:
"<<set $themeCount.hypno++>> <<if $relics.includes(50)>> <<set $TFDamage+=1>> <</if>> <<set $TFDamage+=1, $shield+=1, $brain+=1>>",
thought1: "I bet they're just begging for some male enhancement pills right about now.",
thought2: "Nigerian prince? Naw, that's played out. Saudi prince it is.",
thought3: "...Now to just put in their Grandma's name and... perfect.",
thought4: "Let's see... how about totalynothypnosis94@hotmail.gov. That's believable.",
thought5: "The IRS sends threatening emails, right? Eh, good enough.",
thought6: "Hot... singles.. want.. the D. Irresistible."
};
/tfcb is the folder where the html is located the images are in /tfcb/img/ and then their corresponding subfolder. Also I get the following error when opening the game:Firefox can't find the file at /.../tfcb/undefined86.webp.
Check the file name for capitalisation or other typing errors.
Check to see if the file was moved, renamed or deleted.
Does somebody know why this is happening with my minimal changes and how to prevent that?Apologies! An error has occurred. You may be able to continue, but some parts may not work properly.
Error [tw-user-script-0]: missing } after property list.