From 9444afd7222a71fc17d40c9793506812d715dcc3 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Tue, 6 Sep 2022 22:06:27 +0300 Subject: [PATCH] Refactor armors to be mods rather than hardcoded into API (#78) * Begin work on "armors as modpack" refactor letting anyone to enable/disable any armors they want as mods rather than obscure settings * Fix some steel armor mishaps, remove pointless dependency on "default" * Move admin armor into mod * Make wood armor into a mod * More consistent steel description text etc. * remove wood references from 3d_armor api locale * remove admin armor reference from 3d_armor locale template.txt * Remove steel textures from api * Bronze armor as mod * Fix admin, wood armor missing local S translator var Fix wood locale missing template.txt * Fix bronze missing locale * Cactus as mod * Crystal into mod * Diamond into mod * Mithril and Gold as mods * Register armor fix * Nether as mod * Clean-up, add optional depends for mod armors, remove armor.lua from 3d_armor * Fix badly named mod.conf for admin, gold, nether armors Fix attempt to register crafting recipe even though the armor is disabled via setting * Fix steel and wood having bad globals for crafting section, turned them to locals * Fix brazilian translation getting deleted Fix cactus armor locales being incorrectly named --- 3d_armor/armor.lua | 1027 ----------------- 3d_armor/depends.txt | 1 + 3d_armor/init.lua | 10 - 3d_armor/locale/3d_armor.de.tr | 43 - 3d_armor/locale/3d_armor.es.tr | 43 - 3d_armor/locale/3d_armor.fr.tr | 43 - 3d_armor/locale/3d_armor.it.tr | 43 - 3d_armor/locale/3d_armor.ms.tr | 43 - 3d_armor/locale/3d_armor.pt.tr | 43 - 3d_armor/locale/3d_armor.pt_BR.tr | 43 - 3d_armor/locale/3d_armor.ru.tr | 39 - 3d_armor/locale/template.txt | 43 - 3d_armor/textures/preview_index.txt | 49 - armor_admin/LICENSE.txt | 26 + armor_admin/depends.txt | 1 + armor_admin/description.txt | 1 + armor_admin/init.lua | 94 ++ armor_admin/locale/armor_admin.de.tr | 9 + armor_admin/locale/armor_admin.es.tr | 9 + armor_admin/locale/armor_admin.fr.tr | 9 + armor_admin/locale/armor_admin.it.tr | 9 + armor_admin/locale/armor_admin.ms.tr | 9 + armor_admin/locale/armor_admin.pt.tr | 13 + armor_admin/locale/armor_admin.pt_BR.tr | 9 + armor_admin/locale/armor_admin.ru.tr | 9 + armor_admin/locale/template.txt | 9 + armor_admin/mod.conf | 3 + .../textures/3d_armor_boots_admin.png | Bin .../textures/3d_armor_boots_admin_preview.png | Bin .../textures/3d_armor_chestplate_admin.png | Bin .../3d_armor_chestplate_admin_preview.png | Bin .../textures/3d_armor_helmet_admin.png | Bin .../3d_armor_helmet_admin_preview.png | Bin .../textures/3d_armor_inv_boots_admin.png | Bin .../3d_armor_inv_chestplate_admin.png | Bin .../textures/3d_armor_inv_helmet_admin.png | Bin .../textures/3d_armor_inv_leggings_admin.png | Bin .../textures/3d_armor_leggings_admin.png | Bin .../3d_armor_leggings_admin_preview.png | Bin armor_bronze/LICENSE.txt | 26 + armor_bronze/depends.txt | 1 + armor_bronze/description.txt | 1 + armor_bronze/init.lua | 181 +++ armor_bronze/locale/armor_bronze.de.tr | 9 + armor_bronze/locale/armor_bronze.es.tr | 9 + armor_bronze/locale/armor_bronze.fr.tr | 9 + armor_bronze/locale/armor_bronze.it.tr | 9 + armor_bronze/locale/armor_bronze.ms.tr | 9 + armor_bronze/locale/armor_bronze.pt.tr | 9 + armor_bronze/locale/armor_bronze.pt_BR.tr | 9 + armor_bronze/locale/armor_bronze.ru.tr | 9 + armor_bronze/locale/template.txt | 9 + armor_bronze/mod.conf | 3 + .../textures/3d_armor_boots_bronze.png | Bin .../3d_armor_boots_bronze_preview.png | Bin .../textures/3d_armor_chestplate_bronze.png | Bin .../3d_armor_chestplate_bronze_preview.png | Bin .../textures/3d_armor_helmet_bronze.png | Bin .../3d_armor_helmet_bronze_preview.png | Bin .../textures/3d_armor_inv_boots_bronze.png | Bin .../3d_armor_inv_chestplate_bronze.png | Bin .../textures/3d_armor_inv_helmet_bronze.png | Bin .../textures/3d_armor_inv_leggings_bronze.png | Bin .../textures/3d_armor_leggings_bronze.png | Bin .../3d_armor_leggings_bronze_preview.png | Bin armor_cactus/LICENSE.txt | 26 + armor_cactus/depends.txt | 1 + armor_cactus/description.txt | 1 + armor_cactus/init.lua | 183 +++ armor_cactus/locale/armor_cactus.de.tr | 9 + armor_cactus/locale/armor_cactus.es.tr | 9 + armor_cactus/locale/armor_cactus.fr.tr | 9 + armor_cactus/locale/armor_cactus.it.tr | 9 + armor_cactus/locale/armor_cactus.ms.tr | 9 + armor_cactus/locale/armor_cactus.pt.tr | 9 + armor_cactus/locale/armor_cactus.pt_BR.tr | 9 + armor_cactus/locale/armor_cactus.ru.tr | 9 + armor_cactus/locale/template.txt | 9 + armor_cactus/mod.conf | 3 + .../textures/3d_armor_boots_cactus.png | Bin .../3d_armor_boots_cactus_preview.png | Bin .../textures/3d_armor_chestplate_cactus.png | Bin .../3d_armor_chestplate_cactus_preview.png | Bin .../textures/3d_armor_helmet_cactus.png | Bin .../3d_armor_helmet_cactus_preview.png | Bin .../textures/3d_armor_inv_boots_cactus.png | Bin .../3d_armor_inv_chestplate_cactus.png | Bin .../textures/3d_armor_inv_helmet_cactus.png | Bin .../textures/3d_armor_inv_leggings_cactus.png | Bin .../textures/3d_armor_leggings_cactus.png | Bin .../3d_armor_leggings_cactus_preview.png | Bin armor_crystal/LICENSE.txt | 26 + armor_crystal/depends.txt | 1 + armor_crystal/description.txt | 1 + armor_crystal/init.lua | 170 +++ armor_crystal/locale/armor_crystal.de.tr | 9 + armor_crystal/locale/armor_crystal.es.tr | 9 + armor_crystal/locale/armor_crystal.fr.tr | 9 + armor_crystal/locale/armor_crystal.it.tr | 9 + armor_crystal/locale/armor_crystal.ms.tr | 9 + armor_crystal/locale/armor_crystal.pt.tr | 9 + armor_crystal/locale/armor_crystal.pt_BR.tr | 9 + armor_crystal/locale/armor_crystal.ru.tr | 9 + armor_crystal/locale/template.txt | 9 + armor_crystal/mod.conf | 4 + .../textures/3d_armor_boots_crystal.png | Bin .../3d_armor_boots_crystal_preview.png | Bin .../textures/3d_armor_chestplate_crystal.png | Bin .../3d_armor_chestplate_crystal_preview.png | Bin .../textures/3d_armor_helmet_crystal.png | Bin .../3d_armor_helmet_crystal_preview.png | Bin .../textures/3d_armor_inv_boots_crystal.png | Bin .../3d_armor_inv_chestplate_crystal.png | Bin .../textures/3d_armor_inv_helmet_crystal.png | Bin .../3d_armor_inv_leggings_crystal.png | Bin .../textures/3d_armor_leggings_crystal.png | Bin .../3d_armor_leggings_crystal_preview.png | Bin armor_diamond/LICENSE.txt | 26 + armor_diamond/depends.txt | 1 + armor_diamond/description.txt | 1 + armor_diamond/init.lua | 166 +++ armor_diamond/locale/armor_diamond.de.tr | 9 + armor_diamond/locale/armor_diamond.es.tr | 9 + armor_diamond/locale/armor_diamond.fr.tr | 9 + armor_diamond/locale/armor_diamond.it.tr | 9 + armor_diamond/locale/armor_diamond.ms.tr | 9 + armor_diamond/locale/armor_diamond.pt.tr | 9 + armor_diamond/locale/armor_diamond.pt_BR.tr | 9 + armor_diamond/locale/armor_diamond.ru.tr | 9 + armor_diamond/locale/template.txt | 9 + armor_diamond/mod.conf | 3 + .../textures/3d_armor_boots_diamond.png | Bin .../3d_armor_boots_diamond_preview.png | Bin .../textures/3d_armor_chestplate_diamond.png | Bin .../3d_armor_chestplate_diamond_preview.png | Bin .../textures/3d_armor_helmet_diamond.png | Bin .../3d_armor_helmet_diamond_preview.png | Bin .../textures/3d_armor_inv_boots_diamond.png | Bin .../3d_armor_inv_chestplate_diamond.png | Bin .../textures/3d_armor_inv_helmet_diamond.png | Bin .../3d_armor_inv_leggings_diamond.png | Bin .../textures/3d_armor_leggings_diamond.png | Bin .../3d_armor_leggings_diamond_preview.png | Bin armor_gold/LICENSE.txt | 26 + armor_gold/depends.txt | 1 + armor_gold/description.txt | 1 + armor_gold/init.lua | 183 +++ armor_gold/locale/armor_gold.de.tr | 9 + armor_gold/locale/armor_gold.es.tr | 9 + armor_gold/locale/armor_gold.fr.tr | 9 + armor_gold/locale/armor_gold.it.tr | 9 + armor_gold/locale/armor_gold.ms.tr | 9 + armor_gold/locale/armor_gold.pt.tr | 9 + armor_gold/locale/armor_gold.pt_BR.tr | 9 + armor_gold/locale/armor_gold.ru.tr | 9 + armor_gold/locale/template.txt | 9 + armor_gold/mod.conf | 3 + .../textures/3d_armor_boots_gold.png | Bin .../textures/3d_armor_boots_gold_preview.png | Bin .../textures/3d_armor_chestplate_gold.png | Bin .../3d_armor_chestplate_gold_preview.png | Bin .../textures/3d_armor_helmet_gold.png | Bin .../textures/3d_armor_helmet_gold_preview.png | Bin .../textures/3d_armor_inv_boots_gold.png | Bin .../textures/3d_armor_inv_chestplate_gold.png | Bin .../textures/3d_armor_inv_helmet_gold.png | Bin .../textures/3d_armor_inv_leggings_gold.png | Bin .../textures/3d_armor_leggings_gold.png | Bin .../3d_armor_leggings_gold_preview.png | Bin armor_mithril/LICENSE.txt | 26 + armor_mithril/depends.txt | 1 + armor_mithril/description.txt | 1 + armor_mithril/init.lua | 162 +++ armor_mithril/locale/armor_mithril.de.tr | 9 + armor_mithril/locale/armor_mithril.es.tr | 9 + armor_mithril/locale/armor_mithril.fr.tr | 9 + armor_mithril/locale/armor_mithril.it.tr | 9 + armor_mithril/locale/armor_mithril.ms.tr | 9 + armor_mithril/locale/armor_mithril.pt.tr | 9 + armor_mithril/locale/armor_mithril.pt_BR.tr | 9 + armor_mithril/locale/armor_mithril.ru.tr | 9 + armor_mithril/locale/template.txt | 30 + armor_mithril/mod.conf | 4 + .../textures/3d_armor_boots_mithril.png | Bin .../3d_armor_boots_mithril_preview.png | Bin .../textures/3d_armor_chestplate_mithril.png | Bin .../3d_armor_chestplate_mithril_preview.png | Bin .../textures/3d_armor_helmet_mithril.png | Bin .../3d_armor_helmet_mithril_preview.png | Bin .../textures/3d_armor_inv_boots_mithril.png | Bin .../3d_armor_inv_chestplate_mithril.png | Bin .../textures/3d_armor_inv_helmet_mithril.png | Bin .../3d_armor_inv_leggings_mithril.png | Bin .../textures/3d_armor_leggings_mithril.png | Bin .../3d_armor_leggings_mithril_preview.png | Bin armor_nether/LICENSE.txt | 26 + armor_nether/depends.txt | 1 + armor_nether/description.txt | 1 + armor_nether/init.lua | 168 +++ armor_nether/locale/armor_nether.de.tr | 9 + armor_nether/locale/armor_nether.es.tr | 9 + armor_nether/locale/armor_nether.fr.tr | 9 + armor_nether/locale/armor_nether.it.tr | 9 + armor_nether/locale/armor_nether.ms.tr | 9 + armor_nether/locale/armor_nether.pt.tr | 9 + armor_nether/locale/armor_nether.pt_BR.tr | 9 + armor_nether/locale/armor_nether.ru.tr | 9 + armor_nether/locale/template.txt | 9 + armor_nether/mod.conf | 4 + .../textures/3d_armor_boots_nether.png | Bin .../3d_armor_boots_nether_preview.png | Bin .../textures/3d_armor_chestplate_nether.png | Bin .../3d_armor_chestplate_nether_preview.png | Bin .../textures/3d_armor_helmet_nether.png | Bin .../3d_armor_helmet_nether_preview.png | Bin .../textures/3d_armor_inv_boots_nether.png | Bin .../3d_armor_inv_chestplate_nether.png | Bin .../textures/3d_armor_inv_helmet_nether.png | Bin .../textures/3d_armor_inv_leggings_nether.png | Bin .../textures/3d_armor_leggings_nether.png | Bin .../3d_armor_leggings_nether_preview.png | Bin armor_steel/LICENSE.txt | 26 + armor_steel/depends.txt | 1 + armor_steel/description.txt | 1 + armor_steel/init.lua | 181 +++ armor_steel/locale/armor_steel.de.tr | 9 + armor_steel/locale/armor_steel.es.tr | 9 + armor_steel/locale/armor_steel.fr.tr | 9 + armor_steel/locale/armor_steel.it.tr | 13 + armor_steel/locale/armor_steel.ms.tr | 9 + armor_steel/locale/armor_steel.pt.tr | 9 + armor_steel/locale/armor_steel.pt_BR.tr | 9 + armor_steel/locale/armor_steel.ru.tr | 9 + armor_steel/locale/template.txt | 9 + armor_steel/mod.conf | 3 + .../textures/3d_armor_boots_steel.png | Bin .../textures/3d_armor_boots_steel_preview.png | Bin .../textures/3d_armor_chestplate_steel.png | Bin .../3d_armor_chestplate_steel_preview.png | Bin .../textures/3d_armor_helmet_steel.png | Bin .../3d_armor_helmet_steel_preview.png | Bin .../textures/3d_armor_inv_boots_steel.png | Bin .../3d_armor_inv_chestplate_steel.png | Bin .../textures/3d_armor_inv_helmet_steel.png | Bin .../textures/3d_armor_inv_leggings_steel.png | Bin .../textures/3d_armor_leggings_steel.png | Bin .../3d_armor_leggings_steel_preview.png | Bin armor_wood/LICENSE.txt | 26 + armor_wood/depends.txt | 1 + armor_wood/description.txt | 1 + armor_wood/init.lua | 186 +++ armor_wood/locale/armor_wood.de.tr | 9 + armor_wood/locale/armor_wood.es.tr | 9 + armor_wood/locale/armor_wood.fr.tr | 9 + armor_wood/locale/armor_wood.it.tr | 9 + armor_wood/locale/armor_wood.ms.tr | 9 + armor_wood/locale/armor_wood.pt.tr | 9 + armor_wood/locale/armor_wood.pt_BR.tr | 9 + armor_wood/locale/armor_wood.ru.tr | 9 + armor_wood/locale/template.txt | 9 + armor_wood/mod.conf | 3 + .../textures/3d_armor_boots_wood.png | Bin .../textures/3d_armor_boots_wood_preview.png | Bin .../textures/3d_armor_chestplate_wood.png | Bin .../3d_armor_chestplate_wood_preview.png | Bin .../textures/3d_armor_helmet_wood.png | Bin .../textures/3d_armor_helmet_wood_preview.png | Bin .../textures/3d_armor_inv_boots_wood.png | Bin .../textures/3d_armor_inv_chestplate_wood.png | Bin .../textures/3d_armor_inv_helmet_wood.png | Bin .../textures/3d_armor_inv_leggings_wood.png | Bin .../textures/3d_armor_leggings_wood.png | Bin .../3d_armor_leggings_wood_preview.png | Bin 273 files changed, 2827 insertions(+), 1469 deletions(-) delete mode 100644 3d_armor/armor.lua delete mode 100644 3d_armor/textures/preview_index.txt create mode 100644 armor_admin/LICENSE.txt create mode 100644 armor_admin/depends.txt create mode 100644 armor_admin/description.txt create mode 100644 armor_admin/init.lua create mode 100644 armor_admin/locale/armor_admin.de.tr create mode 100644 armor_admin/locale/armor_admin.es.tr create mode 100644 armor_admin/locale/armor_admin.fr.tr create mode 100644 armor_admin/locale/armor_admin.it.tr create mode 100644 armor_admin/locale/armor_admin.ms.tr create mode 100644 armor_admin/locale/armor_admin.pt.tr create mode 100644 armor_admin/locale/armor_admin.pt_BR.tr create mode 100644 armor_admin/locale/armor_admin.ru.tr create mode 100644 armor_admin/locale/template.txt create mode 100644 armor_admin/mod.conf rename {3d_armor => armor_admin}/textures/3d_armor_boots_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_boots_admin_preview.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_chestplate_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_chestplate_admin_preview.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_helmet_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_helmet_admin_preview.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_inv_boots_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_inv_chestplate_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_inv_helmet_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_inv_leggings_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_leggings_admin.png (100%) rename {3d_armor => armor_admin}/textures/3d_armor_leggings_admin_preview.png (100%) create mode 100644 armor_bronze/LICENSE.txt create mode 100644 armor_bronze/depends.txt create mode 100644 armor_bronze/description.txt create mode 100644 armor_bronze/init.lua create mode 100644 armor_bronze/locale/armor_bronze.de.tr create mode 100644 armor_bronze/locale/armor_bronze.es.tr create mode 100644 armor_bronze/locale/armor_bronze.fr.tr create mode 100644 armor_bronze/locale/armor_bronze.it.tr create mode 100644 armor_bronze/locale/armor_bronze.ms.tr create mode 100644 armor_bronze/locale/armor_bronze.pt.tr create mode 100644 armor_bronze/locale/armor_bronze.pt_BR.tr create mode 100644 armor_bronze/locale/armor_bronze.ru.tr create mode 100644 armor_bronze/locale/template.txt create mode 100644 armor_bronze/mod.conf rename {3d_armor => armor_bronze}/textures/3d_armor_boots_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_boots_bronze_preview.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_chestplate_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_chestplate_bronze_preview.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_helmet_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_helmet_bronze_preview.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_inv_boots_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_inv_chestplate_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_inv_helmet_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_inv_leggings_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_leggings_bronze.png (100%) rename {3d_armor => armor_bronze}/textures/3d_armor_leggings_bronze_preview.png (100%) create mode 100644 armor_cactus/LICENSE.txt create mode 100644 armor_cactus/depends.txt create mode 100644 armor_cactus/description.txt create mode 100644 armor_cactus/init.lua create mode 100644 armor_cactus/locale/armor_cactus.de.tr create mode 100644 armor_cactus/locale/armor_cactus.es.tr create mode 100644 armor_cactus/locale/armor_cactus.fr.tr create mode 100644 armor_cactus/locale/armor_cactus.it.tr create mode 100644 armor_cactus/locale/armor_cactus.ms.tr create mode 100644 armor_cactus/locale/armor_cactus.pt.tr create mode 100644 armor_cactus/locale/armor_cactus.pt_BR.tr create mode 100644 armor_cactus/locale/armor_cactus.ru.tr create mode 100644 armor_cactus/locale/template.txt create mode 100644 armor_cactus/mod.conf rename {3d_armor => armor_cactus}/textures/3d_armor_boots_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_boots_cactus_preview.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_chestplate_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_chestplate_cactus_preview.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_helmet_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_helmet_cactus_preview.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_inv_boots_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_inv_chestplate_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_inv_helmet_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_inv_leggings_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_leggings_cactus.png (100%) rename {3d_armor => armor_cactus}/textures/3d_armor_leggings_cactus_preview.png (100%) create mode 100644 armor_crystal/LICENSE.txt create mode 100644 armor_crystal/depends.txt create mode 100644 armor_crystal/description.txt create mode 100644 armor_crystal/init.lua create mode 100644 armor_crystal/locale/armor_crystal.de.tr create mode 100644 armor_crystal/locale/armor_crystal.es.tr create mode 100644 armor_crystal/locale/armor_crystal.fr.tr create mode 100644 armor_crystal/locale/armor_crystal.it.tr create mode 100644 armor_crystal/locale/armor_crystal.ms.tr create mode 100644 armor_crystal/locale/armor_crystal.pt.tr create mode 100644 armor_crystal/locale/armor_crystal.pt_BR.tr create mode 100644 armor_crystal/locale/armor_crystal.ru.tr create mode 100644 armor_crystal/locale/template.txt create mode 100644 armor_crystal/mod.conf rename {3d_armor => armor_crystal}/textures/3d_armor_boots_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_boots_crystal_preview.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_chestplate_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_chestplate_crystal_preview.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_helmet_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_helmet_crystal_preview.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_inv_boots_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_inv_chestplate_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_inv_helmet_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_inv_leggings_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_leggings_crystal.png (100%) rename {3d_armor => armor_crystal}/textures/3d_armor_leggings_crystal_preview.png (100%) create mode 100644 armor_diamond/LICENSE.txt create mode 100644 armor_diamond/depends.txt create mode 100644 armor_diamond/description.txt create mode 100644 armor_diamond/init.lua create mode 100644 armor_diamond/locale/armor_diamond.de.tr create mode 100644 armor_diamond/locale/armor_diamond.es.tr create mode 100644 armor_diamond/locale/armor_diamond.fr.tr create mode 100644 armor_diamond/locale/armor_diamond.it.tr create mode 100644 armor_diamond/locale/armor_diamond.ms.tr create mode 100644 armor_diamond/locale/armor_diamond.pt.tr create mode 100644 armor_diamond/locale/armor_diamond.pt_BR.tr create mode 100644 armor_diamond/locale/armor_diamond.ru.tr create mode 100644 armor_diamond/locale/template.txt create mode 100644 armor_diamond/mod.conf rename {3d_armor => armor_diamond}/textures/3d_armor_boots_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_boots_diamond_preview.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_chestplate_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_chestplate_diamond_preview.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_helmet_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_helmet_diamond_preview.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_inv_boots_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_inv_chestplate_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_inv_helmet_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_inv_leggings_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_leggings_diamond.png (100%) rename {3d_armor => armor_diamond}/textures/3d_armor_leggings_diamond_preview.png (100%) create mode 100644 armor_gold/LICENSE.txt create mode 100644 armor_gold/depends.txt create mode 100644 armor_gold/description.txt create mode 100644 armor_gold/init.lua create mode 100644 armor_gold/locale/armor_gold.de.tr create mode 100644 armor_gold/locale/armor_gold.es.tr create mode 100644 armor_gold/locale/armor_gold.fr.tr create mode 100644 armor_gold/locale/armor_gold.it.tr create mode 100644 armor_gold/locale/armor_gold.ms.tr create mode 100644 armor_gold/locale/armor_gold.pt.tr create mode 100644 armor_gold/locale/armor_gold.pt_BR.tr create mode 100644 armor_gold/locale/armor_gold.ru.tr create mode 100644 armor_gold/locale/template.txt create mode 100644 armor_gold/mod.conf rename {3d_armor => armor_gold}/textures/3d_armor_boots_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_boots_gold_preview.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_chestplate_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_chestplate_gold_preview.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_helmet_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_helmet_gold_preview.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_inv_boots_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_inv_chestplate_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_inv_helmet_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_inv_leggings_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_leggings_gold.png (100%) rename {3d_armor => armor_gold}/textures/3d_armor_leggings_gold_preview.png (100%) create mode 100644 armor_mithril/LICENSE.txt create mode 100644 armor_mithril/depends.txt create mode 100644 armor_mithril/description.txt create mode 100644 armor_mithril/init.lua create mode 100644 armor_mithril/locale/armor_mithril.de.tr create mode 100644 armor_mithril/locale/armor_mithril.es.tr create mode 100644 armor_mithril/locale/armor_mithril.fr.tr create mode 100644 armor_mithril/locale/armor_mithril.it.tr create mode 100644 armor_mithril/locale/armor_mithril.ms.tr create mode 100644 armor_mithril/locale/armor_mithril.pt.tr create mode 100644 armor_mithril/locale/armor_mithril.pt_BR.tr create mode 100644 armor_mithril/locale/armor_mithril.ru.tr create mode 100644 armor_mithril/locale/template.txt create mode 100644 armor_mithril/mod.conf rename {3d_armor => armor_mithril}/textures/3d_armor_boots_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_boots_mithril_preview.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_chestplate_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_chestplate_mithril_preview.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_helmet_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_helmet_mithril_preview.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_inv_boots_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_inv_chestplate_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_inv_helmet_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_inv_leggings_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_leggings_mithril.png (100%) rename {3d_armor => armor_mithril}/textures/3d_armor_leggings_mithril_preview.png (100%) create mode 100644 armor_nether/LICENSE.txt create mode 100644 armor_nether/depends.txt create mode 100644 armor_nether/description.txt create mode 100644 armor_nether/init.lua create mode 100644 armor_nether/locale/armor_nether.de.tr create mode 100644 armor_nether/locale/armor_nether.es.tr create mode 100644 armor_nether/locale/armor_nether.fr.tr create mode 100644 armor_nether/locale/armor_nether.it.tr create mode 100644 armor_nether/locale/armor_nether.ms.tr create mode 100644 armor_nether/locale/armor_nether.pt.tr create mode 100644 armor_nether/locale/armor_nether.pt_BR.tr create mode 100644 armor_nether/locale/armor_nether.ru.tr create mode 100644 armor_nether/locale/template.txt create mode 100644 armor_nether/mod.conf rename {3d_armor => armor_nether}/textures/3d_armor_boots_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_boots_nether_preview.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_chestplate_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_chestplate_nether_preview.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_helmet_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_helmet_nether_preview.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_inv_boots_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_inv_chestplate_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_inv_helmet_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_inv_leggings_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_leggings_nether.png (100%) rename {3d_armor => armor_nether}/textures/3d_armor_leggings_nether_preview.png (100%) create mode 100644 armor_steel/LICENSE.txt create mode 100644 armor_steel/depends.txt create mode 100644 armor_steel/description.txt create mode 100644 armor_steel/init.lua create mode 100644 armor_steel/locale/armor_steel.de.tr create mode 100644 armor_steel/locale/armor_steel.es.tr create mode 100644 armor_steel/locale/armor_steel.fr.tr create mode 100644 armor_steel/locale/armor_steel.it.tr create mode 100644 armor_steel/locale/armor_steel.ms.tr create mode 100644 armor_steel/locale/armor_steel.pt.tr create mode 100644 armor_steel/locale/armor_steel.pt_BR.tr create mode 100644 armor_steel/locale/armor_steel.ru.tr create mode 100644 armor_steel/locale/template.txt create mode 100644 armor_steel/mod.conf rename {3d_armor => armor_steel}/textures/3d_armor_boots_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_boots_steel_preview.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_chestplate_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_chestplate_steel_preview.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_helmet_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_helmet_steel_preview.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_inv_boots_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_inv_chestplate_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_inv_helmet_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_inv_leggings_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_leggings_steel.png (100%) rename {3d_armor => armor_steel}/textures/3d_armor_leggings_steel_preview.png (100%) create mode 100644 armor_wood/LICENSE.txt create mode 100644 armor_wood/depends.txt create mode 100644 armor_wood/description.txt create mode 100644 armor_wood/init.lua create mode 100644 armor_wood/locale/armor_wood.de.tr create mode 100644 armor_wood/locale/armor_wood.es.tr create mode 100644 armor_wood/locale/armor_wood.fr.tr create mode 100644 armor_wood/locale/armor_wood.it.tr create mode 100644 armor_wood/locale/armor_wood.ms.tr create mode 100644 armor_wood/locale/armor_wood.pt.tr create mode 100644 armor_wood/locale/armor_wood.pt_BR.tr create mode 100644 armor_wood/locale/armor_wood.ru.tr create mode 100644 armor_wood/locale/template.txt create mode 100644 armor_wood/mod.conf rename {3d_armor => armor_wood}/textures/3d_armor_boots_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_boots_wood_preview.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_chestplate_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_chestplate_wood_preview.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_helmet_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_helmet_wood_preview.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_inv_boots_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_inv_chestplate_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_inv_helmet_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_inv_leggings_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_leggings_wood.png (100%) rename {3d_armor => armor_wood}/textures/3d_armor_leggings_wood_preview.png (100%) diff --git a/3d_armor/armor.lua b/3d_armor/armor.lua deleted file mode 100644 index 1832d52..0000000 --- a/3d_armor/armor.lua +++ /dev/null @@ -1,1027 +0,0 @@ - ---- Registered armors. --- --- @topic armor - - --- support for i18n -local S = armor.get_translator - - ---- Admin Helmet --- --- @helmet 3d_armor:helmet_admin --- @img 3d_armor_inv_helmet_admin.png --- @grp armor_head 1 --- @grp armor_heal 100 --- @grp armor_use 0 --- @grp armor_water 1 --- @grp not_in_creative_inventory 1 --- @armorgrp fleshy 100 -armor:register_armor("3d_armor:helmet_admin", { - description = S("Admin Helmet"), - inventory_image = "3d_armor_inv_helmet_admin.png", - armor_groups = {fleshy=100}, - groups = {armor_head=1, armor_heal=100, armor_use=0, armor_water=1, - not_in_creative_inventory=1}, - on_drop = function(itemstack, dropper, pos) - return - end, -}) - ---- Admin Chestplate --- --- @chestplate 3d_armor:chestplate_admin --- @img 3d_armor_inv_chestplate_admin.png --- @grp armor_torso 1 --- @grp armor_heal 100 --- @grp armor_use 0 --- @grp not_in_creative_inventory 1 --- @armorgrp fleshy 100 -armor:register_armor("3d_armor:chestplate_admin", { - description = S("Admin Chestplate"), - inventory_image = "3d_armor_inv_chestplate_admin.png", - armor_groups = {fleshy=100}, - groups = {armor_torso=1, armor_heal=100, armor_use=0, - not_in_creative_inventory=1}, - on_drop = function(itemstack, dropper, pos) - return - end, -}) - ---- Admin Leggings --- --- @leggings 3d_armor:leggings_admin --- @img 3d_armor_inv_leggings_admin.png --- @grp armor_legs 1 --- @grp armor_heal 100 --- @grp armor_use 0 --- @grp not_in_creative_inventory 1 --- @armorgrp fleshy 100 -armor:register_armor("3d_armor:leggings_admin", { - description = S("Admin Leggings"), - inventory_image = "3d_armor_inv_leggings_admin.png", - armor_groups = {fleshy=100}, - groups = {armor_legs=1, armor_heal=100, armor_use=0, - not_in_creative_inventory=1}, - on_drop = function(itemstack, dropper, pos) - return - end, -}) - ---- Admin Boots --- --- @boots 3d_armor:boots_admin --- @img 3d_armor_inv_boots_admin.png --- @grp armor_feet 1 --- @grp armor_heal 100 --- @grp armor_use 0 --- @grp not_in_creative_inventory 1 --- @armorgrp fleshy 100 -armor:register_armor("3d_armor:boots_admin", { - description = S("Admin Boots"), - inventory_image = "3d_armor_inv_boots_admin.png", - armor_groups = {fleshy=100}, - groups = {armor_feet=1, armor_heal=100, armor_use=0, - not_in_creative_inventory=1}, - on_drop = function(itemstack, dropper, pos) - return - end, -}) - -minetest.register_alias("adminboots", "3d_armor:boots_admin") -minetest.register_alias("adminhelmet", "3d_armor:helmet_admin") -minetest.register_alias("adminchestplate", "3d_armor:chestplate_admin") -minetest.register_alias("adminleggings", "3d_armor:leggings_admin") - - ---- Wood --- --- Requires setting `armor_material_wood`. --- --- @section wood - -if armor.materials.wood then - --- Wood Helmet - -- - -- @helmet 3d_armor:helmet_wood - -- @img 3d_armor_inv_helmet_wood.png - -- @grp armor_head 1 - -- @grp armor_heal 0 - -- @grp armor_use 2000 - -- @grp flammable 1 - -- @armorgrp fleshy 5 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 3 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:helmet_wood", { - description = S("Wood Helmet"), - inventory_image = "3d_armor_inv_helmet_wood.png", - groups = {armor_head=1, armor_heal=0, armor_use=2000, flammable=1}, - armor_groups = {fleshy=5}, - damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, - }) - --- Wood Chestplate - -- - -- @chestplate 3d_armor:chestplate_wood - -- @img 3d_armor_inv_chestplate_wood.png - -- @grp armor_torso 1 - -- @grp armor_heal 0 - -- @grp armor_use 2000 - -- @grp flammable 1 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 3 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:chestplate_wood", { - description = S("Wood Chestplate"), - inventory_image = "3d_armor_inv_chestplate_wood.png", - groups = {armor_torso=1, armor_heal=0, armor_use=2000, flammable=1}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, - }) - --- Wood Leggings - -- - -- @leggings 3d_armor:leggings_wood - -- @img 3d_armor_inv_leggings_wood.png - -- @grp armor_legs 1 - -- @grp armor_heal 0 - -- @grp armor_use 1000 - -- @grp flammable 1 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 3 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:leggings_wood", { - description = S("Wood Leggings"), - inventory_image = "3d_armor_inv_leggings_wood.png", - groups = {armor_legs=1, armor_heal=0, armor_use=2000, flammable=1}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, - }) - --- Wood Boots - -- - -- @boots 3d_armor:boots_wood - -- @img 3d_armor_inv_boots_wood.png - -- @grp armor_feet 1 - -- @grp armor_heal 0 - -- @grp armor_use 2000 - -- @grp flammable 1 - -- @armorgrp fleshy 5 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 3 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:boots_wood", { - description = S("Wood Boots"), - inventory_image = "3d_armor_inv_boots_wood.png", - armor_groups = {fleshy=5}, - damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, - groups = {armor_feet=1, armor_heal=0, armor_use=2000, flammable=1}, - }) - local wood_armor_fuel = { - helmet = 6, - chestplate = 8, - leggings = 7, - boots = 5 - } - for armor, burn in pairs(wood_armor_fuel) do - minetest.register_craft({ - type = "fuel", - recipe = "3d_armor:" .. armor .. "_wood", - burntime = burn, - }) - end -end - - ---- Cactus --- --- Requires setting `armor_material_cactus`. --- --- @section cactus - -if armor.materials.cactus then - --- Cactus Helmet - -- - -- @helmet 3d_armor:helmet_cactus - -- @img 3d_armor_inv_helmet_cactus.png - -- @grp armor_head 1 - -- @grp armor_heal 0 - -- @grp armor_use 1000 - -- @armorgrp fleshy 5 - -- @damagegrp cracky 3 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:helmet_cactus", { - description = S("Cactus Helmet"), - inventory_image = "3d_armor_inv_helmet_cactus.png", - groups = {armor_head=1, armor_heal=0, armor_use=1000}, - armor_groups = {fleshy=5}, - damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, - }) - --- Cactus Chestplate - -- - -- @chestplate 3d_armor:chestplate_cactus - -- @img 3d_armor_inv_chestplate_cactus.png - -- @grp armor_torso 1 - -- @grp armor_heal 0 - -- @grp armor_use 1000 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:chestplate_cactus", { - description = S("Cactus Chestplate"), - inventory_image = "3d_armor_inv_chestplate_cactus.png", - groups = {armor_torso=1, armor_heal=0, armor_use=1000}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, - }) - --- Cactus Leggings - -- - -- @leggings 3d_armor:leggings_cactus - -- @img 3d_armor_inv_leggings_cactus.png - -- @grp armor_legs 1 - -- @grp armor_heal 0 - -- @grp armor_use 1000 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:leggings_cactus", { - description = S("Cactus Leggings"), - inventory_image = "3d_armor_inv_leggings_cactus.png", - groups = {armor_legs=1, armor_heal=0, armor_use=1000}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, - }) - --- Cactus Boots - -- - -- @boots 3d_armor:boots_cactus - -- @img 3d_armor_inv_boots_cactus.png - -- @grp armor_feet 1 - -- @grp armor_heal 0 - -- @grp armor_use 1000 - -- @armorgrp fleshy 5 - -- @damagegrp cracky 3 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 2 - -- @damagegrp level 1 - armor:register_armor("3d_armor:boots_cactus", { - description = S("Cactus Boots"), - inventory_image = "3d_armor_inv_boots_cactus.png", - groups = {armor_feet=1, armor_heal=0, armor_use=1000}, - armor_groups = {fleshy=5}, - damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, - }) - local cactus_armor_fuel = { - helmet = 14, - chestplate = 16, - leggings = 15, - boots = 13 - } - for armor, burn in pairs(cactus_armor_fuel) do - minetest.register_craft({ - type = "fuel", - recipe = "3d_armor:" .. armor .. "_cactus", - burntime = burn, - }) - end -end - - ---- Steel --- --- Requires setting `armor_material_steel`. --- --- @section steel - -if armor.materials.steel then - --- Steel Helmet - -- - -- @helmet 3d_armor:helmet_steel - -- @img 3d_armor_inv_helmet_steel.png - -- @grp armor_head 1 - -- @grp armor_heal 0 - -- @grp armor_use 800 - -- @grp physics_speed -0.01 - -- @grp physica_gravity 0.01 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 2 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:helmet_steel", { - description = S("Steel Helmet"), - inventory_image = "3d_armor_inv_helmet_steel.png", - groups = {armor_head=1, armor_heal=0, armor_use=800, - physics_speed=-0.01, physics_gravity=0.01}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, - }) - --- Steel Chestplate - -- - -- @chestplate 3d_armor:chestplate_steel - -- @img 3d_armor_inv_chestplate_steel.png - -- @grp armor_torso 1 - -- @grp armor_heal 0 - -- @grp armor_use 800 - -- @grp physics_speed - -- @grp physics_gravity - -- @armorgrp fleshy - -- @damagegrp cracky 2 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:chestplate_steel", { - description = S("Steel Chestplate"), - inventory_image = "3d_armor_inv_chestplate_steel.png", - groups = {armor_torso=1, armor_heal=0, armor_use=800, - physics_speed=-0.04, physics_gravity=0.04}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, - }) - --- Steel Leggings - -- - -- @leggings 3d_armor:leggings_steel - -- @img 3d_armor_inv_leggings_steel.png - -- @grp armor_legs 1 - -- @grp armor_heal 0 - -- @grp armor_use 800 - -- @grp physics_speed -0.03 - -- @grp physics_gravity 0.03 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:leggings_steel", { - description = S("Steel Leggings"), - inventory_image = "3d_armor_inv_leggings_steel.png", - groups = {armor_legs=1, armor_heal=0, armor_use=800, - physics_speed=-0.03, physics_gravity=0.03}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, - }) - --- Steel Boots - -- - -- @boots 3d_armor:boots_steel - -- @img 3d_armor_inv_boots_steel.png - -- @grp armor_feet 1 - -- @grp armor_heal 0 - -- @grp armor_use 800 - -- @grp physics_speed -0.01 - -- @grp physics_gravity 0.01 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 2 - -- @damagegrp snappy 3 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:boots_steel", { - description = S("Steel Boots"), - inventory_image = "3d_armor_inv_boots_steel.png", - groups = {armor_feet=1, armor_heal=0, armor_use=800, - physics_speed=-0.01, physics_gravity=0.01}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, - }) -end - - ---- Bronze --- --- Requires setting `armor_material_bronze`. --- --- @section bronze - -if armor.materials.bronze then - --- Bronze Helmet - -- - -- @helmet 3d_armor:helmet_bronze - -- @img 3d_armor_inv_helmet_bronze.png - -- @grp armor_head 1 - -- @grp armor_heal 6 - -- @grp armor_use 400 - -- @grp physics_speed -0.01 - -- @grp physics_gravity 0.01 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:helmet_bronze", { - description = S("Bronze Helmet"), - inventory_image = "3d_armor_inv_helmet_bronze.png", - groups = {armor_head=1, armor_heal=6, armor_use=400, - physics_speed=-0.01, physics_gravity=0.01}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, - }) - --- Bronze Chestplate - -- - -- @chestplate 3d_armor:chestplate_bronze - -- @img 3d_armor_inv_chestplate_bronze.png - -- @grp armor_torso 1 - -- @grp armor_heal 6 - -- @grp armor_use 400 - -- @grp physics_speed -0.04 - -- @grp physics_gravity 0.04 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:chestplate_bronze", { - description = S("Bronze Chestplate"), - inventory_image = "3d_armor_inv_chestplate_bronze.png", - groups = {armor_torso=1, armor_heal=6, armor_use=400, - physics_speed=-0.04, physics_gravity=0.04}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, - }) - --- Bronze Leggings - -- - -- @leggings 3d_armor:leggings_bronze - -- @img 3d_armor_inv_leggings_bronze.png - -- @grp armor_legs 1 - -- @grp armor_heal 6 - -- @grp armor_use 400 - -- @grp physics_speed -0.03 - -- @grp physics_gravity 0.03 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:leggings_bronze", { - description = S("Bronze Leggings"), - inventory_image = "3d_armor_inv_leggings_bronze.png", - groups = {armor_legs=1, armor_heal=6, armor_use=400, - physics_speed=-0.03, physics_gravity=0.03}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, - }) - --- Bronze Boots - -- - -- @boots 3d_armor:boots_bronze - -- @img 3d_armor_inv_boots_bronze.png - -- @grp armor_feet 1 - -- @grp armor_heal 6 - -- @grp armor_use 400 - -- @grp physics_speed -0.01 - -- @grp physics_gravity 0.01 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 1 - -- @damagegrp level 2 - armor:register_armor("3d_armor:boots_bronze", { - description = S("Bronze Boots"), - inventory_image = "3d_armor_inv_boots_bronze.png", - groups = {armor_feet=1, armor_heal=6, armor_use=400, - physics_speed=-0.01, physics_gravity=0.01}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, - }) -end - - ---- Diamond --- --- Requires setting `armor_material_diamond`. --- --- @section diamond - -if armor.materials.diamond then - --- Diamond Helmet - -- - -- @helmet 3d_armor:helmet_diamond - -- @img 3d_armor_inv_helmet_diamond.png - -- @grp armor_head 1 - -- @grp armor_heal 12 - -- @grp armor_use 200 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp choppy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:helmet_diamond", { - description = S("Diamond Helmet"), - inventory_image = "3d_armor_inv_helmet_diamond.png", - groups = {armor_head=1, armor_heal=12, armor_use=200}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, - }) - --- Diamond Chestplate - -- - -- @chestplate 3d_armor:chestplate_diamond - -- @img 3d_armor_inv_chestplate_diamond.png - -- @grp armor_torso 1 - -- @grp armor_heal 12 - -- @grp armor_use 200 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp choppy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:chestplate_diamond", { - description = S("Diamond Chestplate"), - inventory_image = "3d_armor_inv_chestplate_diamond.png", - groups = {armor_torso=1, armor_heal=12, armor_use=200}, - armor_groups = {fleshy=20}, - damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, - }) - --- Diamond Leggings - -- - -- @leggings 3d_armor:leggings_diamond - -- @img 3d_armor_inv_leggings_diamond.png - -- @grp armor_legs 1 - -- @grp armor_heal 12 - -- @grp armor_use 200 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp choppy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:leggings_diamond", { - description = S("Diamond Leggings"), - inventory_image = "3d_armor_inv_leggings_diamond.png", - groups = {armor_legs=1, armor_heal=12, armor_use=200}, - armor_groups = {fleshy=20}, - damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, - }) - --- Diamond Boots - -- - -- @boots 3d_armor:boots_diamond - -- @img 3d_armor_inv_boots_diamond.png - -- @grp armor_feet 1 - -- @grp armor_heal 12 - -- @grp armor_use 200 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp choppy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:boots_diamond", { - description = S("Diamond Boots"), - inventory_image = "3d_armor_inv_boots_diamond.png", - groups = {armor_feet=1, armor_heal=12, armor_use=200}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, - }) -end - - ---- Gold --- --- Requires `armor_material_gold`. --- --- @section gold - -if armor.materials.gold then - --- Gold Helmet - -- - -- @helmet 3d_armor:helmet_gold - -- @img 3d_armor_inv_helmet_gold.png - -- @grp armor_head 1 - -- @grp armor_heal 6 - -- @grp armor_use 300 - -- @grp physics_speed -0.02 - -- @grp physics_gravity 0.02 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 1 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 3 - -- @damagegrp level 2 - armor:register_armor("3d_armor:helmet_gold", { - description = S("Gold Helmet"), - inventory_image = "3d_armor_inv_helmet_gold.png", - groups = {armor_head=1, armor_heal=6, armor_use=300, - physics_speed=-0.02, physics_gravity=0.02}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, - }) - --- Gold Chestplate - -- - -- @chestplate 3d_armor:chestplate_gold - -- @img 3d_armor_inv_chestplate_gold.png - -- @grp armor_torso 1 - -- @grp armor_heal 6 - -- @grp armor_use 300 - -- @grp physics_speed -0.05 - -- @grp physics_gravity 0.05 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 1 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 3 - -- @damagegrp level 2 - armor:register_armor("3d_armor:chestplate_gold", { - description = S("Gold Chestplate"), - inventory_image = "3d_armor_inv_chestplate_gold.png", - groups = {armor_torso=1, armor_heal=6, armor_use=300, - physics_speed=-0.05, physics_gravity=0.05}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, - }) - --- Gold Leggings - -- - -- @leggings 3d_armor:leggings_gold - -- @img 3d_armor_inv_leggings_gold.png - -- @grp armor_legs 1 - -- @grp armor_heal 6 - -- @grp armor_use 300 - -- @grp physics_speed -0.04 - -- @grp physics_gravity 0.04 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 1 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 3 - -- @damagegrp level 2 - armor:register_armor("3d_armor:leggings_gold", { - description = S("Gold Leggings"), - inventory_image = "3d_armor_inv_leggings_gold.png", - groups = {armor_legs=1, armor_heal=6, armor_use=300, - physics_speed=-0.04, physics_gravity=0.04}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, - }) - --- Gold Boots - -- - -- @boots 3d_armor:boots_gold - -- @img 3d_armor_inv_boots_gold.png - -- @grp armor_feet 1 - -- @grp armor_heal 6 - -- @grp armor_use 300 - -- @grp physics_speed -0.02 - -- @grp physics_gravity 0.02 - -- @armorgrp fleshy 10 - -- @damagegrp cracky 1 - -- @damagegrp snappy 2 - -- @damagegrp choppy 2 - -- @damagegrp crumbly 3 - -- @damagegrp level 2 - armor:register_armor("3d_armor:boots_gold", { - description = S("Gold Boots"), - inventory_image = "3d_armor_inv_boots_gold.png", - groups = {armor_feet=1, armor_heal=6, armor_use=300, - physics_speed=-0.02, physics_gravity=0.02}, - armor_groups = {fleshy=10}, - damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, - }) -end - - ---- Mithril --- --- Requires `armor_material_mithril`. --- --- @section mithril - -if armor.materials.mithril then - --- Mithril Helmet - -- - -- @helmet 3d_armor:helmet_mithril - -- @img 3d_armor_inv_helmet_mithril.png - -- @grp armor_head 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:helmet_mithril", { - description = S("Mithril Helmet"), - inventory_image = "3d_armor_inv_helmet_mithril.png", - groups = {armor_head=1, armor_heal=13, armor_use=66}, - armor_groups = {fleshy=16}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Mithril Chestplate - -- - -- @chestplate 3d_armor:chestplate_mithril - -- @img 3d_armor_inv_chestplate_mithril.png - -- @grp armor_torso 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:chestplate_mithril", { - description = S("Mithril Chestplate"), - inventory_image = "3d_armor_inv_chestplate_mithril.png", - groups = {armor_torso=1, armor_heal=13, armor_use=66}, - armor_groups = {fleshy=21}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Mithril Leggings - -- - -- @leggings 3d_armor:leggings_mithril - -- @img 3d_armor_inv_leggings_mithril.png - -- @grp armor_legs 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:leggings_mithril", { - description = S("Mithril Leggings"), - inventory_image = "3d_armor_inv_leggings_mithril.png", - groups = {armor_legs=1, armor_heal=13, armor_use=66}, - armor_groups = {fleshy=21}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Mithril Boots - -- - -- @boots 3d_armor:boots_mithril - -- @img 3d_armor_inv_boots_mithril.png - -- @grp armor_feet 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:boots_mithril", { - description = S("Mithril Boots"), - inventory_image = "3d_armor_inv_boots_mithril.png", - groups = {armor_feet=1, armor_heal=13, armor_use=66}, - armor_groups = {fleshy=16}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) -end - - ---- Crystal --- --- Requires `armor_material_crystal`. --- --- @section crystal - -if armor.materials.crystal then - --- Crystal Helmet - -- - -- @helmet 3d_armor:helmet_crystal - -- @img 3d_armor_inv_helmet_crystal.png - -- @grp armor_head 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @grp armor_fire 1 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:helmet_crystal", { - description = S("Crystal Helmet"), - inventory_image = "3d_armor_inv_helmet_crystal.png", - groups = {armor_head=1, armor_heal=12, armor_use=100, armor_fire=1}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Crystal Chestplate - -- - -- @chestplate 3d_armor:chestplate_crystal - -- @img 3d_armor_inv_chestplate_crystal.png - -- @grp armor_torso 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @grp armor_fire 1 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:chestplate_crystal", { - description = S("Crystal Chestplate"), - inventory_image = "3d_armor_inv_chestplate_crystal.png", - groups = {armor_torso=1, armor_heal=12, armor_use=100, armor_fire=1}, - armor_groups = {fleshy=20}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Crystal Leggings - -- - -- @leggings 3d_armor:leggings_crystal - -- @img 3d_armor_inv_leggings_crystal.png - -- @grp armor_legs 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @grp armor_fire 1 - -- @armorgrp fleshy 20 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:leggings_crystal", { - description = S("Crystal Leggings"), - inventory_image = "3d_armor_inv_leggings_crystal.png", - groups = {armor_legs=1, armor_heal=12, armor_use=100, armor_fire=1}, - armor_groups = {fleshy=20}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) - --- Crystal Boots - -- - -- @boots 3d_armor:boots_crystal - -- @img 3d_armor_inv_boots_crystal.png - -- @grp armor_feet 1 - -- @grp armor_heal 12 - -- @grp armor_use 100 - -- @grp physics_speed 1 - -- @grp physics_jump 0.5 - -- @grp armor_fire 1 - -- @armorgrp fleshy 15 - -- @damagegrp cracky 2 - -- @damagegrp snappy 1 - -- @damagegrp level 3 - armor:register_armor("3d_armor:boots_crystal", { - description = S("Crystal Boots"), - inventory_image = "3d_armor_inv_boots_crystal.png", - groups = {armor_feet=1, armor_heal=12, armor_use=100, physics_speed=1, - physics_jump=0.5, armor_fire=1}, - armor_groups = {fleshy=15}, - damage_groups = {cracky=2, snappy=1, level=3}, - }) -end - - ---- Nether --- --- Requires `armor_material_nether`. --- --- @section nether - -if armor.materials.nether then - --- Nether Helmet - -- - -- @helmet 3d_armor:helmet_nether - -- @img 3d_armor_inv_helmet_nether.png - -- @grp armor_head 1 - -- @grp armor_heal 14 - -- @grp armor_use 200 - -- @grp armor_fire 1 - -- @armorgrp fleshy 18 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp level 3 - armor:register_armor("3d_armor:helmet_nether", { - description = S("Nether Helmet"), - inventory_image = "3d_armor_inv_helmet_nether.png", - groups = {armor_head=1, armor_heal=14, armor_use=100, armor_fire=1}, - armor_groups = {fleshy=18}, - damage_groups = {cracky=3, snappy=2, level=3}, - }) - --- Nether Chestplate - -- - -- @chestplate 3d_armor:chestplate_nether - -- @img 3d_armor_inv_chestplate_nether.png - -- @grp armor_torso 1 - -- @grp armor_heal 14 - -- @grp armor_use 200 - -- @grp armor_fire 1 - -- @armorgrp fleshy 25 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp level 3 - armor:register_armor("3d_armor:chestplate_nether", { - description = S("Nether Chestplate"), - inventory_image = "3d_armor_inv_chestplate_nether.png", - groups = {armor_torso=1, armor_heal=14, armor_use=200, armor_fire=1}, - armor_groups = {fleshy=25}, - damage_groups = {cracky=3, snappy=2, level=3}, - }) - --- Nether Leggings - -- - -- @leggings 3d_armor:leggings_nether - -- @img 3d_armor_inv_leggings_nether.png - -- @grp armor_legs 1 - -- @grp armor_heal 14 - -- @grp armor_use 200 - -- @grp armor_fire 1 - -- @armorgrp fleshy 25 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp level 3 - armor:register_armor("3d_armor:leggings_nether", { - description = S("Nether Leggings"), - inventory_image = "3d_armor_inv_leggings_nether.png", - groups = {armor_legs=1, armor_heal=14, armor_use=200, armor_fire=1}, - armor_groups = {fleshy=25}, - damage_groups = {cracky=3, snappy=2, level=3}, - }) - --- Nether Boots - -- - -- @boots 3d_armor:boots_nether - -- @img 3d_armor_inv_boots_nether.png - -- @grp armor_feet 1 - -- @grp armor_heal 14 - -- @grp armor_use 200 - -- @grp armor_fire 1 - -- @armorgrp fleshy 18 - -- @damagegrp cracky 3 - -- @damagegrp snappy 2 - -- @damagegrp level 3 - armor:register_armor("3d_armor:boots_nether", { - description = S("Nether Boots"), - inventory_image = "3d_armor_inv_boots_nether.png", - groups = {armor_feet=1, armor_heal=14, armor_use=200, armor_fire=1}, - armor_groups = {fleshy=18}, - damage_groups = {cracky=3, snappy=2, level=3}, - }) -end - - ---- Crafting --- --- @section craft - ---- Craft recipes for helmets, chestplates, leggings, boots, & shields. --- --- @craft armor --- @usage --- Key: --- - m: material --- - wood: group:wood --- - cactus: default:cactus --- - steel: default:steel_ingot --- - bronze: default:bronze_ingot --- - diamond: default:diamond --- - gold: default:gold_ingot --- - mithril: moreores:mithril_ingot --- - crystal: ethereal:crystal_ingot --- - nether: nether:nether_ingot --- --- helmet: chestplate: leggings: --- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ --- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ --- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ --- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ --- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ --- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ --- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ --- --- boots: shield: --- ┌───┬───┬───┐ ┌───┬───┬───┐ --- │ │ │ │ │ m │ m │ m │ --- ├───┼───┼───┤ ├───┼───┼───┤ --- │ m │ │ m │ │ m │ m │ m │ --- ├───┼───┼───┤ ├───┼───┼───┤ --- │ m │ │ m │ │ │ m │ │ --- └───┴───┴───┘ └───┴───┴───┘ - -for k, v in pairs(armor.materials) do - minetest.register_craft({ - output = "3d_armor:helmet_"..k, - recipe = { - {v, v, v}, - {v, "", v}, - {"", "", ""}, - }, - }) - minetest.register_craft({ - output = "3d_armor:chestplate_"..k, - recipe = { - {v, "", v}, - {v, v, v}, - {v, v, v}, - }, - }) - minetest.register_craft({ - output = "3d_armor:leggings_"..k, - recipe = { - {v, v, v}, - {v, "", v}, - {v, "", v}, - }, - }) - minetest.register_craft({ - output = "3d_armor:boots_"..k, - recipe = { - {v, "", v}, - {v, "", v}, - }, - }) -end diff --git a/3d_armor/depends.txt b/3d_armor/depends.txt index ef233db..1000772 100644 --- a/3d_armor/depends.txt +++ b/3d_armor/depends.txt @@ -7,3 +7,4 @@ ethereal? bakedclay? moreores? nether? +3d_armor_steel? \ No newline at end of file diff --git a/3d_armor/init.lua b/3d_armor/init.lua index 5d7da24..eba28cd 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -99,17 +99,7 @@ for _, mod in pairs(skin_mods) do armor.set_skin_mod(mod) end end -if not minetest.get_modpath("moreores") then - armor.materials.mithril = nil -end -if not minetest.get_modpath("ethereal") then - armor.materials.crystal = nil -end -if not minetest.get_modpath("nether") then - armor.materials.nether = nil -end -dofile(modpath.."/armor.lua") -- Armor Initialization diff --git a/3d_armor/locale/3d_armor.de.tr b/3d_armor/locale/3d_armor.de.tr index 8238919..a7eec48 100644 --- a/3d_armor/locale/3d_armor.de.tr +++ b/3d_armor/locale/3d_armor.de.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor : Spielername ist nicht gesetzt: @1 3d_armor: Player reference is nil @1=3d_armor : Spielerreferenz ist nicht gesetzt: @1 -### armor.lua ### - -Admin Boots=Adminstiefel -Admin Chestplate=Adminbrustplatte -Admin Helmet=Adminhelm -Admin Leggings=Adminhose -Bronze Boots=Bronzestiefel -Bronze Chestplate=Bronzebrustplatte -Bronze Helmet=Bronzehelm -Bronze Leggings=Bronzehose -Cactus Boots=Kaktusstiefel -Cactus Chestplate=Kaktusbrustplatte -Cactus Helmet=Kaktushelm -Cactus Leggings=Kaktushose -Crystal Boots=Kristallstiefel -Crystal Chestplate=Kristallbrustplatte -Crystal Helmet=Kristallhelm -Crystal Leggings=Kristallhose -Nether Boots=Netherstiefel -Nether Chestplate=Netherbrustplatte -Nether Helmet=Netherhelm -Nether Leggings=Netherhose -Diamond Boots=Diamantstiefel -Diamond Chestplate=Diamantbrustplatte -Diamond Helmet=Diamanthelm -Diamond Leggings=Diamanthose -Gold Boots=Goldstiefel -Gold Chestplate=Goldbrustplatte -Gold Helmet=Goldhelm -Gold Leggings=Goldhose -Mithril Boots=Mithrilstiefel -Mithril Chestplate=Mithrilbrustplatte -Mithril Helmet=Mithrilhelm -Mithril Leggings=Mithrilhose -Steel Boots=Stahlstiefel -Steel Chestplate=Stahlbrustplatte -Steel Helmet=Stahlhelm -Steel Leggings=Stahlhose -Wood Boots=Holzstiefel -Wood Chestplate=Holzbrustplatte -Wood Helmet=Holzhelm -Wood Leggings=Holzhose - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor : Initialisierung des Spielers fehlgeschlagen diff --git a/3d_armor/locale/3d_armor.es.tr b/3d_armor/locale/3d_armor.es.tr index 61ff5f9..24c6c43 100644 --- a/3d_armor/locale/3d_armor.es.tr +++ b/3d_armor/locale/3d_armor.es.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: El nombre del jugador es nulo @1 3d_armor: Player reference is nil @1=3d_armor: La referencia del jugador es nula @1 -### armor.lua ### - -Admin Boots=Botas de admin -Admin Chestplate=Peto de admin -Admin Helmet=Casco de admin -Admin Leggings=Grebas de admin -Bronze Boots=Botas de bronce -Bronze Chestplate=Peto de bronce -Bronze Helmet=Casco de bronce -Bronze Leggings=Grebas de bronce -Cactus Boots=Botas de cactus -Cactus Chestplate=Peto de cactus -Cactus Helmet=Casco de cactus -Cactus Leggings=Grebas de cactus -Crystal Boots=Botas de cristal -Crystal Chestplate=Peto de cristal -Crystal Helmet=Casco de cristal -Crystal Leggings=Grebas de cristal -Nether Boots=Botas de nether -Nether Chestplate=Peto de nether -Nether Helmet=Casco de nether -Nether Leggings=Grebas de nether -Diamond Boots=Botas de diamante -Diamond Chestplate=Peto de diamante -Diamond Helmet=Casco de diamante -Diamond Leggings=Grebas de diamante -Gold Boots=Botas de oro -Gold Chestplate=Peto de oro -Gold Helmet=Casco de oro -Gold Leggings=Grebas de oro -Mithril Boots=Botas de mitrilo -Mithril Chestplate=Peto de mitrilo -Mithril Helmet=Casco de mitrilo -Mithril Leggings=Grebas de mitrilo -Steel Boots=Botas de acero -Steel Chestplate=Peto de acero -Steel Helmet=Casco de acero -Steel Leggings=Grebas de acero -Wood Boots=Botas de madera -Wood Chestplate=Peto de madera -Wood Helmet=Casco de madera -Wood Leggings=Grebas de madera - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: Fallo en la inicialización del jugador diff --git a/3d_armor/locale/3d_armor.fr.tr b/3d_armor/locale/3d_armor.fr.tr index 458fb15..b4d9564 100644 --- a/3d_armor/locale/3d_armor.fr.tr +++ b/3d_armor/locale/3d_armor.fr.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor : Nom du joueur non trouvé @1 3d_armor: Player reference is nil @1=3d_armor : Référence au joueur non trouvée @1 -### armor.lua ### - -Admin Boots=Bottes d'admin -Admin Chestplate=Cuirasse d'admin -Admin Helmet=Casque d'admin -Admin Leggings=Jambières d'admin -Bronze Boots=Bottes en bronze -Bronze Chestplate=Cuirasse en bronze -Bronze Helmet=Casque en bronze -Bronze Leggings=Jambières en bronze -Cactus Boots=Bottes en cactus -Cactus Chestplate=Cuirasse en cactus -Cactus Helmet=Casque en cactus -Cactus Leggings=Jambières en cactus -Crystal Boots=Bottes en cristal -Crystal Chestplate=Cuirasse en cristal -Crystal Helmet=Casque en cristal -Crystal Leggings=Jambières en cristal -Nether Boots=Bottes en nether -Nether Chestplate=Cuirasse en nether -Nether Helmet=Casque en nether -Nether Leggings=Jambières en nether -Diamond Boots=Bottes en diamant -Diamond Chestplate=Cuirasse en diamant -Diamond Helmet=Casque en diamant -Diamond Leggings=Jambières en diamant -Gold Boots=Bottes en or -Gold Chestplate=Cuirasse en or -Gold Helmet=Casque en or -Gold Leggings=Jambières en or -Mithril Boots=Bottes en mithril -Mithril Chestplate=Cuirasse en mithril -Mithril Helmet=Casque en mithril -Mithril Leggings=Jambières en mithril -Steel Boots=Bottes en acier -Steel Chestplate=Cuirasse en acier -Steel Helmet=Casque en acier -Steel Leggings=Jambières en acier -Wood Boots=Bottes en bois -Wood Chestplate=Cuirasse en bois -Wood Helmet=Casque en bois -Wood Leggings=Jambières en bois - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor : Impossible d'initialiser le joueur diff --git a/3d_armor/locale/3d_armor.it.tr b/3d_armor/locale/3d_armor.it.tr index fbbd45b..b2fcf67 100644 --- a/3d_armor/locale/3d_armor.it.tr +++ b/3d_armor/locale/3d_armor.it.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: Il nome dell'utente è nullo @1 3d_armor: Player reference is nil @1=3d_armor: Il riferimento all'utente è nullo @1 -### armor.lua ### - -Admin Boots=Stivali dell'amministratrice/tore -Admin Chestplate=Corazza dell'amministratrice/tore -Admin Helmet=Elmo dell'amministratrice/tore -Admin Leggings=Gambali dell'amministratrice/tore -Bronze Boots=Stivali di bronzo -Bronze Chestplate=Corazza di bronzo -Bronze Helmet=Elmo di bronzo -Bronze Leggings=Gambali di bronzo -Cactus Boots=Stivali di cactus -Cactus Chestplate=Corazza di cactus -Cactus Helmet=Elmo di cactus -Cactus Leggings=Gambali di cactus -Crystal Boots=Stivali di cristallo -Crystal Chestplate=Corazza di cristallo -Crystal Helmet=Elmo di cristallo -Crystal Leggings=Gambali di cristallo -Nether Boots=Stivali di nether -Nether Chestplate=Corazza di nether -Nether Helmet=Elmo di nether -Nether Leggings=Gambali di nether -Diamond Boots=Stivali di diamante -Diamond Chestplate=Corazza di diamante -Diamond Helmet=Elmo di diamante -Diamond Leggings=Gambali di diamante -Gold Boots=Stivali d'oro -Gold Chestplate=Corazza d'oro -Gold Helmet=Elmo d'oro -Gold Leggings=Gambali d'oro -Mithril Boots=Stivali di mithril -Mithril Chestplate=Corazza di mithril -Mithril Helmet=Elmo di mithril -Mithril Leggings=Gambali di mithril -Steel Boots=Stivali d'acciaio -Steel Chestplate=Corazza d'acciaio -Steel Helmet=Elmo d'acciaio -Steel Leggings=Gambali d'acciaio -Wood Boots=Stivali di legno -Wood Chestplate=Corazza di legno -Wood Helmet=Elmo di legno -Wood Leggings=Gambali di legno - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: Inizializzazione dell'utente fallita diff --git a/3d_armor/locale/3d_armor.ms.tr b/3d_armor/locale/3d_armor.ms.tr index dab2012..072a49a 100644 --- a/3d_armor/locale/3d_armor.ms.tr +++ b/3d_armor/locale/3d_armor.ms.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: Nama pemain tiada nilai @1 3d_armor: Player reference is nil @1=3d_armor: Rujukan pemain tiada nilai @1 -### armor.lua ### - -Admin Boots=But Pentadbir -Admin Chestplate=Perisai Dada Pentadbir -Admin Helmet=Helmet Pentadbir -Admin Leggings=Perisai Kaki Pentadbir -Bronze Boots=But Gangsa -Bronze Chestplate=Perisai Dada Gangsa -Bronze Helmet=Helmet Gangsa -Bronze Leggings=Perisai Kaki Gangsa -Cactus Boots=But Kaktus -Cactus Chestplate=Perisai Dada Kaktus -Cactus Helmet=Helmet Kaktus -Cactus Leggings=Perisai Kaki Kaktus -Crystal Boots=But Kristal -Crystal Chestplate=Perisai Dada Kristal -Crystal Helmet=Helmet Kristal -Crystal Leggings=Perisai Kaki Kristal -Nether Boots=But Nether -Nether Chestplate=Perisai Dada Nether -Nether Helmet=Helmet Nether -Nether Leggings=Perisai Kaki Nether -Diamond Boots=But Intan -Diamond Chestplate=Perisai Dada Intan -Diamond Helmet=Helmet Intan -Diamond Leggings=Perisai Kaki Intan -Gold Boots=But Emas -Gold Chestplate=Perisai Dada Emas -Gold Helmet=Helmet Emas -Gold Leggings=Perisai Kaki Emas -Mithril Boots=But Mithril -Mithril Chestplate=Perisai Dada Mithril -Mithril Helmet=Helmet Mithril -Mithril Leggings=Perisai Kaki Mithril -Steel Boots=But Keluli -Steel Chestplate=Perisai Dada Keluli -Steel Helmet=Helmet Keluli -Steel Leggings=Perisai Kaki Keluli -Wood Boots=But Kayu -Wood Chestplate=Perisai Dada Kayu -Wood Helmet=Helmet Kayu -Wood Leggings=Perisai Kaki Kayu - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: Gagal mengasalkan pemain diff --git a/3d_armor/locale/3d_armor.pt.tr b/3d_armor/locale/3d_armor.pt.tr index e9e296e..143e62b 100644 --- a/3d_armor/locale/3d_armor.pt.tr +++ b/3d_armor/locale/3d_armor.pt.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: Nome de jogador é nulo @1 3d_armor: Player reference is nil @1=3d_armor: Referência Jogador é nula @1 -### armor.lua ### - -Admin Boots=Botas de Administrador -Admin Chestplate=Peitoral de Administrador -Admin Helmet=Capacete de Administrador -Admin Leggings=Calças de Administrador -Bronze Boots=Botas de Bronze -Bronze Chestplate=Peitoral de Bronze -Bronze Helmet=Capacete de Bronze -Bronze Leggings=Calças de Bronze -Cactus Boots=Botas de Madeira -Cactus Chestplate=Peitoral de Cacto -Cactus Helmet=Capacete de Cacto -Cactus Leggings=Calças de Cacto -Crystal Boots=Botas de Cristal -Crystal Chestplate=Peitoral de Cristal -Crystal Helmet=Capacete de Cristal -Crystal Leggings=Calças de Cristal -Nether Boots=Botas de Nether -Nether Chestplate=Peitoral de Nether -Nether Helmet=Capacete de Nether -Nether Leggings=Calças de Nether -Diamond Boots=Botas de Diamante -Diamond Chestplate=Peitoral de Diamante -Diamond Helmet=Capacete de Diamante -Diamond Leggings=Calças de Diamante -Gold Boots=Botas de Ouro -Gold Chestplate=Peitoral de Ouro -Gold Helmet=Capacete de Ouro -Gold Leggings=Calças de Ouro -Mithril Boots=Botas de Mithril -Mithril Chestplate=Peitoral de Mithril -Mithril Helmet=Capacete de Mithril -Mithril Leggings=Calças de Mithril -Steel Boots=Botas de Aço -Steel Chestplate=Peitoral de Aço -Steel Helmet=Capacete de Aço -Steel Leggings=Calças de Aço -Wood Boots=Botas de Madeira -Wood Chestplate=Peitoral de Madeira -Wood Helmet=Capacete de Madeira -Wood Leggings=Calças de Madeira - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: Falha ao inicializar jogador diff --git a/3d_armor/locale/3d_armor.pt_BR.tr b/3d_armor/locale/3d_armor.pt_BR.tr index e9e296e..143e62b 100644 --- a/3d_armor/locale/3d_armor.pt_BR.tr +++ b/3d_armor/locale/3d_armor.pt_BR.tr @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: Nome de jogador é nulo @1 3d_armor: Player reference is nil @1=3d_armor: Referência Jogador é nula @1 -### armor.lua ### - -Admin Boots=Botas de Administrador -Admin Chestplate=Peitoral de Administrador -Admin Helmet=Capacete de Administrador -Admin Leggings=Calças de Administrador -Bronze Boots=Botas de Bronze -Bronze Chestplate=Peitoral de Bronze -Bronze Helmet=Capacete de Bronze -Bronze Leggings=Calças de Bronze -Cactus Boots=Botas de Madeira -Cactus Chestplate=Peitoral de Cacto -Cactus Helmet=Capacete de Cacto -Cactus Leggings=Calças de Cacto -Crystal Boots=Botas de Cristal -Crystal Chestplate=Peitoral de Cristal -Crystal Helmet=Capacete de Cristal -Crystal Leggings=Calças de Cristal -Nether Boots=Botas de Nether -Nether Chestplate=Peitoral de Nether -Nether Helmet=Capacete de Nether -Nether Leggings=Calças de Nether -Diamond Boots=Botas de Diamante -Diamond Chestplate=Peitoral de Diamante -Diamond Helmet=Capacete de Diamante -Diamond Leggings=Calças de Diamante -Gold Boots=Botas de Ouro -Gold Chestplate=Peitoral de Ouro -Gold Helmet=Capacete de Ouro -Gold Leggings=Calças de Ouro -Mithril Boots=Botas de Mithril -Mithril Chestplate=Peitoral de Mithril -Mithril Helmet=Capacete de Mithril -Mithril Leggings=Calças de Mithril -Steel Boots=Botas de Aço -Steel Chestplate=Peitoral de Aço -Steel Helmet=Capacete de Aço -Steel Leggings=Calças de Aço -Wood Boots=Botas de Madeira -Wood Chestplate=Peitoral de Madeira -Wood Helmet=Capacete de Madeira -Wood Leggings=Calças de Madeira - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: Falha ao inicializar jogador diff --git a/3d_armor/locale/3d_armor.ru.tr b/3d_armor/locale/3d_armor.ru.tr index b817c79..0072b4c 100644 --- a/3d_armor/locale/3d_armor.ru.tr +++ b/3d_armor/locale/3d_armor.ru.tr @@ -7,45 +7,6 @@ 3d_armor: Player name is nil @1=3d_armor: Имя игрока является nil @1 3d_armor: Player reference is nil @1=3d_armor: Ссылка игрока является nil @1 -### armor.lua ### - -Admin Boots=ботинки админа -Admin Chestplate=бронежилет админа -Admin Helmet=шлем админа -Admin Leggings=гамаши админа -Bronze Boots=бронзовые ботинки -Bronze Chestplate=бронзовый бронежилет -Bronze Helmet=бронзовый шлем -Bronze Leggings=бронзовые гамаши -Cactus Boots=кактусовые ботинки -Cactus Chestplate=кактусовый бронежилет -Cactus Helmet=кактусовый шлем -Cactus Leggings=кактусовые гамаши -Crystal Boots=кристалловые ботинки -Crystal Chestplate=кристалловый бронежилет -Crystal Helmet=кристалловый шлем -Crystal Leggings=кристалловые гамаши -Diamond Boots=алмазные ботинки -Diamond Chestplate=алмазный бронежилет -Diamond Helmet=алмазный шлем -Diamond Leggings=алмазные гамаши -Gold Boots=золотые ботинки -Gold Chestplate=золотой бронежилет -Gold Helmet=золотой шлем -Gold Leggings=золотые гамаши -Mithril Boots=мифриловые ботинки -Mithril Chestplate=мифриловый бронежилет -Mithril Helmet=мифриловый шлем -Mithril Leggings=мифриловые гамаши -Steel Boots=стальные ботинки -Steel Chestplate=стальной бронежилет -Steel Helmet=стальной шлем -Steel Leggings=стальные гамаши -Wood Boots=деревянные ботинки -Wood Chestplate=деревянный бронежилет -Wood Helmet=деревянный шлем -Wood Leggings=деревянные гамаши - ### init.lua ### 3d_armor: Failed to initialize player=3d_armor: не смог подготовить игрока diff --git a/3d_armor/locale/template.txt b/3d_armor/locale/template.txt index 0898a63..ed6f81f 100644 --- a/3d_armor/locale/template.txt +++ b/3d_armor/locale/template.txt @@ -7,49 +7,6 @@ 3d_armor: Player name is nil @1= 3d_armor: Player reference is nil @1= -### armor.lua ### - -Admin Boots= -Admin Chestplate= -Admin Helmet= -Admin Leggings= -Bronze Boots= -Bronze Chestplate= -Bronze Helmet= -Bronze Leggings= -Cactus Boots= -Cactus Chestplate= -Cactus Helmet= -Cactus Leggings= -Crystal Boots= -Crystal Chestplate= -Crystal Helmet= -Crystal Leggings= -Nether Boots= -Nether Chestplate= -Nether Helmet= -Nether Leggings= -Diamond Boots= -Diamond Chestplate= -Diamond Helmet= -Diamond Leggings= -Gold Boots= -Gold Chestplate= -Gold Helmet= -Gold Leggings= -Mithril Boots= -Mithril Chestplate= -Mithril Helmet= -Mithril Leggings= -Steel Boots= -Steel Chestplate= -Steel Helmet= -Steel Leggings= -Wood Boots= -Wood Chestplate= -Wood Helmet= -Wood Leggings= - ### init.lua ### 3d_armor: Failed to initialize player= diff --git a/3d_armor/textures/preview_index.txt b/3d_armor/textures/preview_index.txt deleted file mode 100644 index 5b08da8..0000000 --- a/3d_armor/textures/preview_index.txt +++ /dev/null @@ -1,49 +0,0 @@ -3d_armor/textures/3d_armor_helmet_wood.png:head -3d_armor/textures/3d_armor_chestplate_wood.png:torso -3d_armor/textures/3d_armor_leggings_wood.png:legs -3d_armor/textures/3d_armor_boots_wood.png:feet - -3d_armor/textures/3d_armor_helmet_cactus.png:head -3d_armor/textures/3d_armor_chestplate_cactus.png:torso -3d_armor/textures/3d_armor_leggings_cactus.png:legs -3d_armor/textures/3d_armor_boots_cactus.png:feet - -3d_armor/textures/3d_armor_helmet_steel.png:head -3d_armor/textures/3d_armor_chestplate_steel.png:torso -3d_armor/textures/3d_armor_leggings_steel.png:legs -3d_armor/textures/3d_armor_boots_steel.png:feet - -3d_armor/textures/3d_armor_helmet_bronze.png:head -3d_armor/textures/3d_armor_chestplate_bronze.png:torso -3d_armor/textures/3d_armor_leggings_bronze.png:legs -3d_armor/textures/3d_armor_boots_bronze.png:feet - -3d_armor/textures/3d_armor_helmet_gold.png:head -3d_armor/textures/3d_armor_chestplate_gold.png:torso -3d_armor/textures/3d_armor_leggings_gold.png:legs -3d_armor/textures/3d_armor_boots_gold.png:feet - -3d_armor/textures/3d_armor_helmet_diamond.png:head -3d_armor/textures/3d_armor_chestplate_diamond.png:torso -3d_armor/textures/3d_armor_leggings_diamond.png:legs -3d_armor/textures/3d_armor_boots_diamond.png:feet - -3d_armor/textures/3d_armor_helmet_mithril.png:head -3d_armor/textures/3d_armor_chestplate_mithril.png:torso -3d_armor/textures/3d_armor_leggings_mithril.png:legs -3d_armor/textures/3d_armor_boots_mithril.png:feet - -3d_armor/textures/3d_armor_helmet_crystal.png:head -3d_armor/textures/3d_armor_chestplate_crystal.png:torso -3d_armor/textures/3d_armor_leggings_crystal.png:legs -3d_armor/textures/3d_armor_boots_crystal.png:feet - -3d_armor/textures/3d_armor_helmet_nether.png:head -3d_armor/textures/3d_armor_chestplate_nether.png:torso -3d_armor/textures/3d_armor_leggings_nether.png:legs -3d_armor/textures/3d_armor_boots_nether.png:feet - -3d_armor/textures/3d_armor_helmet_admin.png:head -3d_armor/textures/3d_armor_chestplate_admin.png:torso -3d_armor/textures/3d_armor_leggings_admin.png:legs -3d_armor/textures/3d_armor_boots_admin.png:feet diff --git a/armor_admin/LICENSE.txt b/armor_admin/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_admin/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_admin/depends.txt b/armor_admin/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_admin/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_admin/description.txt b/armor_admin/description.txt new file mode 100644 index 0000000..44a0894 --- /dev/null +++ b/armor_admin/description.txt @@ -0,0 +1 @@ +Adds admin armor. \ No newline at end of file diff --git a/armor_admin/init.lua b/armor_admin/init.lua new file mode 100644 index 0000000..9b94fcc --- /dev/null +++ b/armor_admin/init.lua @@ -0,0 +1,94 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Admin Helmet +-- +-- @helmet 3d_armor:helmet_admin +-- @img 3d_armor_inv_helmet_admin.png +-- @grp armor_head 1 +-- @grp armor_heal 100 +-- @grp armor_use 0 +-- @grp armor_water 1 +-- @grp not_in_creative_inventory 1 +-- @armorgrp fleshy 100 +armor:register_armor(":3d_armor:helmet_admin", { + description = S("Admin Helmet"), + inventory_image = "3d_armor_inv_helmet_admin.png", + armor_groups = {fleshy=100}, + groups = {armor_head=1, armor_heal=100, armor_use=0, armor_water=1, + not_in_creative_inventory=1}, + on_drop = function(itemstack, dropper, pos) + return + end, +}) + +--- Admin Chestplate +-- +-- @chestplate 3d_armor:chestplate_admin +-- @img 3d_armor_inv_chestplate_admin.png +-- @grp armor_torso 1 +-- @grp armor_heal 100 +-- @grp armor_use 0 +-- @grp not_in_creative_inventory 1 +-- @armorgrp fleshy 100 +armor:register_armor(":3d_armor:chestplate_admin", { + description = S("Admin Chestplate"), + inventory_image = "3d_armor_inv_chestplate_admin.png", + armor_groups = {fleshy=100}, + groups = {armor_torso=1, armor_heal=100, armor_use=0, + not_in_creative_inventory=1}, + on_drop = function(itemstack, dropper, pos) + return + end, +}) + +--- Admin Leggings +-- +-- @leggings 3d_armor:leggings_admin +-- @img 3d_armor_inv_leggings_admin.png +-- @grp armor_legs 1 +-- @grp armor_heal 100 +-- @grp armor_use 0 +-- @grp not_in_creative_inventory 1 +-- @armorgrp fleshy 100 +armor:register_armor(":3d_armor:leggings_admin", { + description = S("Admin Leggings"), + inventory_image = "3d_armor_inv_leggings_admin.png", + armor_groups = {fleshy=100}, + groups = {armor_legs=1, armor_heal=100, armor_use=0, + not_in_creative_inventory=1}, + on_drop = function(itemstack, dropper, pos) + return + end, +}) + +--- Admin Boots +-- +-- @boots 3d_armor:boots_admin +-- @img 3d_armor_inv_boots_admin.png +-- @grp armor_feet 1 +-- @grp armor_heal 100 +-- @grp armor_use 0 +-- @grp not_in_creative_inventory 1 +-- @armorgrp fleshy 100 +armor:register_armor(":3d_armor:boots_admin", { + description = S("Admin Boots"), + inventory_image = "3d_armor_inv_boots_admin.png", + armor_groups = {fleshy=100}, + groups = {armor_feet=1, armor_heal=100, armor_use=0, + not_in_creative_inventory=1}, + on_drop = function(itemstack, dropper, pos) + return + end, +}) + +minetest.register_alias("adminboots", "3d_armor:boots_admin") +minetest.register_alias("adminhelmet", "3d_armor:helmet_admin") +minetest.register_alias("adminchestplate", "3d_armor:chestplate_admin") +minetest.register_alias("adminleggings", "3d_armor:leggings_admin") \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.de.tr b/armor_admin/locale/armor_admin.de.tr new file mode 100644 index 0000000..5d047f4 --- /dev/null +++ b/armor_admin/locale/armor_admin.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=Adminstiefel +Admin Chestplate=Adminbrustplatte +Admin Helmet=Adminhelm +Admin Leggings=Adminhose \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.es.tr b/armor_admin/locale/armor_admin.es.tr new file mode 100644 index 0000000..e925290 --- /dev/null +++ b/armor_admin/locale/armor_admin.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=Botas de admin +Admin Chestplate=Peto de admin +Admin Helmet=Casco de admin +Admin Leggings=Grebas de admin \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.fr.tr b/armor_admin/locale/armor_admin.fr.tr new file mode 100644 index 0000000..7259265 --- /dev/null +++ b/armor_admin/locale/armor_admin.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=Bottes d'admin +Admin Chestplate=Cuirasse d'admin +Admin Helmet=Casque d'admin +Admin Leggings=Jambières d'admin \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.it.tr b/armor_admin/locale/armor_admin.it.tr new file mode 100644 index 0000000..d742cc0 --- /dev/null +++ b/armor_admin/locale/armor_admin.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=Stivali dell'amministratrice/tore +Admin Chestplate=Corazza dell'amministratrice/tore +Admin Helmet=Elmo dell'amministratrice/tore +Admin Leggings=Gambali dell'amministratrice/tore \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.ms.tr b/armor_admin/locale/armor_admin.ms.tr new file mode 100644 index 0000000..99e4921 --- /dev/null +++ b/armor_admin/locale/armor_admin.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=But Pentadbir +Admin Chestplate=Perisai Dada Pentadbir +Admin Helmet=Helmet Pentadbir +Admin Leggings=Perisai Kaki Pentadbir \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.pt.tr b/armor_admin/locale/armor_admin.pt.tr new file mode 100644 index 0000000..d9e3cab --- /dev/null +++ b/armor_admin/locale/armor_admin.pt.tr @@ -0,0 +1,13 @@ +# textdomain: armor_admin + + +### init.lua ### + +Steel Boots=Botas de Aço +Steel Chestplate=Peitoral de Aço +Steel Helmet=Capacete de Aço +Steel Leggings=Calças de Aço +Wood Boots=Botas de Madeira +Wood Chestplate=Peitoral de Madeira +Wood Helmet=Capacete de Madeira +Wood Leggings=Calças de Madeira diff --git a/armor_admin/locale/armor_admin.pt_BR.tr b/armor_admin/locale/armor_admin.pt_BR.tr new file mode 100644 index 0000000..cc3dcf0 --- /dev/null +++ b/armor_admin/locale/armor_admin.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=Botas de Administrador +Admin Chestplate=Peitoral de Administrador +Admin Helmet=Capacete de Administrador +Admin Leggings=Calças de Administrador \ No newline at end of file diff --git a/armor_admin/locale/armor_admin.ru.tr b/armor_admin/locale/armor_admin.ru.tr new file mode 100644 index 0000000..d25f58c --- /dev/null +++ b/armor_admin/locale/armor_admin.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots=ботинки админа +Admin Chestplate=бронежилет админа +Admin Helmet=шлем админа +Admin Leggings=гамаши админа \ No newline at end of file diff --git a/armor_admin/locale/template.txt b/armor_admin/locale/template.txt new file mode 100644 index 0000000..4b98bb6 --- /dev/null +++ b/armor_admin/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_admin + + +### init.lua ### + +Admin Boots= +Admin Chestplate= +Admin Helmet= +Admin Leggings= \ No newline at end of file diff --git a/armor_admin/mod.conf b/armor_admin/mod.conf new file mode 100644 index 0000000..588d4a4 --- /dev/null +++ b/armor_admin/mod.conf @@ -0,0 +1,3 @@ +name = armor_admin +depends = 3d_armor +description = Adds admin armor. diff --git a/3d_armor/textures/3d_armor_boots_admin.png b/armor_admin/textures/3d_armor_boots_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_admin.png rename to armor_admin/textures/3d_armor_boots_admin.png diff --git a/3d_armor/textures/3d_armor_boots_admin_preview.png b/armor_admin/textures/3d_armor_boots_admin_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_admin_preview.png rename to armor_admin/textures/3d_armor_boots_admin_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_admin.png b/armor_admin/textures/3d_armor_chestplate_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_admin.png rename to armor_admin/textures/3d_armor_chestplate_admin.png diff --git a/3d_armor/textures/3d_armor_chestplate_admin_preview.png b/armor_admin/textures/3d_armor_chestplate_admin_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_admin_preview.png rename to armor_admin/textures/3d_armor_chestplate_admin_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_admin.png b/armor_admin/textures/3d_armor_helmet_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_admin.png rename to armor_admin/textures/3d_armor_helmet_admin.png diff --git a/3d_armor/textures/3d_armor_helmet_admin_preview.png b/armor_admin/textures/3d_armor_helmet_admin_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_admin_preview.png rename to armor_admin/textures/3d_armor_helmet_admin_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_admin.png b/armor_admin/textures/3d_armor_inv_boots_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_admin.png rename to armor_admin/textures/3d_armor_inv_boots_admin.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_admin.png b/armor_admin/textures/3d_armor_inv_chestplate_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_admin.png rename to armor_admin/textures/3d_armor_inv_chestplate_admin.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_admin.png b/armor_admin/textures/3d_armor_inv_helmet_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_admin.png rename to armor_admin/textures/3d_armor_inv_helmet_admin.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_admin.png b/armor_admin/textures/3d_armor_inv_leggings_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_admin.png rename to armor_admin/textures/3d_armor_inv_leggings_admin.png diff --git a/3d_armor/textures/3d_armor_leggings_admin.png b/armor_admin/textures/3d_armor_leggings_admin.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_admin.png rename to armor_admin/textures/3d_armor_leggings_admin.png diff --git a/3d_armor/textures/3d_armor_leggings_admin_preview.png b/armor_admin/textures/3d_armor_leggings_admin_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_admin_preview.png rename to armor_admin/textures/3d_armor_leggings_admin_preview.png diff --git a/armor_bronze/LICENSE.txt b/armor_bronze/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_bronze/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_bronze/depends.txt b/armor_bronze/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_bronze/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_bronze/description.txt b/armor_bronze/description.txt new file mode 100644 index 0000000..dc72612 --- /dev/null +++ b/armor_bronze/description.txt @@ -0,0 +1 @@ +Adds craftable bronze armor. \ No newline at end of file diff --git a/armor_bronze/init.lua b/armor_bronze/init.lua new file mode 100644 index 0000000..d23dffb --- /dev/null +++ b/armor_bronze/init.lua @@ -0,0 +1,181 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Bronze +-- +-- Requires setting `armor_material_bronze`. +-- +-- @section bronze + +if armor.materials.bronze then + --- Bronze Helmet + -- + -- @helmet 3d_armor:helmet_bronze + -- @img 3d_armor_inv_helmet_bronze.png + -- @grp armor_head 1 + -- @grp armor_heal 6 + -- @grp armor_use 400 + -- @grp physics_speed -0.01 + -- @grp physics_gravity 0.01 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:helmet_bronze", { + description = S("Bronze Helmet"), + inventory_image = "3d_armor_inv_helmet_bronze.png", + groups = {armor_head=1, armor_heal=6, armor_use=400, + physics_speed=-0.01, physics_gravity=0.01}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, + }) + --- Bronze Chestplate + -- + -- @chestplate 3d_armor:chestplate_bronze + -- @img 3d_armor_inv_chestplate_bronze.png + -- @grp armor_torso 1 + -- @grp armor_heal 6 + -- @grp armor_use 400 + -- @grp physics_speed -0.04 + -- @grp physics_gravity 0.04 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:chestplate_bronze", { + description = S("Bronze Chestplate"), + inventory_image = "3d_armor_inv_chestplate_bronze.png", + groups = {armor_torso=1, armor_heal=6, armor_use=400, + physics_speed=-0.04, physics_gravity=0.04}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, + }) + --- Bronze Leggings + -- + -- @leggings 3d_armor:leggings_bronze + -- @img 3d_armor_inv_leggings_bronze.png + -- @grp armor_legs 1 + -- @grp armor_heal 6 + -- @grp armor_use 400 + -- @grp physics_speed -0.03 + -- @grp physics_gravity 0.03 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:leggings_bronze", { + description = S("Bronze Leggings"), + inventory_image = "3d_armor_inv_leggings_bronze.png", + groups = {armor_legs=1, armor_heal=6, armor_use=400, + physics_speed=-0.03, physics_gravity=0.03}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, + }) + --- Bronze Boots + -- + -- @boots 3d_armor:boots_bronze + -- @img 3d_armor_inv_boots_bronze.png + -- @grp armor_feet 1 + -- @grp armor_heal 6 + -- @grp armor_use 400 + -- @grp physics_speed -0.01 + -- @grp physics_gravity 0.01 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:boots_bronze", { + description = S("Bronze Boots"), + inventory_image = "3d_armor_inv_boots_bronze.png", + groups = {armor_feet=1, armor_heal=6, armor_use=400, + physics_speed=-0.01, physics_gravity=0.01}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=2, choppy=2, crumbly=1, level=2}, + }) + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "bronze" + local m = armor.materials.bronze + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.de.tr b/armor_bronze/locale/armor_bronze.de.tr new file mode 100644 index 0000000..dd8a028 --- /dev/null +++ b/armor_bronze/locale/armor_bronze.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Bronzestiefel +Bronze Chestplate=Bronzebrustplatte +Bronze Helmet=Bronzehelm +Bronze Leggings=Bronzehose \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.es.tr b/armor_bronze/locale/armor_bronze.es.tr new file mode 100644 index 0000000..8a77ce8 --- /dev/null +++ b/armor_bronze/locale/armor_bronze.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Botas de bronce +Bronze Chestplate=Peto de bronce +Bronze Helmet=Casco de bronce +Bronze Leggings=Grebas de bronce \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.fr.tr b/armor_bronze/locale/armor_bronze.fr.tr new file mode 100644 index 0000000..8b9de5e --- /dev/null +++ b/armor_bronze/locale/armor_bronze.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Bottes en bronze +Bronze Chestplate=Cuirasse en bronze +Bronze Helmet=Casque en bronze +Bronze Leggings=Jambières en bronze \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.it.tr b/armor_bronze/locale/armor_bronze.it.tr new file mode 100644 index 0000000..57f31b6 --- /dev/null +++ b/armor_bronze/locale/armor_bronze.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Stivali di bronzo +Bronze Chestplate=Corazza di bronzo +Bronze Helmet=Elmo di bronzo +Bronze Leggings=Gambali di bronzo \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.ms.tr b/armor_bronze/locale/armor_bronze.ms.tr new file mode 100644 index 0000000..70522e7 --- /dev/null +++ b/armor_bronze/locale/armor_bronze.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=But Gangsa +Bronze Chestplate=Perisai Dada Gangsa +Bronze Helmet=Helmet Gangsa +Bronze Leggings=Perisai Kaki Gangsa \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.pt.tr b/armor_bronze/locale/armor_bronze.pt.tr new file mode 100644 index 0000000..cbfea9e --- /dev/null +++ b/armor_bronze/locale/armor_bronze.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Botas de Bronze +Bronze Chestplate=Peitoral de Bronze +Bronze Helmet=Capacete de Bronze +Bronze Leggings=Calças de Bronze \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.pt_BR.tr b/armor_bronze/locale/armor_bronze.pt_BR.tr new file mode 100644 index 0000000..cbfea9e --- /dev/null +++ b/armor_bronze/locale/armor_bronze.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=Botas de Bronze +Bronze Chestplate=Peitoral de Bronze +Bronze Helmet=Capacete de Bronze +Bronze Leggings=Calças de Bronze \ No newline at end of file diff --git a/armor_bronze/locale/armor_bronze.ru.tr b/armor_bronze/locale/armor_bronze.ru.tr new file mode 100644 index 0000000..b17beae --- /dev/null +++ b/armor_bronze/locale/armor_bronze.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots=бронзовые ботинки +Bronze Chestplate=бронзовый бронежилет +Bronze Helmet=бронзовый шлем +Bronze Leggings=бронзовые гамаши \ No newline at end of file diff --git a/armor_bronze/locale/template.txt b/armor_bronze/locale/template.txt new file mode 100644 index 0000000..340d313 --- /dev/null +++ b/armor_bronze/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_bronze + + +### init.lua ### + +Bronze Boots= +Bronze Chestplate= +Bronze Helmet= +Bronze Leggings= \ No newline at end of file diff --git a/armor_bronze/mod.conf b/armor_bronze/mod.conf new file mode 100644 index 0000000..7eec902 --- /dev/null +++ b/armor_bronze/mod.conf @@ -0,0 +1,3 @@ +name = armor_bronze +depends = 3d_armor +description = Adds craftable bronze armor. diff --git a/3d_armor/textures/3d_armor_boots_bronze.png b/armor_bronze/textures/3d_armor_boots_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_bronze.png rename to armor_bronze/textures/3d_armor_boots_bronze.png diff --git a/3d_armor/textures/3d_armor_boots_bronze_preview.png b/armor_bronze/textures/3d_armor_boots_bronze_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_bronze_preview.png rename to armor_bronze/textures/3d_armor_boots_bronze_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_bronze.png b/armor_bronze/textures/3d_armor_chestplate_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_bronze.png rename to armor_bronze/textures/3d_armor_chestplate_bronze.png diff --git a/3d_armor/textures/3d_armor_chestplate_bronze_preview.png b/armor_bronze/textures/3d_armor_chestplate_bronze_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_bronze_preview.png rename to armor_bronze/textures/3d_armor_chestplate_bronze_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_bronze.png b/armor_bronze/textures/3d_armor_helmet_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_bronze.png rename to armor_bronze/textures/3d_armor_helmet_bronze.png diff --git a/3d_armor/textures/3d_armor_helmet_bronze_preview.png b/armor_bronze/textures/3d_armor_helmet_bronze_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_bronze_preview.png rename to armor_bronze/textures/3d_armor_helmet_bronze_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_bronze.png b/armor_bronze/textures/3d_armor_inv_boots_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_bronze.png rename to armor_bronze/textures/3d_armor_inv_boots_bronze.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_bronze.png b/armor_bronze/textures/3d_armor_inv_chestplate_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_bronze.png rename to armor_bronze/textures/3d_armor_inv_chestplate_bronze.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_bronze.png b/armor_bronze/textures/3d_armor_inv_helmet_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_bronze.png rename to armor_bronze/textures/3d_armor_inv_helmet_bronze.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_bronze.png b/armor_bronze/textures/3d_armor_inv_leggings_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_bronze.png rename to armor_bronze/textures/3d_armor_inv_leggings_bronze.png diff --git a/3d_armor/textures/3d_armor_leggings_bronze.png b/armor_bronze/textures/3d_armor_leggings_bronze.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_bronze.png rename to armor_bronze/textures/3d_armor_leggings_bronze.png diff --git a/3d_armor/textures/3d_armor_leggings_bronze_preview.png b/armor_bronze/textures/3d_armor_leggings_bronze_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_bronze_preview.png rename to armor_bronze/textures/3d_armor_leggings_bronze_preview.png diff --git a/armor_cactus/LICENSE.txt b/armor_cactus/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_cactus/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_cactus/depends.txt b/armor_cactus/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_cactus/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_cactus/description.txt b/armor_cactus/description.txt new file mode 100644 index 0000000..0f4d63b --- /dev/null +++ b/armor_cactus/description.txt @@ -0,0 +1 @@ +Adds craftable cactus armor. \ No newline at end of file diff --git a/armor_cactus/init.lua b/armor_cactus/init.lua new file mode 100644 index 0000000..9944139 --- /dev/null +++ b/armor_cactus/init.lua @@ -0,0 +1,183 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Cactus +-- +-- Requires setting `armor_material_cactus`. +-- +-- @section cactus + +if armor.materials.cactus then + --- Cactus Helmet + -- + -- @helmet 3d_armor:helmet_cactus + -- @img 3d_armor_inv_helmet_cactus.png + -- @grp armor_head 1 + -- @grp armor_heal 0 + -- @grp armor_use 1000 + -- @armorgrp fleshy 5 + -- @damagegrp cracky 3 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:helmet_cactus", { + description = S("Cactus Helmet"), + inventory_image = "3d_armor_inv_helmet_cactus.png", + groups = {armor_head=1, armor_heal=0, armor_use=1000}, + armor_groups = {fleshy=5}, + damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, + }) + --- Cactus Chestplate + -- + -- @chestplate 3d_armor:chestplate_cactus + -- @img 3d_armor_inv_chestplate_cactus.png + -- @grp armor_torso 1 + -- @grp armor_heal 0 + -- @grp armor_use 1000 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:chestplate_cactus", { + description = S("Cactus Chestplate"), + inventory_image = "3d_armor_inv_chestplate_cactus.png", + groups = {armor_torso=1, armor_heal=0, armor_use=1000}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, + }) + --- Cactus Leggings + -- + -- @leggings 3d_armor:leggings_cactus + -- @img 3d_armor_inv_leggings_cactus.png + -- @grp armor_legs 1 + -- @grp armor_heal 0 + -- @grp armor_use 1000 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:leggings_cactus", { + description = S("Cactus Leggings"), + inventory_image = "3d_armor_inv_leggings_cactus.png", + groups = {armor_legs=1, armor_heal=0, armor_use=1000}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, + }) + --- Cactus Boots + -- + -- @boots 3d_armor:boots_cactus + -- @img 3d_armor_inv_boots_cactus.png + -- @grp armor_feet 1 + -- @grp armor_heal 0 + -- @grp armor_use 1000 + -- @armorgrp fleshy 5 + -- @damagegrp cracky 3 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:boots_cactus", { + description = S("Cactus Boots"), + inventory_image = "3d_armor_inv_boots_cactus.png", + groups = {armor_feet=1, armor_heal=0, armor_use=1000}, + armor_groups = {fleshy=5}, + damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=1}, + }) + local cactus_armor_fuel = { + helmet = 14, + chestplate = 16, + leggings = 15, + boots = 13 + } + for armor, burn in pairs(cactus_armor_fuel) do + minetest.register_craft({ + type = "fuel", + recipe = "3d_armor:" .. armor .. "_cactus", + burntime = burn, + }) + end + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "cactus" + local m = armor.materials.cactus + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.de.tr b/armor_cactus/locale/armor_cactus.de.tr new file mode 100644 index 0000000..a445240 --- /dev/null +++ b/armor_cactus/locale/armor_cactus.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Kaktusstiefel +Cactus Chestplate=Kaktusbrustplatte +Cactus Helmet=Kaktushelm +Cactus Leggings=Kaktushose \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.es.tr b/armor_cactus/locale/armor_cactus.es.tr new file mode 100644 index 0000000..6047856 --- /dev/null +++ b/armor_cactus/locale/armor_cactus.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Botas de cactus +Cactus Chestplate=Peto de cactus +Cactus Helmet=Casco de cactus +Cactus Leggings=Grebas de cactus \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.fr.tr b/armor_cactus/locale/armor_cactus.fr.tr new file mode 100644 index 0000000..1698878 --- /dev/null +++ b/armor_cactus/locale/armor_cactus.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Bottes en cactus +Cactus Chestplate=Cuirasse en cactus +Cactus Helmet=Casque en cactus +Cactus Leggings=Jambières en cactus \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.it.tr b/armor_cactus/locale/armor_cactus.it.tr new file mode 100644 index 0000000..ecf7ed1 --- /dev/null +++ b/armor_cactus/locale/armor_cactus.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Stivali di cactus +Cactus Chestplate=Corazza di cactus +Cactus Helmet=Elmo di cactus +Cactus Leggings=Gambali di cactus \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.ms.tr b/armor_cactus/locale/armor_cactus.ms.tr new file mode 100644 index 0000000..ce6eac8 --- /dev/null +++ b/armor_cactus/locale/armor_cactus.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=But Kaktus +Cactus Chestplate=Perisai Dada Kaktus +Cactus Helmet=Helmet Kaktus +Cactus Leggings=Perisai Kaki Kaktus \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.pt.tr b/armor_cactus/locale/armor_cactus.pt.tr new file mode 100644 index 0000000..80d3fac --- /dev/null +++ b/armor_cactus/locale/armor_cactus.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Botas de Madeira +Cactus Chestplate=Peitoral de Cacto +Cactus Helmet=Capacete de Cacto +Cactus Leggings=Calças de Cacto \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.pt_BR.tr b/armor_cactus/locale/armor_cactus.pt_BR.tr new file mode 100644 index 0000000..80d3fac --- /dev/null +++ b/armor_cactus/locale/armor_cactus.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=Botas de Madeira +Cactus Chestplate=Peitoral de Cacto +Cactus Helmet=Capacete de Cacto +Cactus Leggings=Calças de Cacto \ No newline at end of file diff --git a/armor_cactus/locale/armor_cactus.ru.tr b/armor_cactus/locale/armor_cactus.ru.tr new file mode 100644 index 0000000..094ce8a --- /dev/null +++ b/armor_cactus/locale/armor_cactus.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots=кактусовые ботинки +Cactus Chestplate=кактусовый бронежилет +Cactus Helmet=кактусовый шлем +Cactus Leggings=кактусовые гамаши \ No newline at end of file diff --git a/armor_cactus/locale/template.txt b/armor_cactus/locale/template.txt new file mode 100644 index 0000000..4e0cb68 --- /dev/null +++ b/armor_cactus/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_cactus + + +### init.lua ### + +Cactus Boots= +Cactus Chestplate= +Cactus Helmet= +Cactus Leggings= \ No newline at end of file diff --git a/armor_cactus/mod.conf b/armor_cactus/mod.conf new file mode 100644 index 0000000..fc94af2 --- /dev/null +++ b/armor_cactus/mod.conf @@ -0,0 +1,3 @@ +name = armor_cactus +depends = 3d_armor +description = Adds craftable cactus armor. diff --git a/3d_armor/textures/3d_armor_boots_cactus.png b/armor_cactus/textures/3d_armor_boots_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_cactus.png rename to armor_cactus/textures/3d_armor_boots_cactus.png diff --git a/3d_armor/textures/3d_armor_boots_cactus_preview.png b/armor_cactus/textures/3d_armor_boots_cactus_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_cactus_preview.png rename to armor_cactus/textures/3d_armor_boots_cactus_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_cactus.png b/armor_cactus/textures/3d_armor_chestplate_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_cactus.png rename to armor_cactus/textures/3d_armor_chestplate_cactus.png diff --git a/3d_armor/textures/3d_armor_chestplate_cactus_preview.png b/armor_cactus/textures/3d_armor_chestplate_cactus_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_cactus_preview.png rename to armor_cactus/textures/3d_armor_chestplate_cactus_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_cactus.png b/armor_cactus/textures/3d_armor_helmet_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_cactus.png rename to armor_cactus/textures/3d_armor_helmet_cactus.png diff --git a/3d_armor/textures/3d_armor_helmet_cactus_preview.png b/armor_cactus/textures/3d_armor_helmet_cactus_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_cactus_preview.png rename to armor_cactus/textures/3d_armor_helmet_cactus_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_cactus.png b/armor_cactus/textures/3d_armor_inv_boots_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_cactus.png rename to armor_cactus/textures/3d_armor_inv_boots_cactus.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_cactus.png b/armor_cactus/textures/3d_armor_inv_chestplate_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_cactus.png rename to armor_cactus/textures/3d_armor_inv_chestplate_cactus.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_cactus.png b/armor_cactus/textures/3d_armor_inv_helmet_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_cactus.png rename to armor_cactus/textures/3d_armor_inv_helmet_cactus.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_cactus.png b/armor_cactus/textures/3d_armor_inv_leggings_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_cactus.png rename to armor_cactus/textures/3d_armor_inv_leggings_cactus.png diff --git a/3d_armor/textures/3d_armor_leggings_cactus.png b/armor_cactus/textures/3d_armor_leggings_cactus.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_cactus.png rename to armor_cactus/textures/3d_armor_leggings_cactus.png diff --git a/3d_armor/textures/3d_armor_leggings_cactus_preview.png b/armor_cactus/textures/3d_armor_leggings_cactus_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_cactus_preview.png rename to armor_cactus/textures/3d_armor_leggings_cactus_preview.png diff --git a/armor_crystal/LICENSE.txt b/armor_crystal/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_crystal/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_crystal/depends.txt b/armor_crystal/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_crystal/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_crystal/description.txt b/armor_crystal/description.txt new file mode 100644 index 0000000..c4839b1 --- /dev/null +++ b/armor_crystal/description.txt @@ -0,0 +1 @@ +Adds craftable crystal armor. \ No newline at end of file diff --git a/armor_crystal/init.lua b/armor_crystal/init.lua new file mode 100644 index 0000000..d845fc2 --- /dev/null +++ b/armor_crystal/init.lua @@ -0,0 +1,170 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + + +--- Crystal +-- +-- Requires `armor_material_crystal`. +-- +-- @section crystal + +if armor.materials.crystal then + --- Crystal Helmet + -- + -- @helmet 3d_armor:helmet_crystal + -- @img 3d_armor_inv_helmet_crystal.png + -- @grp armor_head 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @grp armor_fire 1 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:helmet_crystal", { + description = S("Crystal Helmet"), + inventory_image = "3d_armor_inv_helmet_crystal.png", + groups = {armor_head=1, armor_heal=12, armor_use=100, armor_fire=1}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Crystal Chestplate + -- + -- @chestplate 3d_armor:chestplate_crystal + -- @img 3d_armor_inv_chestplate_crystal.png + -- @grp armor_torso 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @grp armor_fire 1 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:chestplate_crystal", { + description = S("Crystal Chestplate"), + inventory_image = "3d_armor_inv_chestplate_crystal.png", + groups = {armor_torso=1, armor_heal=12, armor_use=100, armor_fire=1}, + armor_groups = {fleshy=20}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Crystal Leggings + -- + -- @leggings 3d_armor:leggings_crystal + -- @img 3d_armor_inv_leggings_crystal.png + -- @grp armor_legs 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @grp armor_fire 1 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:leggings_crystal", { + description = S("Crystal Leggings"), + inventory_image = "3d_armor_inv_leggings_crystal.png", + groups = {armor_legs=1, armor_heal=12, armor_use=100, armor_fire=1}, + armor_groups = {fleshy=20}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Crystal Boots + -- + -- @boots 3d_armor:boots_crystal + -- @img 3d_armor_inv_boots_crystal.png + -- @grp armor_feet 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @grp physics_speed 1 + -- @grp physics_jump 0.5 + -- @grp armor_fire 1 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:boots_crystal", { + description = S("Crystal Boots"), + inventory_image = "3d_armor_inv_boots_crystal.png", + groups = {armor_feet=1, armor_heal=12, armor_use=100, physics_speed=1, + physics_jump=0.5, armor_fire=1}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "crystal" + local m = armor.materials.crystal + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.de.tr b/armor_crystal/locale/armor_crystal.de.tr new file mode 100644 index 0000000..79a6454 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Kristallstiefel +Crystal Chestplate=Kristallbrustplatte +Crystal Helmet=Kristallhelm +Crystal Leggings=Kristallhose \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.es.tr b/armor_crystal/locale/armor_crystal.es.tr new file mode 100644 index 0000000..b1bb6e4 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Botas de cristal +Crystal Chestplate=Peto de cristal +Crystal Helmet=Casco de cristal +Crystal Leggings=Grebas de cristal \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.fr.tr b/armor_crystal/locale/armor_crystal.fr.tr new file mode 100644 index 0000000..346f250 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Bottes en cristal +Crystal Chestplate=Cuirasse en cristal +Crystal Helmet=Casque en cristal +Crystal Leggings=Jambières en cristal \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.it.tr b/armor_crystal/locale/armor_crystal.it.tr new file mode 100644 index 0000000..0d5ef1e --- /dev/null +++ b/armor_crystal/locale/armor_crystal.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Stivali di cristallo +Crystal Chestplate=Corazza di cristallo +Crystal Helmet=Elmo di cristallo +Crystal Leggings=Gambali di cristallo \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.ms.tr b/armor_crystal/locale/armor_crystal.ms.tr new file mode 100644 index 0000000..3e6ad79 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=But Kristal +Crystal Chestplate=Perisai Dada Kristal +Crystal Helmet=Helmet Kristal +Crystal Leggings=Perisai Kaki Kristal \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.pt.tr b/armor_crystal/locale/armor_crystal.pt.tr new file mode 100644 index 0000000..048ae93 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Botas de Cristal +Crystal Chestplate=Peitoral de Cristal +Crystal Helmet=Capacete de Cristal +Crystal Leggings=Calças de Cristal \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.pt_BR.tr b/armor_crystal/locale/armor_crystal.pt_BR.tr new file mode 100644 index 0000000..048ae93 --- /dev/null +++ b/armor_crystal/locale/armor_crystal.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=Botas de Cristal +Crystal Chestplate=Peitoral de Cristal +Crystal Helmet=Capacete de Cristal +Crystal Leggings=Calças de Cristal \ No newline at end of file diff --git a/armor_crystal/locale/armor_crystal.ru.tr b/armor_crystal/locale/armor_crystal.ru.tr new file mode 100644 index 0000000..2e9cd1c --- /dev/null +++ b/armor_crystal/locale/armor_crystal.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots=кристалловые ботинки +Crystal Chestplate=кристалловый бронежилет +Crystal Helmet=кристалловый шлем +Crystal Leggings=кристалловые гамаши \ No newline at end of file diff --git a/armor_crystal/locale/template.txt b/armor_crystal/locale/template.txt new file mode 100644 index 0000000..ad29782 --- /dev/null +++ b/armor_crystal/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_crystal + + +### init.lua ### + +Crystal Boots= +Crystal Chestplate= +Crystal Helmet= +Crystal Leggings= \ No newline at end of file diff --git a/armor_crystal/mod.conf b/armor_crystal/mod.conf new file mode 100644 index 0000000..3e3ae5e --- /dev/null +++ b/armor_crystal/mod.conf @@ -0,0 +1,4 @@ +name = armor_crystal +depends = 3d_armor +optional_depends = etherial +description = Adds craftable crystal armor. diff --git a/3d_armor/textures/3d_armor_boots_crystal.png b/armor_crystal/textures/3d_armor_boots_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_crystal.png rename to armor_crystal/textures/3d_armor_boots_crystal.png diff --git a/3d_armor/textures/3d_armor_boots_crystal_preview.png b/armor_crystal/textures/3d_armor_boots_crystal_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_crystal_preview.png rename to armor_crystal/textures/3d_armor_boots_crystal_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_crystal.png b/armor_crystal/textures/3d_armor_chestplate_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_crystal.png rename to armor_crystal/textures/3d_armor_chestplate_crystal.png diff --git a/3d_armor/textures/3d_armor_chestplate_crystal_preview.png b/armor_crystal/textures/3d_armor_chestplate_crystal_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_crystal_preview.png rename to armor_crystal/textures/3d_armor_chestplate_crystal_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_crystal.png b/armor_crystal/textures/3d_armor_helmet_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_crystal.png rename to armor_crystal/textures/3d_armor_helmet_crystal.png diff --git a/3d_armor/textures/3d_armor_helmet_crystal_preview.png b/armor_crystal/textures/3d_armor_helmet_crystal_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_crystal_preview.png rename to armor_crystal/textures/3d_armor_helmet_crystal_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_crystal.png b/armor_crystal/textures/3d_armor_inv_boots_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_crystal.png rename to armor_crystal/textures/3d_armor_inv_boots_crystal.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_crystal.png b/armor_crystal/textures/3d_armor_inv_chestplate_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_crystal.png rename to armor_crystal/textures/3d_armor_inv_chestplate_crystal.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_crystal.png b/armor_crystal/textures/3d_armor_inv_helmet_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_crystal.png rename to armor_crystal/textures/3d_armor_inv_helmet_crystal.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_crystal.png b/armor_crystal/textures/3d_armor_inv_leggings_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_crystal.png rename to armor_crystal/textures/3d_armor_inv_leggings_crystal.png diff --git a/3d_armor/textures/3d_armor_leggings_crystal.png b/armor_crystal/textures/3d_armor_leggings_crystal.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_crystal.png rename to armor_crystal/textures/3d_armor_leggings_crystal.png diff --git a/3d_armor/textures/3d_armor_leggings_crystal_preview.png b/armor_crystal/textures/3d_armor_leggings_crystal_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_crystal_preview.png rename to armor_crystal/textures/3d_armor_leggings_crystal_preview.png diff --git a/armor_diamond/LICENSE.txt b/armor_diamond/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_diamond/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_diamond/depends.txt b/armor_diamond/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_diamond/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_diamond/description.txt b/armor_diamond/description.txt new file mode 100644 index 0000000..5934a25 --- /dev/null +++ b/armor_diamond/description.txt @@ -0,0 +1 @@ +Adds craftable diamond armor. \ No newline at end of file diff --git a/armor_diamond/init.lua b/armor_diamond/init.lua new file mode 100644 index 0000000..8fc2d0c --- /dev/null +++ b/armor_diamond/init.lua @@ -0,0 +1,166 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Diamond +-- +-- Requires setting `armor_material_diamond`. +-- +-- @section diamond + +if armor.materials.diamond then + --- Diamond Helmet + -- + -- @helmet 3d_armor:helmet_diamond + -- @img 3d_armor_inv_helmet_diamond.png + -- @grp armor_head 1 + -- @grp armor_heal 12 + -- @grp armor_use 200 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp choppy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:helmet_diamond", { + description = S("Diamond Helmet"), + inventory_image = "3d_armor_inv_helmet_diamond.png", + groups = {armor_head=1, armor_heal=12, armor_use=200}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, + }) + --- Diamond Chestplate + -- + -- @chestplate 3d_armor:chestplate_diamond + -- @img 3d_armor_inv_chestplate_diamond.png + -- @grp armor_torso 1 + -- @grp armor_heal 12 + -- @grp armor_use 200 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp choppy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:chestplate_diamond", { + description = S("Diamond Chestplate"), + inventory_image = "3d_armor_inv_chestplate_diamond.png", + groups = {armor_torso=1, armor_heal=12, armor_use=200}, + armor_groups = {fleshy=20}, + damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, + }) + --- Diamond Leggings + -- + -- @leggings 3d_armor:leggings_diamond + -- @img 3d_armor_inv_leggings_diamond.png + -- @grp armor_legs 1 + -- @grp armor_heal 12 + -- @grp armor_use 200 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp choppy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:leggings_diamond", { + description = S("Diamond Leggings"), + inventory_image = "3d_armor_inv_leggings_diamond.png", + groups = {armor_legs=1, armor_heal=12, armor_use=200}, + armor_groups = {fleshy=20}, + damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, + }) + --- Diamond Boots + -- + -- @boots 3d_armor:boots_diamond + -- @img 3d_armor_inv_boots_diamond.png + -- @grp armor_feet 1 + -- @grp armor_heal 12 + -- @grp armor_use 200 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp choppy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:boots_diamond", { + description = S("Diamond Boots"), + inventory_image = "3d_armor_inv_boots_diamond.png", + groups = {armor_feet=1, armor_heal=12, armor_use=200}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=1, choppy=1, level=3}, + }) + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "diamond" + local m = armor.materials.diamond + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.de.tr b/armor_diamond/locale/armor_diamond.de.tr new file mode 100644 index 0000000..dc6c3d4 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Diamantstiefel +Diamond Chestplate=Diamantbrustplatte +Diamond Helmet=Diamanthelm +Diamond Leggings=Diamanthose \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.es.tr b/armor_diamond/locale/armor_diamond.es.tr new file mode 100644 index 0000000..9b352f7 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Botas de diamante +Diamond Chestplate=Peto de diamante +Diamond Helmet=Casco de diamante +Diamond Leggings=Grebas de diamante \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.fr.tr b/armor_diamond/locale/armor_diamond.fr.tr new file mode 100644 index 0000000..11171ed --- /dev/null +++ b/armor_diamond/locale/armor_diamond.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Bottes en diamant +Diamond Chestplate=Cuirasse en diamant +Diamond Helmet=Casque en diamant +Diamond Leggings=Jambières en diamant \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.it.tr b/armor_diamond/locale/armor_diamond.it.tr new file mode 100644 index 0000000..29361c8 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Stivali di diamante +Diamond Chestplate=Corazza di diamante +Diamond Helmet=Elmo di diamante +Diamond Leggings=Gambali di diamante \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.ms.tr b/armor_diamond/locale/armor_diamond.ms.tr new file mode 100644 index 0000000..bb99db9 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=But Intan +Diamond Chestplate=Perisai Dada Intan +Diamond Helmet=Helmet Intan +Diamond Leggings=Perisai Kaki Intan \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.pt.tr b/armor_diamond/locale/armor_diamond.pt.tr new file mode 100644 index 0000000..5951b47 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Botas de Diamante +Diamond Chestplate=Peitoral de Diamante +Diamond Helmet=Capacete de Diamante +Diamond Leggings=Calças de Diamante \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.pt_BR.tr b/armor_diamond/locale/armor_diamond.pt_BR.tr new file mode 100644 index 0000000..5951b47 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=Botas de Diamante +Diamond Chestplate=Peitoral de Diamante +Diamond Helmet=Capacete de Diamante +Diamond Leggings=Calças de Diamante \ No newline at end of file diff --git a/armor_diamond/locale/armor_diamond.ru.tr b/armor_diamond/locale/armor_diamond.ru.tr new file mode 100644 index 0000000..1248e34 --- /dev/null +++ b/armor_diamond/locale/armor_diamond.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots=алмазные ботинки +Diamond Chestplate=алмазный бронежилет +Diamond Helmet=алмазный шлем +Diamond Leggings=алмазные гамаши \ No newline at end of file diff --git a/armor_diamond/locale/template.txt b/armor_diamond/locale/template.txt new file mode 100644 index 0000000..1bccc60 --- /dev/null +++ b/armor_diamond/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_diamond + + +### init.lua ### + +Diamond Boots= +Diamond Chestplate= +Diamond Helmet= +Diamond Leggings= \ No newline at end of file diff --git a/armor_diamond/mod.conf b/armor_diamond/mod.conf new file mode 100644 index 0000000..27d1cc9 --- /dev/null +++ b/armor_diamond/mod.conf @@ -0,0 +1,3 @@ +name = armor_diamond +depends = 3d_armor +description = Adds craftable diamond armor. diff --git a/3d_armor/textures/3d_armor_boots_diamond.png b/armor_diamond/textures/3d_armor_boots_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_diamond.png rename to armor_diamond/textures/3d_armor_boots_diamond.png diff --git a/3d_armor/textures/3d_armor_boots_diamond_preview.png b/armor_diamond/textures/3d_armor_boots_diamond_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_diamond_preview.png rename to armor_diamond/textures/3d_armor_boots_diamond_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_diamond.png b/armor_diamond/textures/3d_armor_chestplate_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_diamond.png rename to armor_diamond/textures/3d_armor_chestplate_diamond.png diff --git a/3d_armor/textures/3d_armor_chestplate_diamond_preview.png b/armor_diamond/textures/3d_armor_chestplate_diamond_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_diamond_preview.png rename to armor_diamond/textures/3d_armor_chestplate_diamond_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_diamond.png b/armor_diamond/textures/3d_armor_helmet_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_diamond.png rename to armor_diamond/textures/3d_armor_helmet_diamond.png diff --git a/3d_armor/textures/3d_armor_helmet_diamond_preview.png b/armor_diamond/textures/3d_armor_helmet_diamond_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_diamond_preview.png rename to armor_diamond/textures/3d_armor_helmet_diamond_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_diamond.png b/armor_diamond/textures/3d_armor_inv_boots_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_diamond.png rename to armor_diamond/textures/3d_armor_inv_boots_diamond.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_diamond.png b/armor_diamond/textures/3d_armor_inv_chestplate_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_diamond.png rename to armor_diamond/textures/3d_armor_inv_chestplate_diamond.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_diamond.png b/armor_diamond/textures/3d_armor_inv_helmet_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_diamond.png rename to armor_diamond/textures/3d_armor_inv_helmet_diamond.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_diamond.png b/armor_diamond/textures/3d_armor_inv_leggings_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_diamond.png rename to armor_diamond/textures/3d_armor_inv_leggings_diamond.png diff --git a/3d_armor/textures/3d_armor_leggings_diamond.png b/armor_diamond/textures/3d_armor_leggings_diamond.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_diamond.png rename to armor_diamond/textures/3d_armor_leggings_diamond.png diff --git a/3d_armor/textures/3d_armor_leggings_diamond_preview.png b/armor_diamond/textures/3d_armor_leggings_diamond_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_diamond_preview.png rename to armor_diamond/textures/3d_armor_leggings_diamond_preview.png diff --git a/armor_gold/LICENSE.txt b/armor_gold/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_gold/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_gold/depends.txt b/armor_gold/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_gold/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_gold/description.txt b/armor_gold/description.txt new file mode 100644 index 0000000..1d539f9 --- /dev/null +++ b/armor_gold/description.txt @@ -0,0 +1 @@ +Adds craftable gold armor. \ No newline at end of file diff --git a/armor_gold/init.lua b/armor_gold/init.lua new file mode 100644 index 0000000..287f307 --- /dev/null +++ b/armor_gold/init.lua @@ -0,0 +1,183 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + + +--- Gold +-- +-- Requires `armor_material_gold`. +-- +-- @section gold + +if armor.materials.gold then + --- Gold Helmet + -- + -- @helmet 3d_armor:helmet_gold + -- @img 3d_armor_inv_helmet_gold.png + -- @grp armor_head 1 + -- @grp armor_heal 6 + -- @grp armor_use 300 + -- @grp physics_speed -0.02 + -- @grp physics_gravity 0.02 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 1 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 3 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:helmet_gold", { + description = S("Gold Helmet"), + inventory_image = "3d_armor_inv_helmet_gold.png", + groups = {armor_head=1, armor_heal=6, armor_use=300, + physics_speed=-0.02, physics_gravity=0.02}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, + }) + --- Gold Chestplate + -- + -- @chestplate 3d_armor:chestplate_gold + -- @img 3d_armor_inv_chestplate_gold.png + -- @grp armor_torso 1 + -- @grp armor_heal 6 + -- @grp armor_use 300 + -- @grp physics_speed -0.05 + -- @grp physics_gravity 0.05 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 1 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 3 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:chestplate_gold", { + description = S("Gold Chestplate"), + inventory_image = "3d_armor_inv_chestplate_gold.png", + groups = {armor_torso=1, armor_heal=6, armor_use=300, + physics_speed=-0.05, physics_gravity=0.05}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, + }) + --- Gold Leggings + -- + -- @leggings 3d_armor:leggings_gold + -- @img 3d_armor_inv_leggings_gold.png + -- @grp armor_legs 1 + -- @grp armor_heal 6 + -- @grp armor_use 300 + -- @grp physics_speed -0.04 + -- @grp physics_gravity 0.04 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 1 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 3 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:leggings_gold", { + description = S("Gold Leggings"), + inventory_image = "3d_armor_inv_leggings_gold.png", + groups = {armor_legs=1, armor_heal=6, armor_use=300, + physics_speed=-0.04, physics_gravity=0.04}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, + }) + --- Gold Boots + -- + -- @boots 3d_armor:boots_gold + -- @img 3d_armor_inv_boots_gold.png + -- @grp armor_feet 1 + -- @grp armor_heal 6 + -- @grp armor_use 300 + -- @grp physics_speed -0.02 + -- @grp physics_gravity 0.02 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 1 + -- @damagegrp snappy 2 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 3 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:boots_gold", { + description = S("Gold Boots"), + inventory_image = "3d_armor_inv_boots_gold.png", + groups = {armor_feet=1, armor_heal=6, armor_use=300, + physics_speed=-0.02, physics_gravity=0.02}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=1, snappy=2, choppy=2, crumbly=3, level=2}, + }) + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "gold" + local m = armor.materials.gold + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.de.tr b/armor_gold/locale/armor_gold.de.tr new file mode 100644 index 0000000..b884aef --- /dev/null +++ b/armor_gold/locale/armor_gold.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Goldstiefel +Gold Chestplate=Goldbrustplatte +Gold Helmet=Goldhelm +Gold Leggings=Goldhose \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.es.tr b/armor_gold/locale/armor_gold.es.tr new file mode 100644 index 0000000..c8c14d9 --- /dev/null +++ b/armor_gold/locale/armor_gold.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Botas de oro +Gold Chestplate=Peto de oro +Gold Helmet=Casco de oro +Gold Leggings=Grebas de oro \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.fr.tr b/armor_gold/locale/armor_gold.fr.tr new file mode 100644 index 0000000..54baea6 --- /dev/null +++ b/armor_gold/locale/armor_gold.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Bottes en or +Gold Chestplate=Cuirasse en or +Gold Helmet=Casque en or +Gold Leggings=Jambières en or \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.it.tr b/armor_gold/locale/armor_gold.it.tr new file mode 100644 index 0000000..a599f83 --- /dev/null +++ b/armor_gold/locale/armor_gold.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Stivali d'oro +Gold Chestplate=Corazza d'oro +Gold Helmet=Elmo d'oro +Gold Leggings=Gambali d'oro \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.ms.tr b/armor_gold/locale/armor_gold.ms.tr new file mode 100644 index 0000000..1d8988b --- /dev/null +++ b/armor_gold/locale/armor_gold.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=But Emas +Gold Chestplate=Perisai Dada Emas +Gold Helmet=Helmet Emas +Gold Leggings=Perisai Kaki Emas \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.pt.tr b/armor_gold/locale/armor_gold.pt.tr new file mode 100644 index 0000000..daa8153 --- /dev/null +++ b/armor_gold/locale/armor_gold.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Botas de Ouro +Gold Chestplate=Peitoral de Ouro +Gold Helmet=Capacete de Ouro +Gold Leggings=Calças de Ouro \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.pt_BR.tr b/armor_gold/locale/armor_gold.pt_BR.tr new file mode 100644 index 0000000..daa8153 --- /dev/null +++ b/armor_gold/locale/armor_gold.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=Botas de Ouro +Gold Chestplate=Peitoral de Ouro +Gold Helmet=Capacete de Ouro +Gold Leggings=Calças de Ouro \ No newline at end of file diff --git a/armor_gold/locale/armor_gold.ru.tr b/armor_gold/locale/armor_gold.ru.tr new file mode 100644 index 0000000..273c321 --- /dev/null +++ b/armor_gold/locale/armor_gold.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots=золотые ботинки +Gold Chestplate=золотой бронежилет +Gold Helmet=золотой шлем +Gold Leggings=золотые гамаши \ No newline at end of file diff --git a/armor_gold/locale/template.txt b/armor_gold/locale/template.txt new file mode 100644 index 0000000..2fce263 --- /dev/null +++ b/armor_gold/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_gold + + +### init.lua ### + +Gold Boots= +Gold Chestplate= +Gold Helmet= +Gold Leggings= \ No newline at end of file diff --git a/armor_gold/mod.conf b/armor_gold/mod.conf new file mode 100644 index 0000000..092ab6d --- /dev/null +++ b/armor_gold/mod.conf @@ -0,0 +1,3 @@ +name = armor_gold +depends = 3d_armor +description = Adds craftable gold armor. diff --git a/3d_armor/textures/3d_armor_boots_gold.png b/armor_gold/textures/3d_armor_boots_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_gold.png rename to armor_gold/textures/3d_armor_boots_gold.png diff --git a/3d_armor/textures/3d_armor_boots_gold_preview.png b/armor_gold/textures/3d_armor_boots_gold_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_gold_preview.png rename to armor_gold/textures/3d_armor_boots_gold_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_gold.png b/armor_gold/textures/3d_armor_chestplate_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_gold.png rename to armor_gold/textures/3d_armor_chestplate_gold.png diff --git a/3d_armor/textures/3d_armor_chestplate_gold_preview.png b/armor_gold/textures/3d_armor_chestplate_gold_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_gold_preview.png rename to armor_gold/textures/3d_armor_chestplate_gold_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_gold.png b/armor_gold/textures/3d_armor_helmet_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_gold.png rename to armor_gold/textures/3d_armor_helmet_gold.png diff --git a/3d_armor/textures/3d_armor_helmet_gold_preview.png b/armor_gold/textures/3d_armor_helmet_gold_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_gold_preview.png rename to armor_gold/textures/3d_armor_helmet_gold_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_gold.png b/armor_gold/textures/3d_armor_inv_boots_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_gold.png rename to armor_gold/textures/3d_armor_inv_boots_gold.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_gold.png b/armor_gold/textures/3d_armor_inv_chestplate_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_gold.png rename to armor_gold/textures/3d_armor_inv_chestplate_gold.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_gold.png b/armor_gold/textures/3d_armor_inv_helmet_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_gold.png rename to armor_gold/textures/3d_armor_inv_helmet_gold.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_gold.png b/armor_gold/textures/3d_armor_inv_leggings_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_gold.png rename to armor_gold/textures/3d_armor_inv_leggings_gold.png diff --git a/3d_armor/textures/3d_armor_leggings_gold.png b/armor_gold/textures/3d_armor_leggings_gold.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_gold.png rename to armor_gold/textures/3d_armor_leggings_gold.png diff --git a/3d_armor/textures/3d_armor_leggings_gold_preview.png b/armor_gold/textures/3d_armor_leggings_gold_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_gold_preview.png rename to armor_gold/textures/3d_armor_leggings_gold_preview.png diff --git a/armor_mithril/LICENSE.txt b/armor_mithril/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_mithril/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_mithril/depends.txt b/armor_mithril/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_mithril/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_mithril/description.txt b/armor_mithril/description.txt new file mode 100644 index 0000000..e72255b --- /dev/null +++ b/armor_mithril/description.txt @@ -0,0 +1 @@ +Adds craftable mithril armor. \ No newline at end of file diff --git a/armor_mithril/init.lua b/armor_mithril/init.lua new file mode 100644 index 0000000..8e134f1 --- /dev/null +++ b/armor_mithril/init.lua @@ -0,0 +1,162 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Mithril +-- +-- Requires `armor_material_mithril`. +-- +-- @section mithril + +if armor.materials.mithril then + --- Mithril Helmet + -- + -- @helmet 3d_armor:helmet_mithril + -- @img 3d_armor_inv_helmet_mithril.png + -- @grp armor_head 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:helmet_mithril", { + description = S("Mithril Helmet"), + inventory_image = "3d_armor_inv_helmet_mithril.png", + groups = {armor_head=1, armor_heal=13, armor_use=66}, + armor_groups = {fleshy=16}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Mithril Chestplate + -- + -- @chestplate 3d_armor:chestplate_mithril + -- @img 3d_armor_inv_chestplate_mithril.png + -- @grp armor_torso 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:chestplate_mithril", { + description = S("Mithril Chestplate"), + inventory_image = "3d_armor_inv_chestplate_mithril.png", + groups = {armor_torso=1, armor_heal=13, armor_use=66}, + armor_groups = {fleshy=21}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Mithril Leggings + -- + -- @leggings 3d_armor:leggings_mithril + -- @img 3d_armor_inv_leggings_mithril.png + -- @grp armor_legs 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @armorgrp fleshy 20 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:leggings_mithril", { + description = S("Mithril Leggings"), + inventory_image = "3d_armor_inv_leggings_mithril.png", + groups = {armor_legs=1, armor_heal=13, armor_use=66}, + armor_groups = {fleshy=21}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + --- Mithril Boots + -- + -- @boots 3d_armor:boots_mithril + -- @img 3d_armor_inv_boots_mithril.png + -- @grp armor_feet 1 + -- @grp armor_heal 12 + -- @grp armor_use 100 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 1 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:boots_mithril", { + description = S("Mithril Boots"), + inventory_image = "3d_armor_inv_boots_mithril.png", + groups = {armor_feet=1, armor_heal=13, armor_use=66}, + armor_groups = {fleshy=16}, + damage_groups = {cracky=2, snappy=1, level=3}, + }) + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "mithril" + local m = armor.materials.mithril + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.de.tr b/armor_mithril/locale/armor_mithril.de.tr new file mode 100644 index 0000000..268f152 --- /dev/null +++ b/armor_mithril/locale/armor_mithril.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Mithrilstiefel +Mithril Chestplate=Mithrilbrustplatte +Mithril Helmet=Mithrilhelm +Mithril Leggings=Mithrilhose \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.es.tr b/armor_mithril/locale/armor_mithril.es.tr new file mode 100644 index 0000000..52eee57 --- /dev/null +++ b/armor_mithril/locale/armor_mithril.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Botas de mitrilo +Mithril Chestplate=Peto de mitrilo +Mithril Helmet=Casco de mitrilo +Mithril Leggings=Grebas de mitrilo \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.fr.tr b/armor_mithril/locale/armor_mithril.fr.tr new file mode 100644 index 0000000..5e2d3ae --- /dev/null +++ b/armor_mithril/locale/armor_mithril.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Bottes en mithril +Mithril Chestplate=Cuirasse en mithril +Mithril Helmet=Casque en mithril +Mithril Leggings=Jambières en mithril \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.it.tr b/armor_mithril/locale/armor_mithril.it.tr new file mode 100644 index 0000000..900a964 --- /dev/null +++ b/armor_mithril/locale/armor_mithril.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Stivali di mithril +Mithril Chestplate=Corazza di mithril +Mithril Helmet=Elmo di mithril +Mithril Leggings=Gambali di mithril \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.ms.tr b/armor_mithril/locale/armor_mithril.ms.tr new file mode 100644 index 0000000..6199e4d --- /dev/null +++ b/armor_mithril/locale/armor_mithril.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=But Mithril +Mithril Chestplate=Perisai Dada Mithril +Mithril Helmet=Helmet Mithril +Mithril Leggings=Perisai Kaki Mithril \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.pt.tr b/armor_mithril/locale/armor_mithril.pt.tr new file mode 100644 index 0000000..bcb3298 --- /dev/null +++ b/armor_mithril/locale/armor_mithril.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Botas de Mithril +Mithril Chestplate=Peitoral de Mithril +Mithril Helmet=Capacete de Mithril +Mithril Leggings=Calças de Mithril \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.pt_BR.tr b/armor_mithril/locale/armor_mithril.pt_BR.tr new file mode 100644 index 0000000..bcb3298 --- /dev/null +++ b/armor_mithril/locale/armor_mithril.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=Botas de Mithril +Mithril Chestplate=Peitoral de Mithril +Mithril Helmet=Capacete de Mithril +Mithril Leggings=Calças de Mithril \ No newline at end of file diff --git a/armor_mithril/locale/armor_mithril.ru.tr b/armor_mithril/locale/armor_mithril.ru.tr new file mode 100644 index 0000000..265164f --- /dev/null +++ b/armor_mithril/locale/armor_mithril.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_mithril + + +### init.lua ### + +Mithril Boots=мифриловые ботинки +Mithril Chestplate=мифриловый бронежилет +Mithril Helmet=мифриловый шлем +Mithril Leggings=мифриловые гамаши \ No newline at end of file diff --git a/armor_mithril/locale/template.txt b/armor_mithril/locale/template.txt new file mode 100644 index 0000000..a1ff832 --- /dev/null +++ b/armor_mithril/locale/template.txt @@ -0,0 +1,30 @@ +# textdomain: 3d_armor + + +### api.lua ### + +3d_armor: Detached armor inventory is nil @1= +3d_armor: Player name is nil @1= +3d_armor: Player reference is nil @1= + +### armor.lua ### + +Nether Boots= +Nether Chestplate= +Nether Helmet= +Nether Leggings= +Mithril Boots= +Mithril Chestplate= +Mithril Helmet= +Mithril Leggings= + +### init.lua ### + +3d_armor: Failed to initialize player= +Fire= +Heal= +Level= +Radiation= +Your @1 got destroyed!= +Your @1 is almost broken!= +[3d_armor] Fire Nodes disabled= diff --git a/armor_mithril/mod.conf b/armor_mithril/mod.conf new file mode 100644 index 0000000..5cc6948 --- /dev/null +++ b/armor_mithril/mod.conf @@ -0,0 +1,4 @@ +name = armor_mithril +depends = 3d_armor +optional_depends = moreores +description = Adds craftable mithril armor. diff --git a/3d_armor/textures/3d_armor_boots_mithril.png b/armor_mithril/textures/3d_armor_boots_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_mithril.png rename to armor_mithril/textures/3d_armor_boots_mithril.png diff --git a/3d_armor/textures/3d_armor_boots_mithril_preview.png b/armor_mithril/textures/3d_armor_boots_mithril_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_mithril_preview.png rename to armor_mithril/textures/3d_armor_boots_mithril_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_mithril.png b/armor_mithril/textures/3d_armor_chestplate_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_mithril.png rename to armor_mithril/textures/3d_armor_chestplate_mithril.png diff --git a/3d_armor/textures/3d_armor_chestplate_mithril_preview.png b/armor_mithril/textures/3d_armor_chestplate_mithril_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_mithril_preview.png rename to armor_mithril/textures/3d_armor_chestplate_mithril_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_mithril.png b/armor_mithril/textures/3d_armor_helmet_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_mithril.png rename to armor_mithril/textures/3d_armor_helmet_mithril.png diff --git a/3d_armor/textures/3d_armor_helmet_mithril_preview.png b/armor_mithril/textures/3d_armor_helmet_mithril_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_mithril_preview.png rename to armor_mithril/textures/3d_armor_helmet_mithril_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_mithril.png b/armor_mithril/textures/3d_armor_inv_boots_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_mithril.png rename to armor_mithril/textures/3d_armor_inv_boots_mithril.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_mithril.png b/armor_mithril/textures/3d_armor_inv_chestplate_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_mithril.png rename to armor_mithril/textures/3d_armor_inv_chestplate_mithril.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_mithril.png b/armor_mithril/textures/3d_armor_inv_helmet_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_mithril.png rename to armor_mithril/textures/3d_armor_inv_helmet_mithril.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_mithril.png b/armor_mithril/textures/3d_armor_inv_leggings_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_mithril.png rename to armor_mithril/textures/3d_armor_inv_leggings_mithril.png diff --git a/3d_armor/textures/3d_armor_leggings_mithril.png b/armor_mithril/textures/3d_armor_leggings_mithril.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_mithril.png rename to armor_mithril/textures/3d_armor_leggings_mithril.png diff --git a/3d_armor/textures/3d_armor_leggings_mithril_preview.png b/armor_mithril/textures/3d_armor_leggings_mithril_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_mithril_preview.png rename to armor_mithril/textures/3d_armor_leggings_mithril_preview.png diff --git a/armor_nether/LICENSE.txt b/armor_nether/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_nether/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_nether/depends.txt b/armor_nether/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_nether/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_nether/description.txt b/armor_nether/description.txt new file mode 100644 index 0000000..482871d --- /dev/null +++ b/armor_nether/description.txt @@ -0,0 +1 @@ +Adds craftable wood armor. \ No newline at end of file diff --git a/armor_nether/init.lua b/armor_nether/init.lua new file mode 100644 index 0000000..f761a21 --- /dev/null +++ b/armor_nether/init.lua @@ -0,0 +1,168 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + + +--- Nether +-- +-- Requires `armor_material_nether`. +-- +-- @section nether + +if armor.materials.nether then + --- Nether Helmet + -- + -- @helmet 3d_armor:helmet_nether + -- @img 3d_armor_inv_helmet_nether.png + -- @grp armor_head 1 + -- @grp armor_heal 14 + -- @grp armor_use 200 + -- @grp armor_fire 1 + -- @armorgrp fleshy 18 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:helmet_nether", { + description = S("Nether Helmet"), + inventory_image = "3d_armor_inv_helmet_nether.png", + groups = {armor_head=1, armor_heal=14, armor_use=100, armor_fire=1}, + armor_groups = {fleshy=18}, + damage_groups = {cracky=3, snappy=2, level=3}, + }) + --- Nether Chestplate + -- + -- @chestplate 3d_armor:chestplate_nether + -- @img 3d_armor_inv_chestplate_nether.png + -- @grp armor_torso 1 + -- @grp armor_heal 14 + -- @grp armor_use 200 + -- @grp armor_fire 1 + -- @armorgrp fleshy 25 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:chestplate_nether", { + description = S("Nether Chestplate"), + inventory_image = "3d_armor_inv_chestplate_nether.png", + groups = {armor_torso=1, armor_heal=14, armor_use=200, armor_fire=1}, + armor_groups = {fleshy=25}, + damage_groups = {cracky=3, snappy=2, level=3}, + }) + --- Nether Leggings + -- + -- @leggings 3d_armor:leggings_nether + -- @img 3d_armor_inv_leggings_nether.png + -- @grp armor_legs 1 + -- @grp armor_heal 14 + -- @grp armor_use 200 + -- @grp armor_fire 1 + -- @armorgrp fleshy 25 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:leggings_nether", { + description = S("Nether Leggings"), + inventory_image = "3d_armor_inv_leggings_nether.png", + groups = {armor_legs=1, armor_heal=14, armor_use=200, armor_fire=1}, + armor_groups = {fleshy=25}, + damage_groups = {cracky=3, snappy=2, level=3}, + }) + --- Nether Boots + -- + -- @boots 3d_armor:boots_nether + -- @img 3d_armor_inv_boots_nether.png + -- @grp armor_feet 1 + -- @grp armor_heal 14 + -- @grp armor_use 200 + -- @grp armor_fire 1 + -- @armorgrp fleshy 18 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp level 3 + armor:register_armor(":3d_armor:boots_nether", { + description = S("Nether Boots"), + inventory_image = "3d_armor_inv_boots_nether.png", + groups = {armor_feet=1, armor_heal=14, armor_use=200, armor_fire=1}, + armor_groups = {fleshy=18}, + damage_groups = {cracky=3, snappy=2, level=3}, + }) + + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "nether" + local m = armor.materials.nether + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) + +end \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.de.tr b/armor_nether/locale/armor_nether.de.tr new file mode 100644 index 0000000..0e0aa7c --- /dev/null +++ b/armor_nether/locale/armor_nether.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Netherstiefel +Nether Chestplate=Netherbrustplatte +Nether Helmet=Netherhelm +Nether Leggings=Netherhose \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.es.tr b/armor_nether/locale/armor_nether.es.tr new file mode 100644 index 0000000..8477d78 --- /dev/null +++ b/armor_nether/locale/armor_nether.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Botas de nether +Nether Chestplate=Peto de nether +Nether Helmet=Casco de nether +Nether Leggings=Grebas de nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.fr.tr b/armor_nether/locale/armor_nether.fr.tr new file mode 100644 index 0000000..99cbaf0 --- /dev/null +++ b/armor_nether/locale/armor_nether.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Bottes en nether +Nether Chestplate=Cuirasse en nether +Nether Helmet=Casque en nether +Nether Leggings=Jambières en nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.it.tr b/armor_nether/locale/armor_nether.it.tr new file mode 100644 index 0000000..69a773c --- /dev/null +++ b/armor_nether/locale/armor_nether.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Stivali di nether +Nether Chestplate=Corazza di nether +Nether Helmet=Elmo di nether +Nether Leggings=Gambali di nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.ms.tr b/armor_nether/locale/armor_nether.ms.tr new file mode 100644 index 0000000..1bb5acd --- /dev/null +++ b/armor_nether/locale/armor_nether.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=But Nether +Nether Chestplate=Perisai Dada Nether +Nether Helmet=Helmet Nether +Nether Leggings=Perisai Kaki Nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.pt.tr b/armor_nether/locale/armor_nether.pt.tr new file mode 100644 index 0000000..9c6e304 --- /dev/null +++ b/armor_nether/locale/armor_nether.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Botas de Nether +Nether Chestplate=Peitoral de Nether +Nether Helmet=Capacete de Nether +Nether Leggings=Calças de Nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.pt_BR.tr b/armor_nether/locale/armor_nether.pt_BR.tr new file mode 100644 index 0000000..9c6e304 --- /dev/null +++ b/armor_nether/locale/armor_nether.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=Botas de Nether +Nether Chestplate=Peitoral de Nether +Nether Helmet=Capacete de Nether +Nether Leggings=Calças de Nether \ No newline at end of file diff --git a/armor_nether/locale/armor_nether.ru.tr b/armor_nether/locale/armor_nether.ru.tr new file mode 100644 index 0000000..934279e --- /dev/null +++ b/armor_nether/locale/armor_nether.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots=адские ботинки +Nether Chestplate=адский бронежилет +Nether Helmet=адский шлем +Nether Leggings=адские гамаши \ No newline at end of file diff --git a/armor_nether/locale/template.txt b/armor_nether/locale/template.txt new file mode 100644 index 0000000..a3faee8 --- /dev/null +++ b/armor_nether/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_nether + + +### init.lua ### + +Nether Boots= +Nether Chestplate= +Nether Helmet= +Nether Leggings= \ No newline at end of file diff --git a/armor_nether/mod.conf b/armor_nether/mod.conf new file mode 100644 index 0000000..3e99b55 --- /dev/null +++ b/armor_nether/mod.conf @@ -0,0 +1,4 @@ +name = armor_nether +depends = 3d_armor +optional_depends = nether +description = Adds craftable wood armor. diff --git a/3d_armor/textures/3d_armor_boots_nether.png b/armor_nether/textures/3d_armor_boots_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_nether.png rename to armor_nether/textures/3d_armor_boots_nether.png diff --git a/3d_armor/textures/3d_armor_boots_nether_preview.png b/armor_nether/textures/3d_armor_boots_nether_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_nether_preview.png rename to armor_nether/textures/3d_armor_boots_nether_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_nether.png b/armor_nether/textures/3d_armor_chestplate_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_nether.png rename to armor_nether/textures/3d_armor_chestplate_nether.png diff --git a/3d_armor/textures/3d_armor_chestplate_nether_preview.png b/armor_nether/textures/3d_armor_chestplate_nether_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_nether_preview.png rename to armor_nether/textures/3d_armor_chestplate_nether_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_nether.png b/armor_nether/textures/3d_armor_helmet_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_nether.png rename to armor_nether/textures/3d_armor_helmet_nether.png diff --git a/3d_armor/textures/3d_armor_helmet_nether_preview.png b/armor_nether/textures/3d_armor_helmet_nether_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_nether_preview.png rename to armor_nether/textures/3d_armor_helmet_nether_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_nether.png b/armor_nether/textures/3d_armor_inv_boots_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_nether.png rename to armor_nether/textures/3d_armor_inv_boots_nether.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_nether.png b/armor_nether/textures/3d_armor_inv_chestplate_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_nether.png rename to armor_nether/textures/3d_armor_inv_chestplate_nether.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_nether.png b/armor_nether/textures/3d_armor_inv_helmet_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_nether.png rename to armor_nether/textures/3d_armor_inv_helmet_nether.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_nether.png b/armor_nether/textures/3d_armor_inv_leggings_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_nether.png rename to armor_nether/textures/3d_armor_inv_leggings_nether.png diff --git a/3d_armor/textures/3d_armor_leggings_nether.png b/armor_nether/textures/3d_armor_leggings_nether.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_nether.png rename to armor_nether/textures/3d_armor_leggings_nether.png diff --git a/3d_armor/textures/3d_armor_leggings_nether_preview.png b/armor_nether/textures/3d_armor_leggings_nether_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_nether_preview.png rename to armor_nether/textures/3d_armor_leggings_nether_preview.png diff --git a/armor_steel/LICENSE.txt b/armor_steel/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_steel/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_steel/depends.txt b/armor_steel/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_steel/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_steel/description.txt b/armor_steel/description.txt new file mode 100644 index 0000000..0d5b016 --- /dev/null +++ b/armor_steel/description.txt @@ -0,0 +1 @@ +Adds craftable steel armor. \ No newline at end of file diff --git a/armor_steel/init.lua b/armor_steel/init.lua new file mode 100644 index 0000000..a104e71 --- /dev/null +++ b/armor_steel/init.lua @@ -0,0 +1,181 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Steel +-- +-- Requires setting `armor_material_steel`. +-- +-- @section steel + +if armor.materials.steel then + --- Steel Helmet + -- + -- @helmet 3d_armor:helmet_steel + -- @img 3d_armor_inv_helmet_steel.png + -- @grp armor_head 1 + -- @grp armor_heal 0 + -- @grp armor_use 800 + -- @grp physics_speed -0.01 + -- @grp physica_gravity 0.01 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 2 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:helmet_steel", { + description = S("Steel Helmet"), + inventory_image = "3d_armor_inv_helmet_steel.png", + groups = {armor_head=1, armor_heal=0, armor_use=800, + physics_speed=-0.01, physics_gravity=0.01}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, + }) + --- Steel Chestplate + -- + -- @chestplate 3d_armor:chestplate_steel + -- @img 3d_armor_inv_chestplate_steel.png + -- @grp armor_torso 1 + -- @grp armor_heal 0 + -- @grp armor_use 800 + -- @grp physics_speed + -- @grp physics_gravity + -- @armorgrp fleshy + -- @damagegrp cracky 2 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:chestplate_steel", { + description = S("Steel Chestplate"), + inventory_image = "3d_armor_inv_chestplate_steel.png", + groups = {armor_torso=1, armor_heal=0, armor_use=800, + physics_speed=-0.04, physics_gravity=0.04}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, + }) + --- Steel Leggings + -- + -- @leggings 3d_armor:leggings_steel + -- @img 3d_armor_inv_leggings_steel.png + -- @grp armor_legs 1 + -- @grp armor_heal 0 + -- @grp armor_use 800 + -- @grp physics_speed -0.03 + -- @grp physics_gravity 0.03 + -- @armorgrp fleshy 15 + -- @damagegrp cracky 2 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:leggings_steel", { + description = S("Steel Leggings"), + inventory_image = "3d_armor_inv_leggings_steel.png", + groups = {armor_legs=1, armor_heal=0, armor_use=800, + physics_speed=-0.03, physics_gravity=0.03}, + armor_groups = {fleshy=15}, + damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, + }) + --- Steel Boots + -- + -- @boots 3d_armor:boots_steel + -- @img 3d_armor_inv_boots_steel.png + -- @grp armor_feet 1 + -- @grp armor_heal 0 + -- @grp armor_use 800 + -- @grp physics_speed -0.01 + -- @grp physics_gravity 0.01 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 2 + -- @damagegrp snappy 3 + -- @damagegrp choppy 2 + -- @damagegrp crumbly 1 + -- @damagegrp level 2 + armor:register_armor(":3d_armor:boots_steel", { + description = S("Steel Boots"), + inventory_image = "3d_armor_inv_boots_steel.png", + groups = {armor_feet=1, armor_heal=0, armor_use=800, + physics_speed=-0.01, physics_gravity=0.01}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=2, snappy=3, choppy=2, crumbly=1, level=2}, + }) + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "steel" + local m = armor.materials.steel + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.de.tr b/armor_steel/locale/armor_steel.de.tr new file mode 100644 index 0000000..04538be --- /dev/null +++ b/armor_steel/locale/armor_steel.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Stahlstiefel +Steel Chestplate=Stahlbrustplatte +Steel Helmet=Stahlhelm +Steel Leggings=Stahlhose \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.es.tr b/armor_steel/locale/armor_steel.es.tr new file mode 100644 index 0000000..6e71830 --- /dev/null +++ b/armor_steel/locale/armor_steel.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Botas de acero +Steel Chestplate=Peto de acero +Steel Helmet=Casco de acero +Steel Leggings=Grebas de acero \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.fr.tr b/armor_steel/locale/armor_steel.fr.tr new file mode 100644 index 0000000..d74fd9f --- /dev/null +++ b/armor_steel/locale/armor_steel.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Bottes en acier +Steel Chestplate=Cuirasse en acier +Steel Helmet=Casque en acier +Steel Leggings=Jambières en acier \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.it.tr b/armor_steel/locale/armor_steel.it.tr new file mode 100644 index 0000000..38095a0 --- /dev/null +++ b/armor_steel/locale/armor_steel.it.tr @@ -0,0 +1,13 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Stivali d'acciaio +Steel Chestplate=Corazza d'acciaio +Steel Helmet=Elmo d'acciaio +Steel Leggings=Gambali d'acciaio +Wood Boots=Stivali di legno +Wood Chestplate=Corazza di legno +Wood Helmet=Elmo di legno +Wood Leggings=Gambali di legno \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.ms.tr b/armor_steel/locale/armor_steel.ms.tr new file mode 100644 index 0000000..2d9fe08 --- /dev/null +++ b/armor_steel/locale/armor_steel.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=But Keluli +Steel Chestplate=Perisai Dada Keluli +Steel Helmet=Helmet Keluli +Steel Leggings=Perisai Kaki Keluli \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.pt.tr b/armor_steel/locale/armor_steel.pt.tr new file mode 100644 index 0000000..f898a11 --- /dev/null +++ b/armor_steel/locale/armor_steel.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Botas de Aço +Steel Chestplate=Peitoral de Aço +Steel Helmet=Capacete de Aço +Steel Leggings=Calças de Aço \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.pt_BR.tr b/armor_steel/locale/armor_steel.pt_BR.tr new file mode 100644 index 0000000..f898a11 --- /dev/null +++ b/armor_steel/locale/armor_steel.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=Botas de Aço +Steel Chestplate=Peitoral de Aço +Steel Helmet=Capacete de Aço +Steel Leggings=Calças de Aço \ No newline at end of file diff --git a/armor_steel/locale/armor_steel.ru.tr b/armor_steel/locale/armor_steel.ru.tr new file mode 100644 index 0000000..d7fcf18 --- /dev/null +++ b/armor_steel/locale/armor_steel.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots=стальные ботинки +Steel Chestplate=стальной бронежилет +Steel Helmet=стальной шлем +Steel Leggings=стальные гамаши \ No newline at end of file diff --git a/armor_steel/locale/template.txt b/armor_steel/locale/template.txt new file mode 100644 index 0000000..7438e0f --- /dev/null +++ b/armor_steel/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_steel + + +### init.lua ### + +Steel Boots= +Steel Chestplate= +Steel Helmet= +Steel Leggings= \ No newline at end of file diff --git a/armor_steel/mod.conf b/armor_steel/mod.conf new file mode 100644 index 0000000..962e756 --- /dev/null +++ b/armor_steel/mod.conf @@ -0,0 +1,3 @@ +name = armor_steel +depends = 3d_armor +description = Adds craftable steel armor. diff --git a/3d_armor/textures/3d_armor_boots_steel.png b/armor_steel/textures/3d_armor_boots_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_steel.png rename to armor_steel/textures/3d_armor_boots_steel.png diff --git a/3d_armor/textures/3d_armor_boots_steel_preview.png b/armor_steel/textures/3d_armor_boots_steel_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_steel_preview.png rename to armor_steel/textures/3d_armor_boots_steel_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_steel.png b/armor_steel/textures/3d_armor_chestplate_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_steel.png rename to armor_steel/textures/3d_armor_chestplate_steel.png diff --git a/3d_armor/textures/3d_armor_chestplate_steel_preview.png b/armor_steel/textures/3d_armor_chestplate_steel_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_steel_preview.png rename to armor_steel/textures/3d_armor_chestplate_steel_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_steel.png b/armor_steel/textures/3d_armor_helmet_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_steel.png rename to armor_steel/textures/3d_armor_helmet_steel.png diff --git a/3d_armor/textures/3d_armor_helmet_steel_preview.png b/armor_steel/textures/3d_armor_helmet_steel_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_steel_preview.png rename to armor_steel/textures/3d_armor_helmet_steel_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_steel.png b/armor_steel/textures/3d_armor_inv_boots_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_steel.png rename to armor_steel/textures/3d_armor_inv_boots_steel.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_steel.png b/armor_steel/textures/3d_armor_inv_chestplate_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_steel.png rename to armor_steel/textures/3d_armor_inv_chestplate_steel.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_steel.png b/armor_steel/textures/3d_armor_inv_helmet_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_steel.png rename to armor_steel/textures/3d_armor_inv_helmet_steel.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_steel.png b/armor_steel/textures/3d_armor_inv_leggings_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_steel.png rename to armor_steel/textures/3d_armor_inv_leggings_steel.png diff --git a/3d_armor/textures/3d_armor_leggings_steel.png b/armor_steel/textures/3d_armor_leggings_steel.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_steel.png rename to armor_steel/textures/3d_armor_leggings_steel.png diff --git a/3d_armor/textures/3d_armor_leggings_steel_preview.png b/armor_steel/textures/3d_armor_leggings_steel_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_steel_preview.png rename to armor_steel/textures/3d_armor_leggings_steel_preview.png diff --git a/armor_wood/LICENSE.txt b/armor_wood/LICENSE.txt new file mode 100644 index 0000000..f253f29 --- /dev/null +++ b/armor_wood/LICENSE.txt @@ -0,0 +1,26 @@ +[mod] 3d Armor [3d_armor] +========================= + +License Source Code +------------------- + +Copyright (C) 2012-2019 stujones11, Stuart Jones + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation; either version 2.1 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +License Textures +---------------- + +Copyright (C) 2017-2019 davidthecreator - CC-BY-SA 3.0 diff --git a/armor_wood/depends.txt b/armor_wood/depends.txt new file mode 100644 index 0000000..b6cac21 --- /dev/null +++ b/armor_wood/depends.txt @@ -0,0 +1 @@ +3d_armor diff --git a/armor_wood/description.txt b/armor_wood/description.txt new file mode 100644 index 0000000..482871d --- /dev/null +++ b/armor_wood/description.txt @@ -0,0 +1 @@ +Adds craftable wood armor. \ No newline at end of file diff --git a/armor_wood/init.lua b/armor_wood/init.lua new file mode 100644 index 0000000..0496e77 --- /dev/null +++ b/armor_wood/init.lua @@ -0,0 +1,186 @@ + +--- Registered armors. +-- +-- @topic armor + + +-- support for i18n +local S = armor.get_translator + +--- Wood +-- +-- Requires setting `armor_material_wood`. +-- +-- @section wood + +if armor.materials.wood then + --- Wood Helmet + -- + -- @helmet 3d_armor:helmet_wood + -- @img 3d_armor_inv_helmet_wood.png + -- @grp armor_head 1 + -- @grp armor_heal 0 + -- @grp armor_use 2000 + -- @grp flammable 1 + -- @armorgrp fleshy 5 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 3 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:helmet_wood", { + description = S("Wood Helmet"), + inventory_image = "3d_armor_inv_helmet_wood.png", + groups = {armor_head=1, armor_heal=0, armor_use=2000, flammable=1}, + armor_groups = {fleshy=5}, + damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, + }) + --- Wood Chestplate + -- + -- @chestplate 3d_armor:chestplate_wood + -- @img 3d_armor_inv_chestplate_wood.png + -- @grp armor_torso 1 + -- @grp armor_heal 0 + -- @grp armor_use 2000 + -- @grp flammable 1 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 3 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:chestplate_wood", { + description = S("Wood Chestplate"), + inventory_image = "3d_armor_inv_chestplate_wood.png", + groups = {armor_torso=1, armor_heal=0, armor_use=2000, flammable=1}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, + }) + --- Wood Leggings + -- + -- @leggings 3d_armor:leggings_wood + -- @img 3d_armor_inv_leggings_wood.png + -- @grp armor_legs 1 + -- @grp armor_heal 0 + -- @grp armor_use 1000 + -- @grp flammable 1 + -- @armorgrp fleshy 10 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 3 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:leggings_wood", { + description = S("Wood Leggings"), + inventory_image = "3d_armor_inv_leggings_wood.png", + groups = {armor_legs=1, armor_heal=0, armor_use=2000, flammable=1}, + armor_groups = {fleshy=10}, + damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, + }) + --- Wood Boots + -- + -- @boots 3d_armor:boots_wood + -- @img 3d_armor_inv_boots_wood.png + -- @grp armor_feet 1 + -- @grp armor_heal 0 + -- @grp armor_use 2000 + -- @grp flammable 1 + -- @armorgrp fleshy 5 + -- @damagegrp cracky 3 + -- @damagegrp snappy 2 + -- @damagegrp choppy 3 + -- @damagegrp crumbly 2 + -- @damagegrp level 1 + armor:register_armor(":3d_armor:boots_wood", { + description = S("Wood Boots"), + inventory_image = "3d_armor_inv_boots_wood.png", + armor_groups = {fleshy=5}, + damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=1}, + groups = {armor_feet=1, armor_heal=0, armor_use=2000, flammable=1}, + }) + local wood_armor_fuel = { + helmet = 6, + chestplate = 8, + leggings = 7, + boots = 5 + } + for armor, burn in pairs(wood_armor_fuel) do + minetest.register_craft({ + type = "fuel", + recipe = "3d_armor:" .. armor .. "_wood", + burntime = burn, + }) + end + + --- Crafting + -- + -- @section craft + + --- Craft recipes for helmets, chestplates, leggings, boots, & shields. + -- + -- @craft armor + -- @usage + -- Key: + -- - m: material + -- - wood: group:wood + -- - cactus: default:cactus + -- - steel: default:steel_ingot + -- - bronze: default:bronze_ingot + -- - diamond: default:diamond + -- - gold: default:gold_ingot + -- - mithril: moreores:mithril_ingot + -- - crystal: ethereal:crystal_ingot + -- - nether: nether:nether_ingot + -- + -- helmet: chestplate: leggings: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ m │ m │ m │ │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ │ m │ │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ ├───┼───┼───┤ + -- │ │ │ │ │ m │ m │ m │ │ m │ │ m │ + -- └───┴───┴───┘ └───┴───┴───┘ └───┴───┴───┘ + -- + -- boots: shield: + -- ┌───┬───┬───┐ ┌───┬───┬───┐ + -- │ │ │ │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ m │ m │ m │ + -- ├───┼───┼───┤ ├───┼───┼───┤ + -- │ m │ │ m │ │ │ m │ │ + -- └───┴───┴───┘ └───┴───┴───┘ + + local s = "wood" + local m = armor.materials.wood + minetest.register_craft({ + output = "3d_armor:helmet_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {"", "", ""}, + }, + }) + minetest.register_craft({ + output = "3d_armor:chestplate_"..s, + recipe = { + {m, "", m}, + {m, m, m}, + {m, m, m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:leggings_"..s, + recipe = { + {m, m, m}, + {m, "", m}, + {m, "", m}, + }, + }) + minetest.register_craft({ + output = "3d_armor:boots_"..s, + recipe = { + {m, "", m}, + {m, "", m}, + }, + }) +end \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.de.tr b/armor_wood/locale/armor_wood.de.tr new file mode 100644 index 0000000..35a7379 --- /dev/null +++ b/armor_wood/locale/armor_wood.de.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Holzstiefel +Wood Chestplate=Holzbrustplatte +Wood Helmet=Holzhelm +Wood Leggings=Holzhose \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.es.tr b/armor_wood/locale/armor_wood.es.tr new file mode 100644 index 0000000..a31e031 --- /dev/null +++ b/armor_wood/locale/armor_wood.es.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Botas de madera +Wood Chestplate=Peto de madera +Wood Helmet=Casco de madera +Wood Leggings=Grebas de madera \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.fr.tr b/armor_wood/locale/armor_wood.fr.tr new file mode 100644 index 0000000..3530b7a --- /dev/null +++ b/armor_wood/locale/armor_wood.fr.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Bottes en bois +Wood Chestplate=Cuirasse en bois +Wood Helmet=Casque en bois +Wood Leggings=Jambières en bois \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.it.tr b/armor_wood/locale/armor_wood.it.tr new file mode 100644 index 0000000..e14301f --- /dev/null +++ b/armor_wood/locale/armor_wood.it.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Stivali di legno +Wood Chestplate=Corazza di legno +Wood Helmet=Elmo di legno +Wood Leggings=Gambali di legno \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.ms.tr b/armor_wood/locale/armor_wood.ms.tr new file mode 100644 index 0000000..55ad062 --- /dev/null +++ b/armor_wood/locale/armor_wood.ms.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=But Kayu +Wood Chestplate=Perisai Dada Kayu +Wood Helmet=Helmet Kayu +Wood Leggings=Perisai Kaki Kayu \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.pt.tr b/armor_wood/locale/armor_wood.pt.tr new file mode 100644 index 0000000..92f7d46 --- /dev/null +++ b/armor_wood/locale/armor_wood.pt.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Botas de Madeira +Wood Chestplate=Peitoral de Madeira +Wood Helmet=Capacete de Madeira +Wood Leggings=Calças de Madeira \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.pt_BR.tr b/armor_wood/locale/armor_wood.pt_BR.tr new file mode 100644 index 0000000..92f7d46 --- /dev/null +++ b/armor_wood/locale/armor_wood.pt_BR.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=Botas de Madeira +Wood Chestplate=Peitoral de Madeira +Wood Helmet=Capacete de Madeira +Wood Leggings=Calças de Madeira \ No newline at end of file diff --git a/armor_wood/locale/armor_wood.ru.tr b/armor_wood/locale/armor_wood.ru.tr new file mode 100644 index 0000000..f0bed03 --- /dev/null +++ b/armor_wood/locale/armor_wood.ru.tr @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots=деревянные ботинки +Wood Chestplate=деревянный бронежилет +Wood Helmet=деревянный шлем +Wood Leggings=деревянные гамаши \ No newline at end of file diff --git a/armor_wood/locale/template.txt b/armor_wood/locale/template.txt new file mode 100644 index 0000000..57bb7e6 --- /dev/null +++ b/armor_wood/locale/template.txt @@ -0,0 +1,9 @@ +# textdomain: armor_wood + + +### init.lua ### + +Wood Boots= +Wood Chestplate= +Wood Helmet= +Wood Leggings= \ No newline at end of file diff --git a/armor_wood/mod.conf b/armor_wood/mod.conf new file mode 100644 index 0000000..2155fa3 --- /dev/null +++ b/armor_wood/mod.conf @@ -0,0 +1,3 @@ +name = armor_wood +depends = 3d_armor +description = Adds craftable wood armor. diff --git a/3d_armor/textures/3d_armor_boots_wood.png b/armor_wood/textures/3d_armor_boots_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_wood.png rename to armor_wood/textures/3d_armor_boots_wood.png diff --git a/3d_armor/textures/3d_armor_boots_wood_preview.png b/armor_wood/textures/3d_armor_boots_wood_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_boots_wood_preview.png rename to armor_wood/textures/3d_armor_boots_wood_preview.png diff --git a/3d_armor/textures/3d_armor_chestplate_wood.png b/armor_wood/textures/3d_armor_chestplate_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_wood.png rename to armor_wood/textures/3d_armor_chestplate_wood.png diff --git a/3d_armor/textures/3d_armor_chestplate_wood_preview.png b/armor_wood/textures/3d_armor_chestplate_wood_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_chestplate_wood_preview.png rename to armor_wood/textures/3d_armor_chestplate_wood_preview.png diff --git a/3d_armor/textures/3d_armor_helmet_wood.png b/armor_wood/textures/3d_armor_helmet_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_wood.png rename to armor_wood/textures/3d_armor_helmet_wood.png diff --git a/3d_armor/textures/3d_armor_helmet_wood_preview.png b/armor_wood/textures/3d_armor_helmet_wood_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_helmet_wood_preview.png rename to armor_wood/textures/3d_armor_helmet_wood_preview.png diff --git a/3d_armor/textures/3d_armor_inv_boots_wood.png b/armor_wood/textures/3d_armor_inv_boots_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_boots_wood.png rename to armor_wood/textures/3d_armor_inv_boots_wood.png diff --git a/3d_armor/textures/3d_armor_inv_chestplate_wood.png b/armor_wood/textures/3d_armor_inv_chestplate_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_chestplate_wood.png rename to armor_wood/textures/3d_armor_inv_chestplate_wood.png diff --git a/3d_armor/textures/3d_armor_inv_helmet_wood.png b/armor_wood/textures/3d_armor_inv_helmet_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_helmet_wood.png rename to armor_wood/textures/3d_armor_inv_helmet_wood.png diff --git a/3d_armor/textures/3d_armor_inv_leggings_wood.png b/armor_wood/textures/3d_armor_inv_leggings_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_inv_leggings_wood.png rename to armor_wood/textures/3d_armor_inv_leggings_wood.png diff --git a/3d_armor/textures/3d_armor_leggings_wood.png b/armor_wood/textures/3d_armor_leggings_wood.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_wood.png rename to armor_wood/textures/3d_armor_leggings_wood.png diff --git a/3d_armor/textures/3d_armor_leggings_wood_preview.png b/armor_wood/textures/3d_armor_leggings_wood_preview.png similarity index 100% rename from 3d_armor/textures/3d_armor_leggings_wood_preview.png rename to armor_wood/textures/3d_armor_leggings_wood_preview.png