Start Scripting:Custom Templates
To be written...
Though these look like Javascript template literals, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals they are not.*asset:{
string: "The icy north door is $( north is| open or| closed ).",
to split this use
var bar = foo.split(':').map(function(e){return (e.trim())})
split and serialize
var bar = foo.split(':').map(function(e){return (MyGame.serialize(e.trim()))})
literal: function(){ return ${MyGame.world.icy_door.print_open_or_closed} }
}