From b7d6d15b432bb0f00bdbaf1a427a0d16c165fe7b Mon Sep 17 00:00:00 2001 From: h-v-smacker Date: Sun, 19 Nov 2017 00:30:41 +0300 Subject: Juices and popsicles --- textures/add_img.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 textures/add_img.sh (limited to 'textures/add_img.sh') diff --git a/textures/add_img.sh b/textures/add_img.sh new file mode 100755 index 0000000..192b387 --- /dev/null +++ b/textures/add_img.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +# copy the source images as proper filenames +# then color them with GIMP + +if [ -z "$1" ]; then + echo "(!) usage: ./add_img.sh new_juice_name" +else + echo "(i) adding new juice type ${1}..." + cp "#drinking_glass.png" "${1}.png" + cp "#drinking_glass_inv.png" "${1}_inv.png" + cp "#popsicle.png" "${1}_popsicle.png" +fi \ No newline at end of file -- cgit v1.2.3