civ_map_generator 0.1.5

A civilization map generator
Documentation
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
[	
	// Bonus resources
	{
		"name": "Cattle",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland"],
		"canBeFoundOnBase": ["Grassland"],
		"food": 1,
		"improvement": "Pasture",
		"improvementStats": {"production": 1},
		"uniques": ["Generated on every [18] tiles <in [Featureless] [Grassland] tiles>",
			"Generated on every [22] tiles <in [Featureless] [Grassland] tiles> <in [Hill] Regions>"]
	},
	{
		"name": "Sheep",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain","Desert"],
		"food": 1,
		"improvement": "Pasture",
		"improvementStats": {"food": 1},
		"uniques": ["Generated on every [13] tiles <in [Hill] tiles> <in tiles without [Forest]> <in tiles without [Jungle]>",
					"Generated on every [10] tiles <in [Hill] tiles> <in tiles without [Forest]> <in tiles without [Jungle]> <in tiles without [Fresh Water]> <in [Hill] Regions>"]
	},
	{
		"name": "Deer",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland","Hill"],
		"canBeFoundOnBase": ["Tundra","Grassland","Plain"],
		"canBeFoundOnFeature": ["Forest"], // Deer can also be placed on `Flatland` with `Tundra` and no feature in the code, we have not added that in this json.
		"food": 1,
		"improvement": "Camp",
		"improvementStats": {"production": 1},
		"uniques": ["Generated on every [8] tiles <in [Tundra] [Forest] tiles>",
					"Generated on every [12] tiles <in [Featureless] [Tundra] tiles>",
					"Generated on every [25] tiles <in [Plain] [Forest] tiles> <in tiles without [Hill]>",
					"Generated on every [25] tiles <in [Grassland] [Forest] tiles> <in tiles without [Hill]>",
					"Generated on every [16] tiles <in [Featureless] [Tundra] tiles> <in [Hill] Regions>",
					"Generated on every [28] tiles <in [Forest] tiles> <in [Hill] Regions>"]
	},
	{
		"name": "Bananas",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland", "Hill"],
		"canBeFoundOnBase": ["Grassland", "Plain"],
		"canBeFoundOnFeature": ["Jungle"],
		"food": 1,
		"improvement": "Plantation",
		"improvementStats": {"food": 2,"production": -1},
		"uniques": ["Generated on every [14] tiles <in [Jungle] tiles>",
					"Generated on every [16] tiles <in [Jungle] tiles> <in [Hill] Regions>"]
	},
	{
		"name": "Wheat",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland"],
		"canBeFoundOnBase": ["Plain", "Desert"],
		"canBeFoundOnFeature": ["Floodplain"], 
		"food": 1,
		"improvement": "Farm",
		"improvementStats": {"food": 1},
		"uniques": ["Generated on every [27] tiles <in [Featureless] [Plain] tiles>",
					"Generated on every [10] tiles <in [Desert] [Fresh Water] tiles> <in tiles without [Hill]>",
					"Generated on every [20] tiles <in [Featureless] [Plain] tiles> <in [Hill] Regions>",
					"Generated on every [20] tiles <in [Fresh Water] [Desert] tiles> <in tiles without [Hill]> <in [Hill] Regions>"]
	},
	{
		"name": "Stone",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland"],
		"canBeFoundOnBase": ["Grassland","Desert","Tundra","Plain","Snow"],
		"production": 1,
		"improvement": "Quarry",
		"improvementStats": {"production": 1},
		"uniques": ["Generated on every [20] tiles <in [Featureless] [Grassland] tiles> <in tiles without [Fresh Water]>",
					"Generated on every [15] tiles <in [Featureless] [Tundra] tiles>",
					"Generated on every [19] tiles <in [Featureless] [Desert] tiles>"]
	},
	{
		"name": "Fish",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Water"],
		"canBeFoundOnBase": ["Coast"],
		"food": 1,
		"improvement": "Fishing Boats",
		"improvementStats": {"food": 1},
		"uniques": ["Generated on every [10] tiles <in [Featureless] [Coast] tiles>"]
	},
	{
		"name": "Bison",
		"resourceType": "Bonus",
		"canBeFoundOnType": ["Flatland"],
		"canBeFoundOnBase": ["Plain","Grassland"],
		"food": 1,
		"improvement": "Camp",
		"improvementStats": {"production": 1}
	},
	
	// Strategic resources
	{
		"name": "Horses",
		"resourceType": "Strategic",
		"revealedBy": "Animal Husbandry",
		"canBeFoundOnBase": ["Plain","Grassland","Tundra"],
		"production": 1,
		"improvement": "Pasture",
		"improvementStats": {"production": 1},
		"uniques": ["Guaranteed with Strategic Balance resource option",
					"Generated with weight [100] <in [Featureless] [Grassland] tiles>",
					"Generated with weight [100] <in [Featureless] [Plain] tiles>",
					"Minor deposits generated with weight [10] <in [Grassland] [Hill] tiles> <in tiles without [Forest]> <in tiles without [Jungle]>",
					"Minor deposits generated with weight [10] <in [Plain] [Hill] tiles> <in tiles without [Forest]> <in tiles without [Jungle]>",
					"Minor deposits generated with weight [100] <in [Featureless] [Grassland] tiles> <in [Fresh Water] tiles>",
					"Minor deposits generated with weight [20] <in [Featureless] [Grassland] tiles> <in tiles without [Fresh Water]>",
					"Minor deposits generated with weight [30] <in [Featureless] [Plain] tiles>"],
		"majorDepositAmount": {"sparse": 4, "default": 4, "abundant": 6},
		"minorDepositAmount": {"sparse": 1, "default": 2, "abundant": 3}
	},
	{
		"name": "Iron",
		"resourceType": "Strategic",
		"revealedBy": "Iron Working",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain","Desert","Tundra","Snow"],
		"production": 1,
		"improvement": "Mine",
		"improvementStats": {"production": 1},
		"uniques": ["Guaranteed with Strategic Balance resource option",
					"Generated with weight [45] <in [Featureless] [Tundra] tiles>",
					"Generated with weight [25] <in [Featureless] [Snow] tiles>",
					"Generated with weight [35] <in [Featureless] [Desert] tiles>",
					"Generated with weight [26] <in [Hill] tiles>",
					"Minor deposits generated with weight [10] <in [Marsh] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Jungle] [Hill] tiles>",
					"Minor deposits generated with weight [20] <in [Forest] tiles>",
					"Minor deposits generated with weight [20] <in [Hill] tiles> <in tiles without [Forest]> <in tiles without [Jungle]>",
					"Minor deposits generated with weight [30] <in [Featureless] [Grassland] tiles> <in tiles without [Fresh Water]>",
					"Minor deposits generated with weight [20] <in [Featureless] [Plain] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Desert] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Tundra] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Snow] tiles>"],
		"majorDepositAmount": {"sparse": 4, "default": 6, "abundant": 9},
		"minorDepositAmount": {"sparse": 1, "default": 2, "abundant": 3}
	},
	{
		"name": "Coal",
		"resourceType": "Strategic",
		"revealedBy": "Scientific Theory",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain"],
		"production": 1,
		"improvement": "Mine",
		"improvementStats": {"production": 2},
		"uniques": ["Generated with weight [35] <in [Hill] tiles>",
					"Generated with weight [30] <in [Jungle] tiles> <in tiles without [Hill]>",
					"Generated with weight [30] <in [Forest] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Marsh] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Jungle] tiles>",
					"Minor deposits generated with weight [10] <in [Forest] tiles>",
					"Minor deposits generated with weight [20] <in [Grassland] [Hill] tiles>",
					"Minor deposits generated with weight [20] <in [Plain] [Hill] tiles>",
					"Minor deposits generated with weight [30] <in [Desert] [Hill] tiles>",
					"Minor deposits generated with weight [30] <in [Tundra] [Hill] tiles>",
					"Minor deposits generated with weight [30] <in [Snow] [Hill] tiles>"],
		"majorDepositAmount": {"sparse": 5, "default": 7, "abundant": 10},
		"minorDepositAmount": {"sparse": 2, "default": 3, "abundant": 3}
	},
	{
		"name": "Oil",
		"resourceType": "Strategic",
		"revealedBy": "Biology",
		"canBeFoundOnBase": ["Desert","Coast","Tundra","Snow"],
		"canBeFoundOnFeature": ["Marsh","Jungle"],
		"production": 1,
		"improvement": "Oil well",
		"improvementStats": {"production": 3},
		"uniques": ["Deposits in [Coast] tiles always provide [4] resources",
					"Guaranteed with Strategic Balance resource option",
					"Generated with weight [65] <in [Marsh] tiles> <in tiles without [Hill]>",
					"Generated with weight [40] <in [Featureless] [Tundra] tiles>",
					"Generated with weight [60] <in [Featureless] [Snow] tiles>",
					"Generated with weight [65] <in [Featureless] [Desert] tiles>",
					"Generated with weight [100] <in [Featureless] [Coast] tiles>",
					"Minor deposits generated with weight [20] <in [Marsh] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Jungle] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Featureless] [Desert] tiles>",
					"Minor deposits generated with weight [20] <in [Featureless] [Tundra] tiles>",
					"Minor deposits generated with weight [20] <in [Featureless] [Snow] tiles>"],
		"majorDepositAmount": {"sparse": 5, "default": 7, "abundant": 9},
		"minorDepositAmount": {"sparse": 2, "default": 3, "abundant": 3}
	},
	{
		"name": "Aluminum",
		"resourceType": "Strategic",
		"revealedBy": "Electricity",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Desert","Tundra","Plain"],
		"production": 1,
		"improvement": "Mine",
		"improvementStats": {"production": 2},
		"uniques": ["Generated with weight [15] <in [Featureless] [Tundra] tiles>",
					"Generated with weight [15] <in [Featureless] [Snow] tiles>",
					"Generated with weight [39] <in [Hill] tiles>",
					"Minor deposits generated with weight [20] <in [Jungle] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Desert] tiles>"],
		"majorDepositAmount": {"sparse": 5, "default": 8, "abundant": 10},
		"minorDepositAmount": {"sparse": 2, "default": 3, "abundant": 3}
	},
	{
		"name": "Uranium",
		"resourceType": "Strategic",
		"revealedBy": "Atomic Theory",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Desert","Tundra","Plain","Snow"],
		"canBeFoundOnFeature": ["Marsh","Jungle","Forest"],
		"production": 1,
		"improvement": "Mine",
		"improvementStats": {"production": 2},
		"uniques": ["Generated with weight [35] <in [Marsh] tiles> <in tiles without [Hill]>",
					"Generated with weight [70] <in [Jungle] tiles> <in tiles without [Hill]>",
					"Generated with weight [70] <in [Forest] tiles> <in tiles without [Hill]>",
					"Minor deposits generated with weight [10] <in [Forest] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Tundra] tiles>",
					"Minor deposits generated with weight [10] <in [Featureless] [Snow] tiles>"],
		"majorDepositAmount": {"sparse": 2, "default": 4, "abundant": 4},
		"minorDepositAmount": {"sparse": 1, "default": 2, "abundant": 3}
	},

	// Luxury resources
	{
		"name": "Furs",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Tundra"],
		"canBeFoundOnFeature": ["Forest"],
		"gold": 2,
		"improvement": "Camp",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [40] <in [Tundra] Regions>",
			"Generated with weight [10] <in [Forest] Regions>",
			"Generated near City States with weight [15]"]
	},
	{
		"name": "Cotton",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Grassland","Plain","Desert"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [15] <in [Desert] Regions>",
			"Generated with weight [30] <in [Grassland] Regions>",
			"Generated with weight [15] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Hill] tiles>"]
	},
	{
		"name": "Dyes",
		"resourceType": "Luxury",
		"canBeFoundOnFeature": ["Jungle","Forest"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [5] <in [Tundra] Regions>",
			"Generated with weight [5] <in [Jungle] Regions>",
			"Generated with weight [30] <in [Forest] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Hill] tiles>"]
	},
	{
		"name": "Gems",
		"resourceType": "Luxury",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain","Desert","Tundra"],
		"canBeFoundOnFeature": ["Jungle"],
		"gold": 3,
		"improvement": "Mine",
		"improvementStats": {"production": 1},
		"uniques": ["Generated with weight [5] <in [Tundra] Regions>",
			"Generated with weight [20] <in [Jungle] Regions>",
			"Generated with weight [15] <in [Hill] Regions>",
			"Generated with weight [5] <in [Grassland] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Forest] tiles> <in tiles without [Hill]>"]
	},
	{
		"name": "Gold Ore", // Not called "Gold" in order to not conflict with siege type units for translations
		"resourceType": "Luxury",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain","Desert"],
		"gold": 2,
		"improvement": "Mine",
		"improvementStats": {"production": 1},
		"uniques": ["Generated with weight [25] <in [Desert] Regions>",
			"Generated with weight [30] <in [Hill] Regions>",
			"Generated with weight [5] <in [Plain] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Forest] tiles> <in tiles without [Hill]>",
			"Doesn't generate naturally <in [Jungle] tiles> <in tiles without [Hill]>"]
	},
	{
		"name": "Silver",
		"resourceType": "Luxury",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Desert","Tundra"],
		"gold": 2,
		"improvement": "Mine",
		"improvementStats": {"production": 1},
		"uniques": ["Generated with weight [25] <in [Tundra] Regions>",
					"Generated with weight [30] <in [Hill] Regions>",
					"Generated with weight [20] <in [Grassland] Regions>",
					"Generated with weight [10] <in [Hybrid] Regions>",
					"Generated near City States with weight [10]",
					"Doesn't generate naturally <in [Forest] tiles> <in tiles without [Hill]>",
					"Doesn't generate naturally <in [Jungle] tiles> <in tiles without [Hill]>",
					"Doesn't generate naturally <in [Tundra] [Hill] tiles>",
					"Doesn't generate naturally <in [Grassland] [Fresh Water] tiles>",
					"Doesn't generate naturally <in [Grassland] [Hill] tiles>"
		]
	},
	{
		"name": "Incense",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Plain","Desert"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [35] <in [Desert] Regions>",
			"Generated with weight [10] <in [Plain] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [15]"]
	},
	{
		"name": "Ivory",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Plain"],
		"gold": 2,
		"improvement": "Camp",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [35] <in [Plain] Regions>",
			"Generated with weight [15] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Grassland] [Fresh Water] tiles>"]
	},
	{
		"name": "Silk",
		"resourceType": "Luxury",
		"canBeFoundOnFeature": ["Forest"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [5] <in [Jungle] Regions>",
			"Generated with weight [30] <in [Forest] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [15]",
			"Doesn't generate naturally <in [Hill] tiles>"]
	},
	{
		"name": "Spices",
		"resourceType": "Luxury",
		"canBeFoundOnFeature": ["Jungle"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [30] <in [Jungle] Regions>",
			"Generated with weight [10] <in [Forest] Regions>",
			"Generated with weight [5] <in [Plain] Regions>",
			"Generated with weight [5] <in [Grassland] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [15]",
			"Doesn't generate naturally <in [Hill] tiles>",
			"Doesn't generate naturally <in [Tundra] [Forest] tiles>"]
	},
	{
		"name": "Wine",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Grassland","Plain"],
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [35] <in [Plain] Regions>",
			"Generated with weight [15] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]"]
	},
	{
		"name": "Sugar",
		"resourceType": "Luxury",
		"canBeFoundOnFeature": ["Floodplain","Marsh"],
		// Technically sugar can also be placed on lowland jungles which then *turn* into marsh.
		"gold": 2,
		"improvement": "Plantation",
		"improvementStats": {"gold": 1},
		"uniques": ["Generated with weight [20] <in [Jungle] Regions>",
			"Generated with weight [15] <in [Desert] Regions>",
			"Generated with weight [20] <in [Grassland] Regions>",
			"Generated with weight [5] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]",
			"Doesn't generate naturally <in [Grassland] tiles> <in tiles without [Fresh Water]>"]
	},
	{
		"name": "Marble",
		"resourceType": "Luxury",
		"canBeFoundOnType": ["Hill"],
		"canBeFoundOnBase": ["Grassland","Plain","Desert","Tundra"],
		"gold": 2,
		"improvement": "Quarry",
		"improvementStats": {"production": 1},
		"uniques": ["[+15]% Production when constructing [All] wonders [in all cities]",
			"Special placement during map generation",
			"Doesn't generate naturally <in [Grassland] [Fresh Water] tiles>"]
	},
	{
		"name": "Whales",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Coast"],
		"food": 1,
		"gold": 1,
		"improvement": "Fishing Boats",
		"improvementStats": {"food": 1},
		"uniques": ["Generated with weight [35] <in [Tundra] Regions>",
			"Generated with weight [10] <in [Forest] Regions>",
			"Generated with weight [10] <in [Hill] Regions>",
			"Generated with weight [5] <in [Plain] Regions>",
			"Generated with weight [10] <in [Grassland] Regions>",
			"Generated with weight [20] <in [Hybrid] Regions>",
			"Generated near City States with weight [10]"]
	},
	{
		"name": "Pearls",
		"resourceType": "Luxury",
		"canBeFoundOnBase": ["Coast"],
		"gold": 2,
		"improvement": "Fishing Boats",
		"improvementStats": {"food": 1},
		"uniques": ["Generated with weight [20] <in [Jungle] Regions>",
			"Generated with weight [10] <in [Forest] Regions>",
			"Generated with weight [5] <in [Desert] Regions>",
			"Generated with weight [15] <in [Hill] Regions>",
			"Generated with weight [5] <in [Plain] Regions>",
			"Generated with weight [10] <in [Grassland] Regions>",
			"Generated with weight [20] <in [Hybrid] Regions>",
			"Generated near City States with weight [15]"]
	},
	{
		"name": "Jewelry",
		"resourceType": "Luxury",
		"gold": 2,
		"uniques": ["Can only be created by Mercantile City-States"]
	},
	{
		"name": "Porcelain",
		"resourceType": "Luxury",
		"gold": 2,
		"uniques": ["Can only be created by Mercantile City-States"]
	}
]