ok
This commit is contained in:
66
scripts/create_biome_structure.py
Normal file
66
scripts/create_biome_structure.py
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
import os
|
||||
|
||||
ROOT = "assets/slike/biomi"
|
||||
|
||||
# 21 BIOMES from Bible
|
||||
BIOMES_LIST = [
|
||||
"01_Dino_Valley",
|
||||
"02_Mythical_Highlands",
|
||||
"03_Atlantis",
|
||||
"04_Egyptian_Desert",
|
||||
"05_Chernobyl",
|
||||
"06_Mushroom_Forest",
|
||||
"07_Arctic_Zone",
|
||||
"08_Endless_Forest",
|
||||
"09_Amazonas_Jungle",
|
||||
"10_Volcanic_Zone",
|
||||
"11_Bamboo_Forest",
|
||||
"12_Crystal_Caves",
|
||||
"13_Shadow_Realm",
|
||||
"14_Loch_Ness",
|
||||
"15_Floating_Islands",
|
||||
"16_Deep_Ocean",
|
||||
"17_Catacombs",
|
||||
"18_Wasteland",
|
||||
"19_Mexican_Cenotes",
|
||||
"20_Base_Farm",
|
||||
"21_Dark_Forest"
|
||||
]
|
||||
|
||||
# 9 CATEGORIES per Biome
|
||||
CATEGORIES = [
|
||||
"01_Fauna_Creatures",
|
||||
"02_Teren_Tiles",
|
||||
"03_Vegetacija_Plants",
|
||||
"04_Rekviziti_Props",
|
||||
"05_Zgradbe_Buildings",
|
||||
"06_Hrana_Food",
|
||||
"07_Materiali_Crafting",
|
||||
"08_Oblacila_Clothing",
|
||||
"09_Orodja_Tools"
|
||||
]
|
||||
|
||||
def create_structure():
|
||||
print(f"🚀 CREATING 21 BIOME STRUCTURES in {ROOT}...")
|
||||
|
||||
if not os.path.exists(ROOT):
|
||||
os.makedirs(ROOT)
|
||||
|
||||
for biome in BIOMES_LIST:
|
||||
biome_path = os.path.join(ROOT, biome)
|
||||
if not os.path.exists(biome_path):
|
||||
os.makedirs(biome_path)
|
||||
print(f" + {biome}")
|
||||
|
||||
for cat in CATEGORIES:
|
||||
cat_path = os.path.join(biome_path, cat)
|
||||
if not os.path.exists(cat_path):
|
||||
os.makedirs(cat_path)
|
||||
|
||||
print("="*40)
|
||||
print(f"✅ STRUCTURE CREATED: 21 Biomes x 9 Subfolders.")
|
||||
print("="*40)
|
||||
|
||||
if __name__ == "__main__":
|
||||
create_structure()
|
||||
Reference in New Issue
Block a user