Alyssa

BEER

Oct 10th, 2019
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 6.03 KB | None | 0 0
  1. {
  2.    "start_beer": {
  3.         "author": "Old Jimothy",
  4.         "sprite": "antonio_avatar",
  5.         "text": "{0} bottles of beer on the wall, {0} bottles of beer. Take one down and pass it around, {1} bottles of beer on the wall.",
  6.         "options": [
  7.             {
  8.                 "text": "[wait]",
  9.                 "type": "dialogue",
  10.                 "dialogue": "continue_beer"
  11.             },
  12.             {
  13.                 "text": "[leave]",
  14.                 "type": "end"
  15.             }
  16.         ],
  17.         "actions": [
  18.             {
  19.                 "type": "set_flag",
  20.                 "flag": "beer",
  21.                 "value": 98
  22.             },
  23.             {
  24.                 "type": "set_flag",
  25.                 "flag": "old_beer",
  26.                 "value": 99
  27.             }
  28.         ],
  29.         "substitutions": [
  30.             {
  31.                 "type": "flag",
  32.                 "flag": "old_beer"
  33.             },
  34.             {
  35.                 "type": "flag",
  36.                 "flag": "beer"
  37.             }
  38.         ]
  39.     },
  40.     "continue_beer": {
  41.         "author": "Old Jimothy",
  42.         "sprite": "antonio_avatar",
  43.         "text": "{0} bottles of beer on the wall, {0} bottles of beer. Take one down and pass it around, {1} bottles of beer on the wall.",
  44.         "options": [
  45.             {
  46.                 "text": "[wait]",
  47.                 "type": "dialogue",
  48.                 "dialogue": "continue_beer",
  49.                 "requirements": [
  50.                     {
  51.                         "type": "more_than",
  52.                         "flag": "beer",
  53.                         "value": 2
  54.                     }
  55.                 ]
  56.             },
  57.             {
  58.                 "text": "[wait]",
  59.                 "type": "dialogue",
  60.                 "dialogue": "two_beers",
  61.                 "requirements": [
  62.                     {
  63.                         "type": "equals",
  64.                         "flag": "beer",
  65.                         "value": 2
  66.                     }
  67.                 ]
  68.             },
  69.             {
  70.                 "text": "[leave]",
  71.                 "type": "end"
  72.             }
  73.         ],
  74.         "actions": [
  75.             {
  76.                 "type": "increment_flag",
  77.                 "flag": "beer",
  78.                 "value": -1
  79.             },
  80.             {
  81.                 "type": "increment_flag",
  82.                 "flag": "old_beer",
  83.                 "value": -1
  84.             }
  85.         ],
  86.         "substitutions": [
  87.             {
  88.                 "type": "flag",
  89.                 "flag": "old_beer"
  90.             },
  91.             {
  92.                 "type": "flag",
  93.                 "flag": "beer"
  94.             }
  95.         ]
  96.     },
  97.     "two_beers": {
  98.         "author": "Old Jimothy",
  99.         "sprite": "antonio_avatar",
  100.         "text": "{0} bottles of beer on the wall, {0} bottles of beer. Take one down and pass it around, {1} bottle of beer on the wall.",
  101.         "options": [
  102.             {
  103.                 "text": "[wait]",
  104.                 "type": "dialogue",
  105.                 "dialogue": "one_beer"
  106.             },
  107.             {
  108.                 "text": "[leave]",
  109.                 "type": "end"
  110.             }
  111.         ],
  112.         "actions": [
  113.             {
  114.                 "type": "increment_flag",
  115.                 "flag": "beer",
  116.                 "value": -1
  117.             },
  118.             {
  119.                 "type": "increment_flag",
  120.                 "flag": "old_beer",
  121.                 "value": -1
  122.             }
  123.         ],
  124.         "substitutions": [
  125.             {
  126.                 "type": "flag",
  127.                 "flag": "old_beer"
  128.             },
  129.             {
  130.                 "type": "flag",
  131.                 "flag": "beer"
  132.             }
  133.         ]
  134.     },
  135.     "one_beer": {
  136.         "author": "Old Jimothy",
  137.         "sprite": "antonio_avatar",
  138.         "text": "{0} bottle of beer on the wall, {0} bottle of beer. Take one down and pass it around, no more bottles of beer on the wall.",
  139.         "options": [
  140.             {
  141.                 "text": "[wait]",
  142.                 "type": "dialogue",
  143.                 "dialogue": "no_beer"
  144.             },
  145.             {
  146.                 "text": "[leave]",
  147.                 "type": "end"
  148.             }
  149.         ],
  150.         "actions": [
  151.             {
  152.                 "type": "increment_flag",
  153.                 "flag": "beer",
  154.                 "value": -1
  155.             },
  156.             {
  157.                 "type": "increment_flag",
  158.                 "flag": "old_beer",
  159.                 "value": -1
  160.             }
  161.         ],
  162.         "substitutions": [
  163.             {
  164.                 "type": "flag",
  165.                 "flag": "old_beer"
  166.             },
  167.             {
  168.                 "type": "flag",
  169.                 "flag": "beer"
  170.             }
  171.         ]
  172.     },
  173.     "no_beer": {
  174.         "author": "Old Jimothy",
  175.         "sprite": "antonio_avatar",
  176.         "text": "No more bottles of beer on the wall, no more bottles of beer.",
  177.         "options": [
  178.             {
  179.                 "text": "[wait]",
  180.                 "type": "dialogue",
  181.                 "dialogue": "refill_beer"
  182.             },
  183.             {
  184.                 "text": "[leave]",
  185.                 "type": "end"
  186.             }
  187.         ]
  188.     },
  189.     "refill_beer": {
  190.         "author": "Old Jimothy",
  191.         "sprite": "antonio_avatar",
  192.         "text": "Go to the store and buy some more, {0} bottles of beer on the wall.",
  193.         "options": [
  194.             {
  195.                 "text": "[wait]",
  196.                 "type": "dialogue",
  197.                 "dialogue": "continue_beer"
  198.             },
  199.             {
  200.                 "text": "[leave]",
  201.                 "type": "end"
  202.             }
  203.         ],
  204.         "actions": [
  205.             {
  206.                 "type": "set_flag",
  207.                 "flag": "beer",
  208.                 "value": 99
  209.             },
  210.             {
  211.                 "type": "set_flag",
  212.                 "flag": "old_beer",
  213.                 "value": 100
  214.             }
  215.         ],
  216.         "substitutions": [
  217.             {
  218.                 "type": "flag",
  219.                 "flag": "beer"
  220.             }
  221.         ]
  222.     }
  223. }
Advertisement
Add Comment
Please, Sign In to add comment