Skip to content

Commit

Permalink
add a scene before you got the invok
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <uso.cosmo.ray@gmail.com>
  • Loading branch information
cosmo-ray committed Dec 23, 2023
1 parent cd8fb45 commit 36e98ee
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 17 deletions.
19 changes: 2 additions & 17 deletions tileset/bar1.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
{
"name":"Action",
"type":"string",
"value":"phq.misc_fnc.give_invok"
"value":"phq.vnScene"
},
{
"name":"ActionNbArgs",
Expand All @@ -272,22 +272,7 @@
{
"name":"Arg0",
"type":"string",
"value":"Thrug"
},
{
"name":"Condition",
"type":"string",
"value":">"
},
{
"name":"ConditionArg0",
"type":"string",
"value":"phq.pj.stats.charm"
},
{
"name":"ConditionArg1",
"type":"int",
"value":3
"value":"bar-looking-for-a-frien"
}],
"rotation":0,
"type":"",
Expand Down
44 changes: 44 additions & 0 deletions vn-scene/bar-work.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,48 @@
{
"bar-looking-for-a-frien": {
"in": {
"text": "you're here standing at the bar,\ntalking with peoples,\nsearching for friends, like c3l3s in FF6",
"answers": [
{
"text": "(ok ?)",
"condition": ["or",
["or", ["<", "phq.pj.stats.strength", 3], ["<", "phq.pj.stats.charm", 3]],
["exist", "phq.pj.invok.Thrug"],
],
"action": ["Dialogue:goto", "not enough competences"]
},
{
"text": "(ok ?)",
"condition": ["and",
["and", [">", "phq.pj.stats.strength", 2], [">", "phq.pj.stats.charm", 2]],
["!exist", "phq.pj.invok.Thrug"]
],
"action": ["Dialogue:goto", "Meet thrug"]
}
]
},
"Meet thrug": {
"text": "you meet some weird fold, like the silver guy, from Odd Job",
"answer": {
"text": "yahou",
"actions": [
["phq.misc_fnc.give_invok", "Thrug"],
"phq.backToGame"
]
}
},
"not enough competences": {
"text": "sadly evryone you meet, tend to go away, like for Cec*l in FF4",
"answer": {
"text": "oops",
"actions": [
[
"phq.backToGame"
]
]
}
}
},
"bar-work": {
"in": {
"text": "Shift Start",
Expand Down

0 comments on commit 36e98ee

Please sign in to comment.