1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2025-06-29 06:40:41 +02:00

8 Commits

Author SHA1 Message Date
4b70580ce4 Update licensing information 2017-01-08 18:54:24 +00:00
65b6d58580 Prevent armor damage when using /killme command 2016-12-07 19:24:00 +00:00
98786fd8f7 Add killme command to replace old kill command 2016-11-27 17:18:08 +00:00
9105e8403e Merge pull request #62 from paly2/kill_chatcommand_privs
Add "ban" privilege for kill chatcommand
2016-11-27 16:50:03 +00:00
6b2e3adc00 Bump version to 0.4.6 2016-11-27 16:22:29 +00:00
c9001f9e53 Rebase armor model, armature and UV fixes 2016-11-27 16:11:51 +00:00
c39f838893 Fix a mistake in the kill chatcommand
Use "param" instead of "name" in "func"
2016-06-17 18:29:43 +02:00
862deff373 Add "ban" privilege for kill chatcommand 2016-06-17 16:08:50 +02:00
14 changed files with 56 additions and 12 deletions

7
3d_armor/LICENSE.txt Normal file
View File

@ -0,0 +1,7 @@
[mod] 3d Armor [3d_armor]
=========================
License Source Code: (C) 2012-2017 Stuart Jones - LGPL v2.1
License Textures: Copyright (C) 2013-2017 Ryan Jones - CC-BY-SA 3.0

View File

@ -64,7 +64,7 @@ armor = {
.."listring[current_player;craft]", .."listring[current_player;craft]",
textures = {}, textures = {},
default_skin = "character", default_skin = "character",
version = "0.4.5", version = "0.4.6",
} }
if minetest.get_modpath("inventory_plus") then if minetest.get_modpath("inventory_plus") then
@ -397,7 +397,7 @@ minetest.register_on_joinplayer(function(player)
allow_move = function(inv, from_list, from_index, to_list, to_index, count, player) allow_move = function(inv, from_list, from_index, to_list, to_index, count, player)
return count return count
end, end,
}) }, name)
if inv_mod == "inventory_plus" then if inv_mod == "inventory_plus" then
inventory_plus.register_button(player,"armor", "Armor") inventory_plus.register_button(player,"armor", "Armor")
end end
@ -626,7 +626,18 @@ end)
minetest.register_chatcommand("kill", { minetest.register_chatcommand("kill", {
params = "<name>", params = "<name>",
description = "Kills player instantly", description = "Kills player instantly",
privs = {ban=true},
func = function(name, param) func = function(name, param)
local player = minetest.get_player_by_name(param)
if player then
player:set_hp(0)
end
end,
})
minetest.register_chatcommand("killme", {
description = "Kill yourself instantly",
func = function(name)
local player = minetest.get_player_by_name(name) local player = minetest.get_player_by_name(name)
if player then if player then
player:set_hp(-1001) player:set_hp(-1001)

View File

@ -1,7 +1,7 @@
[mod] 3d Armor Stand [3d_armor_stand] [mod] 3d Armor Stand [3d_armor_stand]
===================================== =====================================
License Source Code: LGPL v2.1 License Source Code: (C) 2016-2017 Stuart Jones - LGPL v2.1
Lecense Media: CC BY-SA 3.0 Lecense Media: (C) 2016-2017 Stuart Jones - CC BY-SA 3.0

View File

@ -1,11 +1,9 @@
3D Armor - Visible Player Armor 3D Armor - Visible Player Armor
=============================== ===============================
Default Item Textures (C) Cisoun - WTFPL License Source Code: Copyright (C) 2013-2017 Stuart Jones - LGPL v2.1
Armor Textures: Copyright (C) 2013 Ryan Jones - CC-BY-SA Armor Textures: Copyright (C) 2013-2017 Ryan Jones - CC-BY-SA 3.0
Source Code: Copyright (C) 2013 Stuart Jones - LGPL
Special credit to Jordach and MirceaKitsune for providing the default 3d character model. Special credit to Jordach and MirceaKitsune for providing the default 3d character model.

View File

@ -1,4 +1,4 @@
Modpack - 3d Armor [0.4.5] Modpack - 3d Armor [0.4.6]
========================== ==========================
### Table of Contents ### Table of Contents

7
hazmat_suit/LICENSE.txt Normal file
View File

@ -0,0 +1,7 @@
[mod] Hazmat Suit [hazmat_suit]
===============================
License Source Code: Copyright (C) 2015-2017 Stuart Jones - LGPL v2.1
License Textures: HybridDog and numberZero - WTFPL

View File

@ -1,5 +1,5 @@
[mod] Hazmat Suit [hazmat_suit] [mod] Hazmat Suit [hazmat_suit]
=================================== ===============================
Adds hazmat suit to 3d_armor. It protects rather well from fire (if enabled in configuration) and radiation, and it has built-in oxygen supply. Adds hazmat suit to 3d_armor. It protects rather well from fire (if enabled in configuration) and radiation, and it has built-in oxygen supply.
Requires technic mod. Requires technic mod.
@ -7,4 +7,4 @@ Requires technic mod.
Depends: 3d_armor, technic Depends: 3d_armor, technic
Source code by numZero Source code by numZero
Textures by HybridDog and numZero Textures by HybridDog and numberZero

6
shields/LICENSE.txt Normal file
View File

@ -0,0 +1,6 @@
[mod] Shields [shields]
=======================
License Source Code: Copyright (C) 2013-2017 Stuart Jones - LGPL v2.1
License Textures: Copyright (C) 2013-2017 Ryan Jones - CC-BY-SA 3.0

View File

@ -1,3 +1,6 @@
[mod] Shields [shields]
=======================
Adds shields to 3d_armor Adds shields to 3d_armor
Depends: 3d_armor Depends: 3d_armor

View File

@ -0,0 +1,7 @@
[mod] Technic Armor [technic_armor]
===================================
License Source Code: Copyright (C) 2013-2017 Stuart Jones - LGPL v2.1
License Textures: poet.nohit and numberZero - WTFPL

View File

@ -6,4 +6,4 @@ Requires technic (technic_worldgen at least) mod.
Depends: 3d_armor, technic_worldgen Depends: 3d_armor, technic_worldgen
Source code and textures by poet.nohit and numzero Textures by poet.nohit and numberZero

5
wieldview/LICENSE.txt Normal file
View File

@ -0,0 +1,5 @@
[mod] visible wielded items [wieldview]
=======================================
License Source Code: Copyright (C) 2013-2017 Stuart Jones - LGPL v2.1