Backup before cleanup
This commit is contained in:
@@ -16,7 +16,7 @@ echo " Source: $SOURCE_DIR"
|
||||
echo " Output: $OUTPUT_DIR"
|
||||
echo ""
|
||||
|
||||
for category in items locations npcs interactables characters; do
|
||||
for category in items locations npcs interactables characters placeholder; do
|
||||
src="$SOURCE_DIR/$category"
|
||||
out="$OUTPUT_DIR/$category"
|
||||
|
||||
@@ -38,7 +38,7 @@ for category in items locations npcs interactables characters; do
|
||||
continue
|
||||
fi
|
||||
|
||||
if [[ "$category" == "items" ]]; then
|
||||
if [[ "$category" == "items" || "$category" == "placeholder" ]]; then
|
||||
# Special processing for items: remove white background and resize
|
||||
echo " ➜ Converting item: $filename"
|
||||
tmp="/tmp/${base}_clean.png"
|
||||
|
||||
Reference in New Issue
Block a user