1
0
Fork 0

Remove player_textures

This commit is contained in:
Wuzzy 2017-01-09 00:55:04 +01:00
parent 9ee0c889f6
commit d28ec6f5e8
6 changed files with 0 additions and 26 deletions

View File

@ -1,15 +0,0 @@
Player Textures Mod for Minetest
================================
This mod allows players to use different textures. Just place the texture in
the player_textures/textures/ folder like this:
player_<player_name>.png
and the player with the name <player_name> will have this textures.
License of source code:
-----------------------
WTFPL
License of the example textures:
--------------------------------
WTFPL

View File

@ -1 +0,0 @@
default

View File

@ -1,10 +0,0 @@
minetest.register_on_joinplayer(function(player)
local filename = minetest.get_modpath("player_textures").."/textures/player_"..player:get_player_name()
local f = io.open(filename..".png")
if f then
f:close()
player:set_properties({
textures = {"player_"..player:get_player_name()..".png", "player_"..player:get_player_name().."_back.png"},
})
end
end)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 664 B