Files
novafarma/scripts/setup_reference_biomes.py
David Kotnik 7ab6025486 🎨 Generated 10 Steampunk/Chibi Animals & Final Reference Org
EXTENDED SESSION (03:00 - 03:45 CET):

1. ANIMAL GENERATION (assets/slike/animals/generated_steampunk/):
    10 unique assets created:
   - Farm: Cow, Pig, Chicken, Duck, Goat, Horse, Rabbit, Donkey, Llama
   - Forest: Fox, Bear, Wolf
   - Style: Dark Noir Steampunk Chibi

2. REFERENCE ORGANIZATION (assets/slike/glavna_referenca/):
    Organized 2,626 files into subfolders
    Created comprehensive biome structure (200 folders)
    Moved docs to docs/art_guidelines/

SESSION UPDATE:
- Total Time: 3h 03min
- Files Processed: 5,788+
- Status: SESSION COMPLETE! 🚀
2026-01-20 10:45:44 +01:00

75 lines
1.9 KiB
Python

import os
from pathlib import Path
# Base directory
BASE_DIR = Path("/Users/davidkotnik/repos/novafarma/assets/slike/glavna_referenca/biomes")
# 1. List of all 20 Biomes (English names for consistency)
BIOMES = [
# Tier 1 - Normal
"01_grassland",
"02_forest",
"03_swamp",
"04_desert",
"05_mountain",
"06_snow",
"07_wasteland",
"08_tropical",
"09_radioactive",
# Tier 2 - Anomalous
"10_dino_valley",
"11_mythical_highlands",
"12_endless_forest",
"13_loch_ness",
"14_catacombs",
"15_egyptian_desert",
"16_amazon_rainforest",
"17_atlantis",
"18_mexican_cenotes",
"19_witch_forest",
"20_chernobyl"
]
# 2. Subfolders inside EACH biome
SUBFOLDERS = [
"terrain", # Tla, tilesets
"vegetation", # Drevesa, rastline
"buildings", # Zgradbe
"enemies", # Sovražniki (zombiji, mutanti)
"npc", # Liki
"boss", # Boss referenca
"food", # Hrana
"resources", # Rude, materiali
"weapons", # Orožje (specific to biome)
"items" # Ostali predmeti
]
def create_biome_structure():
print(f"🌍 Creating structure for {len(BIOMES)} biomes...")
print(f"📂 Subfolders per biome: {len(SUBFOLDERS)}")
total_folders = 0
for biome in BIOMES:
biome_path = BASE_DIR / biome
# Create biome folder
if not biome_path.exists():
biome_path.mkdir(parents=True, exist_ok=True)
# print(f" Created: {biome}")
# Create subfolders
for sub in SUBFOLDERS:
sub_path = biome_path / sub
if not sub_path.exists():
sub_path.mkdir(parents=True, exist_ok=True)
total_folders += 1
print("-" * 50)
print(f"✅ SUCCESSFULLY CREATED {total_folders} NEW FOLDERS!")
print(f"📍 Location: {BASE_DIR}")
if __name__ == "__main__":
create_biome_structure()