rename mod as 3d_armor_technic and retunrn to the modpack

* the mod was splited in the past due the dependencies.. but now
  the new code determines if are loaded or not, and also manages
  if the dependency are satifased or no.. this is just a
  only one init lua file so manage in external repo its nonsense..
* remove stupid things of luacheck provided by BuckarooBanzay
  not necesary for a simple mod
master
mckaygerhard 2023-01-12 22:45:49 -04:00
parent 4723a16501
commit a4bc167bd0
7 changed files with 9 additions and 24 deletions

View File

@ -1,13 +0,0 @@
name: luacheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: apt
run: sudo apt-get install -y luarocks
- name: luacheck install
run: luarocks install --local luacheck
- name: luacheck run
run: $HOME/.luarocks/bin/luacheck ./

View File

@ -1,4 +0,0 @@
globals = {
"armor",
"minetest",
}

View File

@ -1,4 +1,6 @@
License Source Code: Copyright (C) 2013-2018 Stuart Jones - LGPL v2.1
License Source Code: Copyright (C) 2023 mckayerhard CC-BY-SA-NC
License Textures: poet-nohit and numberZero - 2015-2018 WTFPL

View File

@ -1,4 +1,4 @@
minetest mod technic_armor
minetest mod 3d_armor_technic
============================
ARMOR from procesed materials
@ -13,8 +13,8 @@ Adds armor made from lead, brass, cast iron, carbon steel, stainless steel, tin
Technical information
---------------------
This mod is named `technic_armor` and was part of the `3d_armor`,
it was slited since version 0.4.11 of `3d_armor`
This mod is named `3d_armor_technic` and is(was) part of the `3d_armor`,
it was slited since version 0.4.11 of `3d_armor` now in minenux flavor merged again
#### Depends

View File

@ -1 +1 @@
Adds armor made from lead, brass, cast iron, carbon steel, stainless steel, tin and silver
ARMOR TECH made from lead, brass, cast iron, carbon steel, stainless steel, tin and silver

View File

@ -4,7 +4,7 @@ local S = armor_i18n.gettext
local F = armor_i18n.fgettext
if not minetest.get_modpath("technic_worldgen") then
minetest.log("warning", S("[technic_armor]: Mod loaded but unused."))
minetest.log("warning", S("[3d_armor_technic]: Mod loaded but unused."))
return
end
@ -136,7 +136,7 @@ end
for material, m in pairs(materials) do
for part, p in pairs(parts) do
local name = "technic_armor:"..part.."_"..material
local name = ":3d_armor:"..part.."_"..material
armor:register_armor(name, {
description = S("@1 @2", m.name, p.name),
inventory_image = "technic_armor_inv_"..part.."_"..material..".png",

View File

@ -1,5 +1,5 @@
title = technic_armor
name = technic_armor
description = Adds armor made from lead, brass, cast iron, carbon steel, stainless steel, tin and silver
description = ARMOR TECH made from lead, brass, cast iron, carbon steel, stainless steel, tin and silver
depends = 3d_armor
optional_depends = default, moreores, technic_worldgen