File: block_map.json

package info (click to toggle)
spring 106.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 55,260 kB
  • sloc: cpp: 543,946; ansic: 44,800; python: 12,575; java: 12,201; awk: 5,889; sh: 1,796; asm: 1,546; xml: 655; perl: 405; php: 211; objc: 194; makefile: 76; sed: 2
file content (139 lines) | stat: -rw-r--r-- 4,458 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
// Mono-space font required
{
"building": {
	"class_land": {
		"fac_land": {
			// "type": [<blocker_shape>, <structure_type>]
			// Available blocker_shape: rectangle, circle.
			// Available structure_type: factory, mex, engy_low, engy_mid, engy_high, pylon, def_low, def_mid, def_high, special, nano, terra, unknown
			"type": ["rectangle", "factory"],

			// Unit of measurement: 1 size/yard/radius = SQUARE_SIZE * 2 = 16 elmos, integer.
			// Offset in South facing
			"offset": [0, 6],  // default: [0, 0]

			// Size of a blocker without yard
//			"size": [7, 7],  // default: size of a unit

			// Spacer, blocker_size = size + yard
			"yard": [12, 12]  // default: [0, 0]

			// "ignore": [<structure_type>, <structure_type>, ...]
			// Ignore specified structures.
			// Additional values: none, all
//			"ignore": ["none"]  // default: ["none"]
		},
		"fac_air": {
			"type": ["rectangle", "factory"],
			"yard": [8, 8]
		},
		"fac_water": {
			"type": ["rectangle", "factory"],
			"offset": [0, 4],
			"yard": [10, 12]
		},
		"fac_strider": {
			"type": ["rectangle", "special"],
			"offset": [0, 12],
			"yard": [16, 16]
		},
		"solar": {
			"type": ["circle", "engy_low"],
			"ignore": ["mex", "engy_mid", "engy_high", "def_low", "pylon", "nano"],
			"radius": 6
		},
		"wind": {
			"type": ["circle", "engy_low"],
			// Integer radius of a blocker or description string.
			// Available string values: explosion, expl_ally
//			"radius": "explosion",  // default: "explosion"
			"radius": 3,
			"not_ignore": ["factory", "engy_low", "terra"]
		},
		"fusion": {
			"type": ["circle", "engy_mid"],
			"ignore": ["mex", "pylon", "def_low"]
		},
		"singu": {
			"type": ["circle", "engy_high"],
			"radius": "expl_ally",  // [radius ~ 1 player .. radius/2 ~ 4+ players]
			"ignore": ["mex", "engy_low", "def_low", "pylon", "nano"]
		},
		"pylon": {
			"type": ["circle", "pylon"],
			"not_ignore": ["factory", "pylon", "terra"]  // default: ["all"]
		},
		"store": {
			"type": ["rectangle", "mex"],
			"not_ignore": ["factory", "terra"]
		},
		"mex": {
			"type": ["rectangle", "mex"],
			"ignore": ["all"]
		},
		"def_low": {
			"type": ["circle", "def_low"],
			"radius": 20,  // 320 / (SQUARE_SIZE * 2)
			"ignore": ["engy_mid", "engy_high", "engy_low", "pylon", "nano"]
		},
		"caretaker": {
			"type": ["rectangle", "nano"],
			"ignore": ["mex", "def_low", "engy_mid", "pylon", "engy_high"]
		},
		"small": {
			"type": ["rectangle", "unknown"],
			"not_ignore": ["factory", "def_low", "terra"]
		},
		"superweapon": {
			"type": ["circle", "special"],
			"ignore": ["mex", "def_low", "pylon", "engy_high"]
		},
		"protector": {
			"type": ["circle", "special"],
			"ignore": ["mex", "def_low", "engy_mid", "pylon", "engy_high"]
		},
//		"terraform": {
//			"type": ["rectangle", "special"],
//			"size": [7, 7]  // int2(3 + 4, 3 + 4)
//		},
		"strider": {
			"type": ["rectangle", "special"],
			"yard": [2, 2],
			"ignore": ["all"]
		},
		"_default_": {
			"type": ["rectangle", "unknown"],
			"yard": [4, 4],
			"ignore": ["pylon", "engy_high"]
		}
	},
	// Water overrides land. Map considered as water if amount of land < 40%
	"class_water" : {
		"wind": {
			"type": ["circle", "engy_low"],
			"radius": 1,  // default: "explosion"
			"ignore": ["mex", "engy_mid", "engy_high", "pylon", "nano"]
		}
	},
	"instance": {
		"fac_land": ["factorycloak", "factoryamph", "factoryhover", "factoryjump", "factoryshield", "factoryspider", "factorytank", "factoryveh"],
		"fac_air": ["factoryplane", "factorygunship"],
		"fac_water": ["factoryship"],
		"fac_strider": ["striderhub"],
		"solar": ["energysolar"],
		"wind": ["energywind"],
		"fusion": ["energyfusion"],
		"singu": ["energysingu"],
		"pylon": ["energypylon"],
		"store": ["staticstorage"],
		"mex": ["staticmex"],
		"def_low": ["turretmissile", "turretlaser", "staticarty"],
		"caretaker": ["staticcon", "staticrearm"],
		"superweapon": ["raveparty", "staticnuke", "zenith", "turretaaheavy", "staticheavyarty", "staticantinuke", "staticheavyradar"],
//		"protector": ["staticantinuke"],
//		"terraform": ["terraunit"],
		"strider": ["striderantiheavy", "striderscorpion", "striderdante", "striderarty", "striderfunnelweb", "striderbantha", "striderdetriment", "subtacmissile", "shipcarrier", "shipheavyarty"],
		"small": ["staticradar"]
	}
}
}