- Jan 18, 2021
- 401
- 777
Right. In general, replacing plain text is safe, but replacing variable names (starting with aYou can just edit the HTML with Notepad++ or whatever is your editor of choice and search-replace terms at your leisure but character and place names are used in the folder, file and passage names so if you just do the search-replace it will produce errors. (...)
$dollar
or _underscore
) is risky. Replacing path names, passage names, or macro parameters inside <<foobar ...>>
or <<foobar ...>>
is also risky.Note that for most HTML games using the Twine engine, another option is to go to
You must be registered to see the links
then click on the big button "Use in your browser" and load the HTML file into the Twine editor: after reading or skipping the intro, click on the "Library" menu, then "Import" and "Choose file". Some very large Twine games may exceed some memory limits in Chrome or Edge. This can be solved by switching to Firefox or downloading the desktop app for the Twine editor.It depends on the context:Speaking of, there's various spellings of 'x-year old', 'x year-old' and 'x-year-old' in the game, would be nice to settle on one for consistency imo. I think x-year-old is grammatically correct but don't quote me on that.
- If it is a phrase such as "She is 20 years old" then you should use spaces and the plural for "years" (unless this is about a single year).
- But if it is a compound adjective such as "She is a 20-year-old woman" or a noun phrase such as "She is a 20-year-old" then you should use hyphens and the singular for "year".