Removed not used 3d_armor_ip (inventory plus) and 3d_armor_ui (unified inventory) mods

master
daret 2020-11-15 18:20:04 +01:00
parent ef93db5fdc
commit f40a485dbe
15 changed files with 0 additions and 283 deletions

View File

@ -1,100 +0,0 @@
#!/bin/bash
LIB="$(realpath $(dirname $0))" # Absolute path
PROJ="$(dirname $LIB)" # Subgame dir (..)
SRC="$(dirname $PROJ)"/mods_src/ # mods sources (../..)
DST="$PROJ"/mods/ # Subgame mods
LOG="$PROJ"/mod_sources.txt
source "$LIB"/build-whynot.lib
cd "$SRC" # for proper resolving the '*'
## Sync minetest_game
# exclude farming =>Tenplus1/farming is used
# exclude player_api => bell07/player_api_modpack is used
# exclude env_sounds => Tenplus1/ambience is used
mod_install minetest_game --exclude=farming --exclude=player_api --exclude=env_sounds minetest_game/mods/*
mod_install libs
mod_install player
mod_install player --exclude=skins player_api_modpack/* #skinsdb5 should be used, therefore skins masked
mod_install player 3d_armor/3d_armor_stand
mod_install player 3d_armor/shields
mod_install player 3d_armor/3d_armor_sfinv
mod_install player smart_sfinv_modpack/*
mod_install ambience
mod_install flora_ores
mod_install mapgen
mod_install tools
mod_install tools flight/flyingcarpet
mod_install decor
mod_install decor homedecor_modpack/building_blocks #grate and marble in recipes
# no computers - I use laptop mod
mod_install decor homedecor_modpack/fake_fire
# no inbox, itemframes
mod_install decor homedecor_modpack/lavalamp
mod_install decor homedecor_modpack/plasmascreen
## the homedecor blob was in whynot, therefore applied all at the first
## Next step is to check each mod for whynot rules
# no 3d_extras
mod_install decor homedecor_modpack/homedecor_bathroom
mod_install decor homedecor_modpack/homedecor_bedroom
mod_install decor homedecor_modpack/homedecor_books
mod_install decor homedecor_modpack/homedecor_climate_control
mod_install decor homedecor_modpack/homedecor_clocks
mod_install decor homedecor_modpack/homedecor_cobweb
mod_install decor homedecor_modpack/homedecor_common
mod_install decor homedecor_modpack/homedecor_doors_and_gates
mod_install decor homedecor_modpack/homedecor_electrical
mod_install decor homedecor_modpack/homedecor_electronics
mod_install decor homedecor_modpack/homedecor_exterior
mod_install decor homedecor_modpack/homedecor_fences
mod_install decor homedecor_modpack/homedecor_foyer
mod_install decor homedecor_modpack/homedecor_furniture
mod_install decor homedecor_modpack/homedecor_furniture_medieval
mod_install decor homedecor_modpack/homedecor_gastronomy
mod_install decor homedecor_modpack/homedecor_kitchen
mod_install decor homedecor_modpack/homedecor_laundry
mod_install decor homedecor_modpack/homedecor_lighting
mod_install decor homedecor_modpack/homedecor_misc
mod_install decor homedecor_modpack/homedecor_office
mod_install decor homedecor_modpack/homedecor_pictures_and_paintings
mod_install decor homedecor_modpack/homedecor_roofing
mod_install decor homedecor_modpack/homedecor_seating
mod_install decor homedecor_modpack/homedecor_tables
mod_install decor homedecor_modpack/homedecor_trash_cans
# warderobe is from player_api fork
mod_install decor homedecor_modpack/homedecor_windows_and_treatments
mod_install decor mydoors/my_castle_doors
mod_install decor mydoors/my_cottage_doors
mod_install decor mydoors/my_default_doors
mod_install decor mydoors/my_door_wood
mod_install decor mydoors/my_fancy_doors
mod_install decor mydoors/my_future_doors
mod_install decor mydoors/my_hidden_doors
mod_install decor mydoors/my_misc_doors
mod_install decor mydoors/my_old_doors
mod_install decor mydoors/my_old_doors
mod_install food food_modpack/food food_modpack/food_basic food/*
mod_install mesecons --exclude=mesecons_lucacontroller \
--exclude=mesecons_commandblock \
--exclude=mesecons_detector \
--exclude=mesecons_fpga \
--exclude=mesecons_gates \
--exclude=mesecons_hydroturbine \
--exclude=mesecons_luacontroller \
--exclude=mesecons_microcontroller \
--exclude=mesecons_stickyblocks \
mesecons/*
mod_install mobs_redo mobs_redo/*

View File

@ -1,18 +0,0 @@
[mod] 3d Armor integration to inventory plus [3d_armor_ip]
==========================================================
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
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.

View File

@ -1,2 +0,0 @@
3d_armor
inventory_plus?

View File

@ -1 +0,0 @@
Adds 3d_armor page to the inventory plus.

View File

@ -1,38 +0,0 @@
-- support for i18n
local S = minetest.get_translator(minetest.get_current_modname())
local F = minetest.formspec_escape
if not minetest.global_exists("inventory_plus") then
minetest.log("warning", S("3d_armor_ip: Mod loaded but unused."))
return
end
armor.formspec = "size[8,8.5]button[6,0;2,0.5;main;"..F(S("Back")).."]"..armor.formspec
armor:register_on_update(function(player)
local name = player:get_player_name()
local formspec = armor:get_armor_formspec(name, true)
local page = player:get_inventory_formspec()
if page:find("detached:"..name.."_armor") then
inventory_plus.set_inventory_formspec(player, formspec)
end
end)
if minetest.get_modpath("crafting") then
inventory_plus.get_formspec = function(player, page)
end
end
minetest.register_on_joinplayer(function(player)
inventory_plus.register_button(player,"armor", S("Armor"))
end)
minetest.register_on_player_receive_fields(function(player, formname, fields)
if fields.armor then
local name = armor:get_valid_player(player, "[on_player_receive_fields]")
if not name then
return
end
local formspec = armor:get_armor_formspec(name, true)
inventory_plus.set_inventory_formspec(player, formspec)
end
end)

View File

@ -1,8 +0,0 @@
# textdomain: 3d_armor_ip
### init.lua ###
3d_armor_ip: Mod loaded but unused.=3d_armor_ip : Mod chargé mais inutilisé.
Armor=Armure
Back=Retour

View File

@ -1,8 +0,0 @@
# textdomain: 3d_armor_ip
### init.lua ###
3d_armor_ip: Mod loaded but unused.=
Armor=
Back=

View File

@ -1,4 +0,0 @@
name = 3d_armor_ip
depends = 3d_armor
optional_depends = inventory_plus
description = Adds 3d_armor page to the inventory plus.

View File

@ -1,18 +0,0 @@
[mod] 3d Armor integration to unified inventory [3d_armor_ui]
=============================================================
Copyright (C) 2012-2019 stujones11, Stuart Jones <stujones111@gmail.com>
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.

View File

@ -1,2 +0,0 @@
3d_armor
unified_inventory?

View File

@ -1 +0,0 @@
Adds 3d_armor page to the unified inventory.

View File

@ -1,53 +0,0 @@
-- support for i18n
local S = minetest.get_translator(minetest.get_current_modname())
local F = minetest.formspec_escape
local has_technic = minetest.get_modpath("technic") ~= nil
if not minetest.global_exists("unified_inventory") then
minetest.log("warning", S("3d_armor_ui: Mod loaded but unused."))
return
end
if unified_inventory.sfinv_compat_layer then
return
end
armor:register_on_update(function(player)
local name = player:get_player_name()
if unified_inventory.current_page[name] == "armor" then
unified_inventory.set_inventory_formspec(player, "armor")
end
end)
unified_inventory.register_button("armor", {
type = "image",
image = "inventory_plus_armor.png",
tooltip = S("3d Armor")
})
unified_inventory.register_page("armor", {
get_formspec = function(player, perplayer_formspec)
local fy = perplayer_formspec.formspec_y
local name = player:get_player_name()
if armor.def[name].init_time == 0 then
return {formspec="label[0,0;"..F(S("Armor not initialized!")).."]"}
end
local formspec = "background[0.06,"..fy..";7.92,7.52;3d_armor_ui_form.png]"..
"label[0,0;"..F(S("Armor")).."]"..
"list[detached:"..name.."_armor;armor;0,"..fy..";2,3;]"..
"image[2.5,"..(fy - 0.25)..";2,4;"..armor.textures[name].preview.."]"..
"label[5.0,"..(fy + 0.0)..";"..F(S("Level"))..": "..armor.def[name].level.."]"..
"label[5.0,"..(fy + 0.5)..";"..F(S("Heal"))..": "..armor.def[name].heal.."]"..
"listring[current_player;main]"..
"listring[detached:"..name.."_armor;armor]"
if armor.config.fire_protect then
formspec = formspec.."label[5.0,"..(fy + 1.0)..";"..
F(S("Fire"))..": "..armor.def[name].fire.."]"
end
if has_technic then
formspec = formspec.."label[5.0,"..(fy + 1.5)..";"..
F(S("Radiation"))..": "..armor.def[name].groups["radiation"].."]"
end
return {formspec=formspec}
end,
})

View File

@ -1,13 +0,0 @@
# textdomain: 3d_armor_ui
### init.lua ###
3d Armor=Armure 3d
3d_armor_ui: Mod loaded but unused.=3d_armor_ui : Mod chargé mais inutilisé.
Armor=Armure
Armor not initialized!=Armure non initialisée !
Fire=Feu
Heal=Soins
Level=Niveau
Radiation=Radiation

View File

@ -1,13 +0,0 @@
# textdomain: 3d_armor_ui
### init.lua ###
3d Armor=
3d_armor_ui: Mod loaded but unused.=
Armor=
Armor not initialized!=
Fire=
Heal=
Level=
Radiation=

View File

@ -1,4 +0,0 @@
name = 3d_armor_ui
depends = 3d_armor
optional_depends = unified_inventory
description = Adds 3d_armor page to the unified inventory.