Conditional commands
One important and creative aspect of a visual novel is the ability to change the story depending on the viewer's decisions. LVNAuth will soon have the ability to use conditional commands, similar to if-statements in a programming language.
Conditional commands have been implemented in a yet-to-be-released version.
For example, let's say you want the story to evolve a specific way if the viewer's selection is orange and a completely different way if the viewer's selection is blue.
Here's what the script would roughly look like:
<case: ($fav_color), is, orange, color check>
Oh so you like orange?
Let me tell you a story about an orange tree.
<halt>
<call: orange tree story>
<case: ($fav_color), is, blue, color check>
Oh so you like blue?
Let me tell you a story about blue berries.
<halt>
<call: blue berry story>
<case_else>
You don't like orange or blue?
Sorry, I don't have any stories to share.
<halt>
<case_end>
In the example script above, the name of the variable is fav_color and when we put a dollar sign in front of it, surrounded by parenthesis, it will get the variable's value.
($fav_color)
There will also be support for using or-logic.
For example, the following script will play a story about an orange tree, if the variable's value is orange or red.
<case: ($fav_color), is orange, color check>
<or_case: ($fav_color), is red, color check>
Oh so you like $(fav_color)?
Let me tell you a story about an orange tree.
<halt>
<call: orange tree story>
<case_end>
The following conditional commands will be added in the next version:
<case>
<or_case>
<case_else>
<case_end>
Website improvements
Aside from that, the website has gone through some minor changes; I've made the font size a bit bigger, hopefully making it easier to read.
I'll write another blog post when the new version is ready or when there is more news to share.