Skip to content

Commit

Permalink
add pet store
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 11, 2023
1 parent 49ef28a commit 461b41f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dialogue/house_dialogue.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"Kaline": {
"dialogue" : [
{
"text": "Kaline love your candy, eat it, and rub herself against your leg",
"actions": [[ "phq:remove", "candy for cat" ], "phq.backToGame"]
}
]
},
"Mom": {
"dialogue" : [
{
Expand Down
1 change: 1 addition & 0 deletions npcs/random.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"Kaline": {
"type": "sprite",
"small talk": ["rand", "Miaou !", "Nyaa !", "Meow !", "Miau !", "Miao !"],
"dialogue_condition": [">", "phq.pj.inventory.candy for cat", 0],
"scene_ai": "phq.scene_ai.random_movements",
"scene_ai_condition": ["S=", "phq.env.time", "morning"],
"max_life": 4,
Expand Down
4 changes: 4 additions & 0 deletions stores.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
"maroon longboot": 50,
"black_slippers" : 30
},
"My best Pet is my Friend !": {
"candy for cat" : 10,
"candy for dog": 13
},
"clothes": {
"monocle": 40,
"sunglass": 15,
Expand Down
4 changes: 4 additions & 0 deletions vn-scene/center.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
}
],
"answers": [
{
"text": "go to 'My best Pet is my Friend !'",
"action": [ "phq.openStore", "My best Pet is my Friend !" ]
},
{
"text": "go to 'Over 9000 Power Shop'(it's sport stuff)",
"action": [ "phq.openStore", "Over 9000 Power" ]
Expand Down

0 comments on commit 461b41f

Please sign in to comment.