-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmapLegend.sh
More file actions
executable file
·34 lines (30 loc) · 910 Bytes
/
mapLegend.sh
File metadata and controls
executable file
·34 lines (30 loc) · 910 Bytes
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
#!/usr/bin/env bash
OUT="$PWD/legend.png"
montage -title 'Map Preview Legend' -pointsize 16 \
-label Trader xc:magenta \
-label Crop xc:olive \
-label Any xc:white \
-label Wilderness xc:saddlebrown \
-label D/C/I xc:orange \
-label D/R xc:teal \
-label D/C xc:slategray \
-label Downtown xc:gray \
-label "Residential" xc:chartreuse \
-label "Country Residential" xc:green \
-label Commercial xc:blue \
-label Industrial xc:yellow \
-label Rural xc:olivedrab \
-label "Country Town" xc:sandybrown \
-label "Spawn Location" xc:red \
-label Wasteland 'xc:#949442' \
-label 'Burnt Forest' 'xc:#393931' \
-label Forest 'xc:#004000' \
-label Desert 'xc:#FFE477' \
-label Snow 'xc:#c3c4d9' \
-label Water 'xc:#738cce' \
-label 'Asphalt Road' 'xc:#ceb584' \
-label 'Gravel Road' 'xc:#9c8c7b' \
-label Radiation 'xc:rgb(255,0,0)' \
-shadow -geometry 128x128+5+5 \
"${OUT}"
echo "${OUT}"