Advertisement
CyberN00b

start level struct

Mar 2nd, 2023 (edited)
672
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.22 KB | None | 0 0
  1. {
  2.     "items": [
  3.         {
  4.             "object_type": "red_box",
  5.             "min_condition": 1,
  6.             "max_condition": 3,
  7.             "points_for_box": 80,
  8.             "bonus_for_condition": 10,
  9.             "rate": 10
  10.         },
  11.         {
  12.             "object_type": "blue_box",
  13.             "min_condition": 1,
  14.             "max_condition": 3,
  15.             "points_for_box": 20,
  16.             "bonus_for_condition": 5,
  17.             "rate": 50
  18.         },
  19.         {
  20.             "object_type": "green_box",
  21.             "min_condition": 2,
  22.             "max_condition": 3,
  23.             "points_for_box": 50,
  24.             "bonus_for_condition": 30,
  25.             "rate": 30
  26.         },
  27.         {
  28.             "object_type": "trash_box",
  29.             "min_condition": 1,
  30.             "max_condition": 3,
  31.             "rate": 50
  32.         }
  33.     ],
  34.     "scene_settings": {
  35.         "conveyor_count": 2,
  36.         "start_speed": 6,
  37.         "max_speed": 12,
  38.         "accelerate": 1,
  39.         "accelerate_delay": 3,
  40.         "endpoint_settings": {
  41.             "count": 2,
  42.             "endpoints": [
  43.                 {
  44.                     "box_need": "red_box",
  45.                     "min_condition": 1,
  46.                     "fine_for_mistake": 80,
  47.                 },
  48.                 {
  49.                     "box_need": "green_box",
  50.                     "min_condition": 3,
  51.                     "fine_for_mistake": 100,
  52.                 }
  53.             ]
  54.         }
  55.     }
  56.     "requirements": [
  57.         {
  58.             "req_type": "deliver_object",
  59.             "count": 10,
  60.             "min_condition": 1,
  61.             "object_type": "red_box"
  62.         },
  63.         {
  64.             "req_type": "score",
  65.             "count": 1000
  66.         },
  67.     ]
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement