version 0.21
This commit is contained in:
parent
bd1233aaf1
commit
c8d70b992c
1717 changed files with 68882 additions and 0 deletions
15
mods/player_textures/README.txt
Normal file
15
mods/player_textures/README.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
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
|
1
mods/player_textures/depends.txt
Normal file
1
mods/player_textures/depends.txt
Normal file
|
@ -0,0 +1 @@
|
|||
default
|
10
mods/player_textures/init.lua
Normal file
10
mods/player_textures/init.lua
Normal file
|
@ -0,0 +1,10 @@
|
|||
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)
|
BIN
mods/player_textures/textures/player_Warashperbury.png
Normal file
BIN
mods/player_textures/textures/player_Warashperbury.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
mods/player_textures/textures/player_davedevils.png
Normal file
BIN
mods/player_textures/textures/player_davedevils.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
mods/player_textures/textures/player_singleplayer.png
Normal file
BIN
mods/player_textures/textures/player_singleplayer.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Loading…
Add table
Add a link
Reference in a new issue