quests.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [
  2. {
  3. "name": "Tutorial",
  4. "quests": [
  5. {
  6. "questId": "tutorial_1",
  7. "questName": "Quest Dialog",
  8. "description": "Welcome to Factory Craft!\nThis is a tutorial quest to get you started.\nYou have already completed it by opening the quest dialog.\nHere you can see all current open or completed quests.\nCompleting a quest can make other quests visible.\nYou can view all current quests by clicking on a quest category on the left.",
  9. "imagePath": "data/images/gui_icons.ltdb/questdialog.png",
  10. "requirements": [
  11. {
  12. "id": "1",
  13. "description": "Open the quest dialog",
  14. "type": "open_dialog",
  15. "dialogId": "quests"
  16. }
  17. ],
  18. "rewards": [
  19. {
  20. "rewardId": "1",
  21. "type": "give_items",
  22. "items": [
  23. {
  24. "item": {
  25. "type": "Flint"
  26. },
  27. "count": 10
  28. }
  29. ]
  30. }
  31. ]
  32. },
  33. {
  34. "questId": "tutorial_2",
  35. "questName": "Inventory",
  36. "description": "Your inventory shows you all the items you currently have.\nYou can open it by pressing the tab key on your keyboard.\nIn your inventory you can also combine items to to create new once.\n",
  37. "imagePath": "data/images/gui_icons.ltdb/questdialog.png",
  38. "requiredQuestIds": [ [ "tutorial_1" ] ],
  39. "requirements": [
  40. {
  41. "id": "1",
  42. "description": "Open your inventory",
  43. "type": "open_dialog",
  44. "dialogId": "player_inventory"
  45. }
  46. ],
  47. "rewards": [
  48. {
  49. "rewardId": "1",
  50. "type": "give_items",
  51. "items": [
  52. {
  53. "item": {
  54. "type": "Wooden Stick"
  55. },
  56. "count": 10
  57. }
  58. ]
  59. }
  60. ]
  61. }
  62. ]
  63. }
  64. ]