- Mar 9, 2017
- 116
- 435
So it turns out I liked this game more than I thought I would.
As a random aside: Is there such a thing as an HTML editor that would allow me to edit the script (for example dialog, and, er, character descriptions......) of the game without worrying about potentially interfering with the actual game code if I wanted to do a "find-replace all" thing? Like, if I wanted to change the 'college' to a 'high school' or 'prep academy', could I do the change-all thing and not worry about accidentally renaming asset files? (Change a menu option like "Go to your office at college" but ignore "office-college.jpeg") I'm sure this question is more appropriate for a different thread, but I'm a novice at this sort of thing so I don't know what I don't know.
I habitually mess around in HTML games I play (usually to remove grinds) but tend not to talk about it because not every Dev likes it but as Oranos seems to be cool with it:I'm glad you like the game. It's a html file so you could open it in a text editor like notepad++ and search replace whatever you want. Some names are used for flags though, so if you search replace something that is used in a flag you could break the game. Anything that's labeled with a $ before it should not be changed.
You can search for college then go through all the instances of it just to make sure none of the entries is a flag. In that case you could safely change all that aren't labeled as such.
Also when you see [[xxx|yyy]] that's a link to another scene. The first part "xxx" is safe to change, but not the "yyy" part.
You 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. What you can do is, i.e. search-replace all instances of 'college' with 'university' and then search-replace all instances of '/university' with '/college' and '|university' with '|college' to point the code back to the folders/images. Do it with case-sensitive on for College/University and college/university to be on the safe side. Same with names, but note that the new place or people names you use must be unique.
Similarly, if you want to age up all 18-year-olds to 21 you can't simply replace all instances of 18 with 21 or it'll break everything, and because there are many ways to express someone's age (18 years old, are 18, older than 18, 18th birthday, 18-year-old etc.) you have to search-replace all those phrases. At least those are only used in text so you don't have to do the reverse search-replace. Be careful with replacing any instances of 'is 18' because that's used to compare variables in the code.
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.
Last edited: