Get rid of player_textures mod
it's obsolete and there are better skins mods out there I recommend skinsdb
This commit is contained in:
parent
4aafaa3ee3
commit
ac8d5c3ae0
@ -143,7 +143,6 @@ Sokomines_mods/locks \
|
||||
nekogloops_mods/glooptest \
|
||||
Calinous_mods/moreblocks \
|
||||
CWzs_mods/replacer \
|
||||
CWzs_mods/player_textures \
|
||||
bobblocks \
|
||||
unifiedbricks \
|
||||
my_mods/pipeworks \
|
||||
@ -534,20 +533,8 @@ mv $workdir"/mods/dreambuilder_extras/dreambuilder_theme_settings" \
|
||||
|
||||
rsync -a $upstream_mods_path"/my_mods/dreambuilder_themes/dreambuilder_theme_light" $workdir/mods
|
||||
|
||||
# Add in all of the regular player skins for the player_textures mod
|
||||
|
||||
rm -f $workdir/mods/player_textures/textures/*
|
||||
|
||||
LIST="player_Calinou.png
|
||||
player_cheapie.png
|
||||
player_kaeza.png
|
||||
player_Sokomine.png
|
||||
player_VanessaE.png"
|
||||
|
||||
while read -r FILE; do
|
||||
cp $upstream_mods_path"/../player_skins/"$FILE \
|
||||
$workdir/mods/player_textures/textures
|
||||
done <<< "$LIST"
|
||||
# Finally, strip-out the individual mods' .git dirs
|
||||
# and copy the completed game to the target dir
|
||||
|
||||
rsync -aL \
|
||||
--exclude=".git*" \
|
||||
@ -563,5 +550,5 @@ rm -rf $workdir*
|
||||
|
||||
echo -e "\nCustomization completed.\n"
|
||||
|
||||
#echo -e "Here's what will be included in the game:\n"
|
||||
#ls -a $game_path $game_path/mods
|
||||
echo -e "Here's what will be included in the game:\n"
|
||||
ls -a $game_path $game_path/mods
|
||||
|
@ -1,24 +0,0 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <http://unlicense.org/>
|
@ -1 +0,0 @@
|
||||
Works pretty much the same as every other version of this mod. Put skins in the textures directory, with the name following the pattern "player_%s.png", where %s is the player name.
|
@ -1,2 +0,0 @@
|
||||
default
|
||||
player_api
|
@ -1,25 +0,0 @@
|
||||
local function pivot(table)
|
||||
local ret = {}
|
||||
for k,v in pairs(table) do
|
||||
ret[v] = k
|
||||
end
|
||||
return ret
|
||||
end
|
||||
|
||||
local textures = pivot(minetest.get_dir_list(minetest.get_modpath("player_textures")..DIR_DELIM.."textures"))
|
||||
local mesh = minetest.get_modpath("3d_armor") and "3d_armor_character.b3d" or "character.b3d"
|
||||
|
||||
local function applyskin(player)
|
||||
local name = player:get_player_name()
|
||||
if textures[string.format("player_%s.png",name)] then
|
||||
if minetest.get_modpath("default") then
|
||||
default.player_set_textures(player,string.format("player_%s.png",name))
|
||||
end
|
||||
player:set_properties({textures={string.format("player_%s.png",name)}})
|
||||
end
|
||||
player:set_properties({visual="mesh",visual_size={x=1,y=1},mesh=mesh})
|
||||
end
|
||||
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
applyskin(player)
|
||||
end)
|
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.7 KiB |
Loading…
x
Reference in New Issue
Block a user