summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/gendata.js1
-rw-r--r--tools/scale.sh13
2 files changed, 14 insertions, 0 deletions
diff --git a/tools/gendata.js b/tools/gendata.js
index 9505548..fcb04bc 100644
--- a/tools/gendata.js
+++ b/tools/gendata.js
@@ -433,6 +433,7 @@ let lords = [
militia: 1,
},
assets: {
+ coin: 1,
ship: 2,
prov: 2,
},
diff --git a/tools/scale.sh b/tools/scale.sh
index 65e7fe9..bc7b44b 100644
--- a/tools/scale.sh
+++ b/tools/scale.sh
@@ -10,3 +10,16 @@ do
O=${F/300/150}
convert $F -colorspace RGB -resize 50% -colorspace sRGB $O
done
+
+mkdir -p service75
+mkdir -p service150
+for F in service300/*.png
+do
+ echo $F
+
+ O=${F/300/75}
+ convert $F -colorspace RGB -resize 25% -colorspace sRGB $O
+
+ O=${F/300/150}
+ convert $F -colorspace RGB -resize 50% -colorspace sRGB $O
+done