#!/bin/bash

for background in "fan_gold" "fan_green" "red" "blue" "flower_dark" "flower_light"
do
    mkdir -p $background
    for piece in "floor" "wall" "wall-end-"{"t","b",""}{"l","r"} "floor-"{"start","end"}"-"{"l","r"} "arch-"{"l","r"} "decor-1"
    do
        xcf2png $1 "$piece" "$background" --mode Screen > $background/"$piece.png"
    done
done
