From da66780a569712c23ae4f2996cfb4608a9f9d69d Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Fri, 1 Apr 2016 20:02:19 -0400 Subject: copy all standard Dreambuilder mods in from the old subgame (exactly as last supplied there, updates to these mods will follow later) --- player_textures/README.txt | 15 ++++++++++++ player_textures/depends.txt | 1 + player_textures/init.lua | 27 +++++++++++++++++++++ player_textures/textures/player_Calinou.png | Bin 0 -> 2493 bytes player_textures/textures/player_Evergreen.png | Bin 0 -> 8362 bytes player_textures/textures/player_Jordach.png | Bin 0 -> 2955 bytes player_textures/textures/player_PilzAdam.png | Bin 0 -> 879 bytes player_textures/textures/player_PilzAdam_back.png | Bin 0 -> 152 bytes player_textures/textures/player_ShadowNinja.png | Bin 0 -> 158 bytes player_textures/textures/player_Sokomine.png | Bin 0 -> 2108 bytes .../textures/player_VanessaEzekowitz.png | Bin 0 -> 2678 bytes player_textures/textures/player_Zeg9.png | Bin 0 -> 2704 bytes player_textures/textures/player_cheapie.png | Bin 0 -> 679 bytes player_textures/textures/player_crazyginger72.png | Bin 0 -> 60056 bytes player_textures/textures/player_kaeza.png | Bin 0 -> 3773 bytes player_textures/textures/player_oOChainLynxOo.png | Bin 0 -> 1071 bytes player_textures/textures/player_playzooki.png | Bin 0 -> 627 bytes player_textures/textures/player_sdzen.png | Bin 0 -> 2427 bytes player_textures/textures/player_shadowzone.png | Bin 0 -> 274679 bytes 19 files changed, 43 insertions(+) create mode 100644 player_textures/README.txt create mode 100644 player_textures/depends.txt create mode 100644 player_textures/init.lua create mode 100644 player_textures/textures/player_Calinou.png create mode 100644 player_textures/textures/player_Evergreen.png create mode 100644 player_textures/textures/player_Jordach.png create mode 100644 player_textures/textures/player_PilzAdam.png create mode 100644 player_textures/textures/player_PilzAdam_back.png create mode 100644 player_textures/textures/player_ShadowNinja.png create mode 100644 player_textures/textures/player_Sokomine.png create mode 100644 player_textures/textures/player_VanessaEzekowitz.png create mode 100644 player_textures/textures/player_Zeg9.png create mode 100644 player_textures/textures/player_cheapie.png create mode 100644 player_textures/textures/player_crazyginger72.png create mode 100644 player_textures/textures/player_kaeza.png create mode 100644 player_textures/textures/player_oOChainLynxOo.png create mode 100644 player_textures/textures/player_playzooki.png create mode 100644 player_textures/textures/player_sdzen.png create mode 100644 player_textures/textures/player_shadowzone.png (limited to 'player_textures') diff --git a/player_textures/README.txt b/player_textures/README.txt new file mode 100644 index 0000000..ffd9dc1 --- /dev/null +++ b/player_textures/README.txt @@ -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_.png +and the player with the name will have this textures. + +License of source code: +----------------------- +WTFPL + +License of the example textures: +-------------------------------- +WTFPL diff --git a/player_textures/depends.txt b/player_textures/depends.txt new file mode 100644 index 0000000..4ad96d5 --- /dev/null +++ b/player_textures/depends.txt @@ -0,0 +1 @@ +default diff --git a/player_textures/init.lua b/player_textures/init.lua new file mode 100644 index 0000000..c38b347 --- /dev/null +++ b/player_textures/init.lua @@ -0,0 +1,27 @@ +local mod_path = minetest.get_modpath(minetest.get_current_modname()) +local got_tex = {} +local got_gdl = minetest.get_dir_list + +if got_gdl then + for _, name in pairs(minetest.get_dir_list(mod_path.."/textures")) do + if name:sub(1, 7) == "player_" then + local player_name = name:sub(8):match("(.+)%.") + got_tex[player_name] = true + end + end +end + +minetest.register_on_joinplayer(function(player) + local player_name = player:get_player_name() + local tex = "player_"..player_name..".png" + if got_gdl then + if not got_tex[player_name] then return end + else + if not io.open(mod_path.."/textures/"..tex) then + return + end + end + player:set_properties({textures = {tex}}) +end) + + diff --git a/player_textures/textures/player_Calinou.png b/player_textures/textures/player_Calinou.png new file mode 100644 index 0000000..fb3026d Binary files /dev/null and b/player_textures/textures/player_Calinou.png differ diff --git a/player_textures/textures/player_Evergreen.png b/player_textures/textures/player_Evergreen.png new file mode 100644 index 0000000..39b9bee Binary files /dev/null and b/player_textures/textures/player_Evergreen.png differ diff --git a/player_textures/textures/player_Jordach.png b/player_textures/textures/player_Jordach.png new file mode 100644 index 0000000..d1204a6 Binary files /dev/null and b/player_textures/textures/player_Jordach.png differ diff --git a/player_textures/textures/player_PilzAdam.png b/player_textures/textures/player_PilzAdam.png new file mode 100644 index 0000000..795b7a0 Binary files /dev/null and b/player_textures/textures/player_PilzAdam.png differ diff --git a/player_textures/textures/player_PilzAdam_back.png b/player_textures/textures/player_PilzAdam_back.png new file mode 100644 index 0000000..588e5fb Binary files /dev/null and b/player_textures/textures/player_PilzAdam_back.png differ diff --git a/player_textures/textures/player_ShadowNinja.png b/player_textures/textures/player_ShadowNinja.png new file mode 100644 index 0000000..a1d49cf Binary files /dev/null and b/player_textures/textures/player_ShadowNinja.png differ diff --git a/player_textures/textures/player_Sokomine.png b/player_textures/textures/player_Sokomine.png new file mode 100644 index 0000000..5885f1a Binary files /dev/null and b/player_textures/textures/player_Sokomine.png differ diff --git a/player_textures/textures/player_VanessaEzekowitz.png b/player_textures/textures/player_VanessaEzekowitz.png new file mode 100644 index 0000000..4a47814 Binary files /dev/null and b/player_textures/textures/player_VanessaEzekowitz.png differ diff --git a/player_textures/textures/player_Zeg9.png b/player_textures/textures/player_Zeg9.png new file mode 100644 index 0000000..ca604be Binary files /dev/null and b/player_textures/textures/player_Zeg9.png differ diff --git a/player_textures/textures/player_cheapie.png b/player_textures/textures/player_cheapie.png new file mode 100644 index 0000000..19c2eff Binary files /dev/null and b/player_textures/textures/player_cheapie.png differ diff --git a/player_textures/textures/player_crazyginger72.png b/player_textures/textures/player_crazyginger72.png new file mode 100644 index 0000000..dabe922 Binary files /dev/null and b/player_textures/textures/player_crazyginger72.png differ diff --git a/player_textures/textures/player_kaeza.png b/player_textures/textures/player_kaeza.png new file mode 100644 index 0000000..fcfb03b Binary files /dev/null and b/player_textures/textures/player_kaeza.png differ diff --git a/player_textures/textures/player_oOChainLynxOo.png b/player_textures/textures/player_oOChainLynxOo.png new file mode 100644 index 0000000..6987918 Binary files /dev/null and b/player_textures/textures/player_oOChainLynxOo.png differ diff --git a/player_textures/textures/player_playzooki.png b/player_textures/textures/player_playzooki.png new file mode 100644 index 0000000..dbf9925 Binary files /dev/null and b/player_textures/textures/player_playzooki.png differ diff --git a/player_textures/textures/player_sdzen.png b/player_textures/textures/player_sdzen.png new file mode 100644 index 0000000..2fd9973 Binary files /dev/null and b/player_textures/textures/player_sdzen.png differ diff --git a/player_textures/textures/player_shadowzone.png b/player_textures/textures/player_shadowzone.png new file mode 100644 index 0000000..4255bfb Binary files /dev/null and b/player_textures/textures/player_shadowzone.png differ -- cgit v1.2.3