diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec036e9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.directory +*.blend1 diff --git a/deploy.py b/deploy.py new file mode 100644 index 0000000..9941bbc --- /dev/null +++ b/deploy.py @@ -0,0 +1,43 @@ +#!/usr/bin/env python +import os +import shutil + +profile_path = os.environ.get("HOME") +if profile_path is None: + profile_path = os.environ.get('USERPROFILE') + +if profile_path is None: + print("Can't get home directory: HOME or USERPROFILE must be set" + " in your environment") + exit(1) + +def copyIfDest(path1, path2, recursive=True): + folder_path = path1 + if os.path.isdir(path2): + if os.path.isdir(folder_path): + for sub_name in os.listdir(folder_path): + sub_path = os.path.join(folder_path, sub_name) + sub_path2 = os.path.join(path2, sub_name) + if sub_name[:1]!=".": + if os.path.isfile(sub_path): + shutil.copyfile(sub_path, sub_path2) + print("cp '" + sub_path + "' '" + sub_path2 + + "'") + elif recursive: + copyIfDest(sub_path, sub_path2, + recursive=recursive) + else: + print("ERROR: Not copying '" + path1 + "' for safety, since" + + " no '" + path2 + "'") + + +def deploy(path): + copyIfDest(".", path) + + +deploy(os.path.join( + profile_path, + "git/EnlivenMinetest/webapp/linux-minetest-kit/minetest/games" + "/ENLIVEN/mods/mobs_sky") +) +deploy(os.path.join(profile_path, ".minetest/mods/mobs_sky")) diff --git a/mobs_birds/etc/thrush.blend b/mobs_birds/etc/thrush.blend new file mode 100644 index 0000000..729dec5 Binary files /dev/null and b/mobs_birds/etc/thrush.blend differ diff --git a/mobs_birds/models/mobs_birds_thrush.b3d b/mobs_birds/models/mobs_birds_thrush.b3d new file mode 100644 index 0000000..4cb7a9d Binary files /dev/null and b/mobs_birds/models/mobs_birds_thrush.b3d differ diff --git a/mobs_birds/textures/bird_blueish.png b/mobs_birds/textures/bird_blueish.png index fbeff51..9e0944e 100644 Binary files a/mobs_birds/textures/bird_blueish.png and b/mobs_birds/textures/bird_blueish.png differ