330 lines
		
	
	
		
			7.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			330 lines
		
	
	
		
			7.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "level_id": 13,
 | |
|     "name": "Trick or Treat",
 | |
|     "description": "The end of your journey lies ahead, but the monsters have prepared a special welcome. The air crackles with dark magic, and something massive stirs in the darkness.",
 | |
|     "locked": true,
 | |
|     "player_start": {
 | |
|         "x": 0,
 | |
|         "y": 0
 | |
|     },
 | |
|     "objects": [
 | |
|         {
 | |
|             "x_range": [5, 10],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 15,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin",
 | |
|             "item": "jack_o_lantern"
 | |
|         },
 | |
|         {
 | |
|             "x": 50,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "type": "spider_web",
 | |
|             "x": 35,
 | |
|             "y": 1
 | |
|         },
 | |
|         {
 | |
|             "x_range": [55, 60],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 75,
 | |
|             "y": 0,
 | |
|             "type": "grave",
 | |
|             "sound": "grave",
 | |
|             "static": true,
 | |
|             "zombie_spawn_chance": 25,
 | |
|             "item": "shin_bone"
 | |
|         },
 | |
|         {
 | |
|             "x": 100,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [105, 110],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x_range": [85, 100],
 | |
|             "y": 0,
 | |
|             "enemy_type": "boogie_man",
 | |
|             "health": 10,
 | |
|             "damage": 4,
 | |
|             "attack_range": 1.5,
 | |
|             "attack_pattern": {
 | |
|                 "type": "hunter",
 | |
|                 "turn_threshold": 4
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x_range": [90, 105],
 | |
|             "y": 0,
 | |
|             "enemy_type": "goblin",
 | |
|             "health": 4,
 | |
|             "damage": 2,
 | |
|             "attack_range": 1.5,
 | |
|             "attack_pattern": {
 | |
|                 "type": "patrol"
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x": 150,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "type": "spider_web",
 | |
|             "x": 135,
 | |
|             "y": 1
 | |
|         },
 | |
|         {
 | |
|             "x_range": [155, 160],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 200,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [180, 195],
 | |
|             "y": 0,
 | |
|             "enemy_type": "ghoul",
 | |
|             "health": 8,
 | |
|             "damage": 3,
 | |
|             "attack_range": 2,
 | |
|             "attack_pattern": {
 | |
|                 "type": "hunter",
 | |
|                 "turn_threshold": 4
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x_range": [220, 270],
 | |
|             "y": 0,
 | |
|             "enemy_type": "ghost",
 | |
|             "health": 60,
 | |
|             "damage": 2,
 | |
|             "attack_range": 1,
 | |
|             "has_vulnerability": true,
 | |
|             "is_vulnerable": false,
 | |
|             "vulnerability_duration": 3000,
 | |
|             "invulnerability_duration": 5000,
 | |
|             "speed_multiplier": 0.8,
 | |
|             "attack_cooldown": 1200,
 | |
|             "attack_pattern": {
 | |
|                 "type": "hunter",
 | |
|                 "turn_threshold": 2
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x_range": [245, 250],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 300,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [305, 310],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 325,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin",
 | |
|             "item": "jack_o_lantern"
 | |
|         },
 | |
|         {
 | |
|             "type": "spider_web",
 | |
|             "x": 335,
 | |
|             "y": 1
 | |
|         },
 | |
|         {
 | |
|             "x": 350,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [355, 360],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 375,
 | |
|             "y": 0,
 | |
|             "type": "grave",
 | |
|             "sound": "grave",
 | |
|             "static": true,
 | |
|             "zombie_spawn_chance": 25
 | |
|         },
 | |
|         {
 | |
|             "x": 400,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [420, 470],
 | |
|             "y": 0,
 | |
|             "enemy_type": "revenant",
 | |
|             "health": 80,
 | |
|             "damage": 1,
 | |
|             "attack_range": 1,
 | |
|             "attack_pattern": {
 | |
|                 "type": "patrol"
 | |
|             },
 | |
|             "can_spawn": true,
 | |
|             "spawn_type": "zombie",
 | |
|             "spawn_cooldown": 2500,
 | |
|             "spawn_chance": 100,
 | |
|             "spawn_distance": 5
 | |
|         },
 | |
|         {
 | |
|             "x_range": [445, 450],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 460,
 | |
|             "y": 0,
 | |
|             "type": "grave",
 | |
|             "sound": "grave",
 | |
|             "static": true,
 | |
|             "zombie_spawn_chance": 25,
 | |
|             "item": "guts"
 | |
|         },
 | |
|         {
 | |
|             "x": 500,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [505, 510],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "type": "spider_web",
 | |
|             "x": 525,
 | |
|             "y": 1
 | |
|         },
 | |
|         {
 | |
|             "x": 550,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [555, 560],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         },
 | |
|         {
 | |
|             "x": 575,
 | |
|             "y": 3,
 | |
|             "sound": "coffin",
 | |
|             "type": "coffin",
 | |
|             "item": "hand_of_glory"
 | |
|         },
 | |
|         {
 | |
|             "x": 600,
 | |
|             "y": 0,
 | |
|             "type": "catapult",
 | |
|             "fireInterval": 5000,
 | |
|             "range": 30
 | |
|         },
 | |
|         {
 | |
|             "x_range": [590, 615],
 | |
|             "y": 0,
 | |
|             "enemy_type": "witch",
 | |
|             "health": 50,
 | |
|             "damage": 3,
 | |
|             "attack_range": 2,
 | |
|             "attack_pattern": {
 | |
|                 "type": "patrol"
 | |
|             },
 | |
|             "can_spawn": true,
 | |
|             "spawn_type": "black_cat",
 | |
|             "spawn_cooldown": 5000,
 | |
|             "spawn_chance": 75,
 | |
|             "spawn_distance": 4
 | |
|         },
 | |
|         {
 | |
|             "x_range": [590, 650],
 | |
|             "y": 0,
 | |
|             "enemy_type": "headless_horseman",
 | |
|             "health": 100,
 | |
|             "damage": 3,
 | |
|             "attack_range": 3,
 | |
|             "attack_pattern": {
 | |
|                 "type": "hunter",
 | |
|                 "turn_threshold": 10
 | |
|             }
 | |
|         },
 | |
|         {
 | |
|             "x_range": [625, 630],
 | |
|             "y": 3,
 | |
|             "sound": "bone_dust",
 | |
|             "collectible": true,
 | |
|             "static": true
 | |
|         }
 | |
|     ],
 | |
|     "boundaries": {
 | |
|         "left": 0,
 | |
|         "right": 650
 | |
|     },
 | |
|     "ambience": "Embrace the Darkness.ogg",
 | |
|     "footstep_sound": "footstep_stone"
 | |
| }
 |