Compare commits

...

5 Commits

Author SHA1 Message Date
LoneWolfHT ead6fb3fcc
Update depends.txt 2020-02-09 17:28:28 -08:00
Lone_Wolf 47e0257db0
Update LICENSE 2019-01-13 14:25:15 -08:00
Lone_Wolf 8be66c53d8
Update init.lua 2018-07-15 14:10:24 -07:00
Lone_Wolf 0ee9be1d06
Add files via upload 2018-02-09 22:46:58 -08:00
Lone_Wolf 3309620088
Delete screenshot.png 2018-02-09 22:46:26 -08:00
4 changed files with 15 additions and 20 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2018 Lone_Wolf
Copyright (c) 2018-2019 Lone_Wolf
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,2 +1 @@
default
3d_armor
3d_armor

View File

@ -1,19 +1,15 @@
minetest.register_on_joinplayer(function(player)
local name = player:get_player_name()
end)
minetest.register_chatcommand("armor", {
description = "Open Armor Formspec.",
func = function(name, param)
minetest.show_formspec(name, "armorform",
"size[8,5]" ..
"bgcolor[#080808BB;true]" ..
"background[5,5;1,1;gui_formbg.png;true]" ..
"listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" ..
"list[detached:".. name .."_armor;armor;1.5,0;5,1;]" ..
"list[current_player;main;0,1.2;8,1;]" ..
"list[current_player;main;0,2.35;8,3;8]" ..
"listring[current_player;main]" ..
"listring[detached:".. name .."_armor;armor]")
description = "Open Armor Formspec.",
func = function(name, param)
minetest.show_formspec(name, "armorform",
"size[8,5]" ..
"bgcolor[#080808BB;true]" ..
"background[5,5;1,1;gui_formbg.png;true]" ..
"listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]" ..
"list[detached:".. name .."_armor;armor;1.5,0;5,1;]" ..
"list[current_player;main;0,1.2;8,1;]" ..
"list[current_player;main;0,2.35;8,3;8]" ..
"listring[current_player;main]" ..
"listring[detached:".. name .."_armor;armor]")
end,
})
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 B

After

Width:  |  Height:  |  Size: 29 KiB