diff --git a/tileset/bar1.json b/tileset/bar1.json index 6614e80..6ecdade 100644 --- a/tileset/bar1.json +++ b/tileset/bar1.json @@ -262,7 +262,7 @@ { "name":"Action", "type":"string", - "value":"phq.misc_fnc.give_invok" + "value":"phq.vnScene" }, { "name":"ActionNbArgs", @@ -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":"", diff --git a/vn-scene/bar-work.json b/vn-scene/bar-work.json index 700994a..b91aaa1 100644 --- a/vn-scene/bar-work.json +++ b/vn-scene/bar-work.json @@ -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",