Conditionals
Control the flow of your game
{'Conditional': {
'Condition': function () {
return this.storage ('evelyn_name') == 'Evelyn';
},
'True': 'e Evelyn... That’s a lovely name! I love it!',
'False': 'e {{evelyn_name}}... Yeah, sounds good!'
}},{'Conditional': {
'Condition': function(){
return this.storage ('played');
},
'True': 'jump Played',
'False': 'jump NewGame'
}},Non-Boolean Conditions
Last updated
Was this helpful?