You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
553 B
Bash
24 lines
553 B
Bash
#! /bin/bash
|
|
|
|
set -ex
|
|
|
|
cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &> /dev/null
|
|
cd ..
|
|
mkdir -p tileset_object_visible
|
|
cd tileset_object_visible
|
|
|
|
function do_conv()
|
|
{
|
|
local fname=$1 text=$2
|
|
convert "../tileset_object/$fname" -gravity center \
|
|
-pointsize 80 -font Inconsolata -fill black -stroke white \
|
|
-strokewidth 2 -annotate 0 "$text" "$fname"
|
|
}
|
|
|
|
for c in Gold Silver Bronze; do
|
|
for t in FloorDecoration_Key WallPath_WoodLocked; do
|
|
do_conv "$t$c.png" "${c::1}"
|
|
done
|
|
done
|
|
do_conv WallPath_WoodLocked.png A
|