#!/usr/bin/env python3 """ šŸŒ CREATE BIOME STRUCTURE TEMPLATE Creates hierarchical DLC-pack folder structure for all 18 biomes """ from pathlib import Path REPO = Path("/Users/davidkotnik/repos/novafarma") SLIKE = REPO / "assets/slike" # All 18 biomes BIOMES = [ "dinozavri", # Already done "mythical_highlands", "endless_forest", "loch_ness", "egyptian_desert", "amazonas", "atlantis", "chernobyl", "catacombs", "arctic_zone", "volcanic_zone", "crystal_caves", "floating_islands", "deep_ocean", "shadow_realm", "mushroom_forest", "bamboo_forest", "wasteland" ] # Standard DLC categories for each biome CATEGORIES = [ "fauna", "clothing", "weapons", "food", "materials", "terrain", "vegetation", "props", "buildings" ] def create_biome_structure(biome_name: str): """Create standard DLC folder structure for a biome""" biome_dir = SLIKE / biome_name biome_dir.mkdir(exist_ok=True) print(f"\nšŸ“‚ Creating structure for: {biome_name}") for category in CATEGORIES: cat_dir = biome_dir / category cat_dir.mkdir(exist_ok=True) # Create README readme = cat_dir / "README.md" if not readme.exists(): content = f"""# {category.title()} - {biome_name.replace('_', ' ').title()} **Status**: āŒ 0% COMPLETE This folder will contain all {category} assets for {biome_name}. **Categories**: - fauna: Animals, creatures, monsters specific to this biome - clothing: Armor, outfits, accessories themed for this biome - weapons: Tools, weapons using biome materials - food: Plants, crops, consumables from this biome - materials: Crafting resources, drops from biome creatures - terrain: Ground tiles (32x32), water, special terrain - vegetation: Trees, plants, decorative flora - props: Objects, decorations, interactive items - buildings: Structures, shelters, workstations **Generate**: See biome-specific manifest when created. """ readme.write_text(content) print(f" āœ… {category}/README.md") else: print(f" ā­ļø {category}/README.md (exists)") # Create main biome README main_readme = biome_dir / "README.md" if not main_readme.exists(): content = f"""# šŸŒ {biome_name.replace('_', ' ').title()} - Complete DLC Pack **Status**: 🚧 Structure Created --- ## šŸ“‚ Folder Structure ``` {biome_name}/ ā”œā”€ā”€ fauna/ āŒ 0% - Animals and creatures ā”œā”€ā”€ clothing/ āŒ 0% - Themed armor and outfits ā”œā”€ā”€ weapons/ āŒ 0% - Biome-specific weapons ā”œā”€ā”€ food/ āŒ 0% - Plants and consumables ā”œā”€ā”€ materials/ āŒ 0% - Crafting resources ā”œā”€ā”€ terrain/ āŒ 0% - Ground tiles and terrain ā”œā”€ā”€ vegetation/ āŒ 0% - Trees and flora ā”œā”€ā”€ props/ āŒ 0% - Objects and decorations └── buildings/ āŒ 0% - Structures and shelters ``` --- ## šŸŽÆ Next Steps 1. Define asset manifest for this biome 2. Generate style prompts 3. Create generation script 4. Generate all assets --- **Created**: {Path(__file__).stat().st_mtime} """ main_readme.write_text(content) print(f" āœ… Main README.md") def main(): print("="*70) print("šŸŒ CREATE BIOME STRUCTURE TEMPLATE") print("="*70) print(f"\nCreating DLC structure for {len(BIOMES)} biomes...") for biome in BIOMES: create_biome_structure(biome) print("\n" + "="*70) print("āœ… ALL BIOME STRUCTURES CREATED!") print("="*70) print(f"\nTotal: {len(BIOMES)} biomes Ɨ {len(CATEGORIES)} categories") print(f"Total folders: {len(BIOMES) * len(CATEGORIES)}") if __name__ == "__main__": main()