NQNStudios / hank

Portable narrative scripting language based on Ink.
MIT License
13 stars 3 forks source link

tags on choices #25

Open NQNStudios opened 5 years ago

NQNStudios commented 5 years ago

Whether or not Ink-style tags should be a part of Hank is up for discussion. Reasons for not including them:

NQNStudios commented 5 years ago

Tags on choices could be very useful--there's currently no way to emulate tags on choices in the same way you can emulate tagging a text paragraph just by embedding Haxe on the preceding line.

NQNStudios commented 5 years ago

As far as tags on paragraphs go, I think it might be a mistake to implement them. The reason being that if the story developer can implement any given functionality EITHER by writing external code that processes tags, or by writing functions they can call directly from embedded hscript, that introduces an ambiguity of best practice. Hank is probably going to end up endorsing the monstrous practice of implementing story flow & game logic very closely tied together (unlike the Ink design ethos) by nature of providing full Haxe embedding. Maybe better to embrace that.