So, i tried to use custom items and specify a death passage, but i can't have both working at the same time.
so, if code look like this
window.config = {
"items": [
{
"tag": "bow",
"name": "Arc",
"x": 3 , "y": 93
},
{
"tag": "hunt",
"name": "Armure de chasseur",
"x": 10, "y": 3
},
{
"tag": "pirate",
"name": "Armure de pirate",
"x": 1, "y": 10
},
{
"tag": "sabre",
"name": "Sabre",
"x": 15, "y": 108
},
{
"tag": "stick",
"name": "Bâton de shaman",
"x": 3, "y": 110
},
{
"tag": "shaman",
"name": "Manteau de shaman",
"x": 6, "y": 4
},
]
},
{
deadMessage: "Vous êtes mort"
deathPassage: "mort",
};
story is loaded, custom items work but the deadMessage and deathPassage are not set to what i want them to be set.
I also tried to set it by calling it in the first passage with
<% story.config.deathPassage = "mort"; story.config.deadMessage = "Vous êtes mort" %>
but then that only made the deadMessage working.
I know that i am probably making a mistake, but i don't know where, can someone help me ?
So, i tried to use custom items and specify a death passage, but i can't have both working at the same time.
so, if code look like this
story is loaded, custom items work but the deadMessage and deathPassage are not set to what i want them to be set.
I also tried to set it by calling it in the first passage with
but then that only made the deadMessage working.
I know that i am probably making a mistake, but i don't know where, can someone help me ?