master
root 2020-12-30 14:42:44 +01:00
parent 5edd643415
commit afb3fc6fc0
8 changed files with 11 additions and 9 deletions

View File

@ -236,7 +236,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local gender = player:get_meta():get_string("gender")
player_api.registered_models[player_api.get_gender_model(gender)].textures[1] = cloth
local player_name = player:get_player_name()
armor.textures[player_name].skin = cloth
if minetest.get_modpath("3d_armor")~=nil then
armor.textures[player_name].skin = cloth
end
player_api.set_textures(player, player_api.registered_models[player_api.get_gender_model(gender)].textures)
closet.container.container_lid_close(pn)

View File

@ -15,10 +15,10 @@ player_api.register_model("character.b3d", {
mine = {x = 189, y = 198},
walk_mine = {x = 200, y = 219},
sit = {x = 81, y = 160},
swin = {x = 221, y = 269},
swin_mine = {x = 270, y = 290},
swin_and_mine = {x = 291, y = 314},
swin_stand = {x = 221, y = 221},
swin = {x = 232, y = 280},
swin_mine = {x = 281, y = 305},
swin_and_mine = {x = 306, y = 330},
swin_stand = {x = 232, y = 232},
},
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
stepheight = 0.6,
@ -40,10 +40,10 @@ player_api.register_model("female.b3d", {
mine = {x = 189, y = 198},
walk_mine = {x = 200, y = 219},
sit = {x = 81, y = 160},
swin = {x = 221, y = 269},
swin_mine = {x = 270, y = 290},
swin_and_mine = {x = 291, y = 314},
swin_stand = {x = 221, y = 221},
swin = {x = 232, y = 280},
swin_mine = {x = 281, y = 305},
swin_and_mine = {x = 306, y = 330},
swin_stand = {x = 232, y = 232},
},
collisionbox = {-0.3, 0.0, -0.3, 0.3, 1.7, 0.3},
stepheight = 0.6,

Binary file not shown.