├── screenshot.png ├── textures ├── cc_eyes_blue.png ├── cc_eyes_red.png ├── cc_pants_red.png ├── cc_shoes_fur.png ├── cc_skin_dark.png ├── cc_skin_fair.png ├── cc_skin_red.png ├── cc_vest_blue.png ├── cc_eyes_black.png ├── cc_eyes_brown.png ├── cc_eyes_green.png ├── cc_eyes_orange.png ├── cc_eyes_purple.png ├── cc_eyes_white.png ├── cc_eyes_yellow.png ├── cc_pants_black.png ├── cc_pants_blue.png ├── cc_pants_green.png ├── cc_pants_orange.png ├── cc_pants_purple.png ├── cc_pants_white.png ├── cc_pants_yellow.png ├── cc_shoes_black.png ├── cc_shoes_blue.png ├── cc_shoes_brown.png ├── cc_shoes_canvas.png ├── cc_shoes_green.png ├── cc_skin_black.png ├── cc_skin_green.png ├── cc_skin_tanned.png ├── cc_skin_white.png ├── cc_tshirt_black.png ├── cc_tshirt_blue.png ├── cc_tshirt_green.png ├── cc_tshirt_red.png ├── cc_tshirt_white.png ├── cc_vest_brown.png ├── cc_vest_green.png ├── cc_shoes_leather.png ├── cc_tshirt_orange.png ├── cc_tshirt_purple.png ├── cc_tshirt_yellow.png ├── cc_face_alien_dark_F.png ├── cc_face_alien_dark_M.png ├── cc_face_alien_fair_F.png ├── cc_face_alien_fair_M.png ├── cc_face_alien_red_F.png ├── cc_face_alien_red_M.png ├── cc_face_elven_dark_F.png ├── cc_face_elven_dark_M.png ├── cc_face_elven_fair_F.png ├── cc_face_elven_fair_M.png ├── cc_face_elven_red_F.png ├── cc_face_elven_red_M.png ├── cc_face_human_dark_F.png ├── cc_face_human_dark_M.png ├── cc_face_human_fair_F.png ├── cc_face_human_fair_M.png ├── cc_face_human_red_F.png ├── cc_face_human_red_M.png ├── cc_hair_long_black_F.png ├── cc_hair_long_black_M.png ├── cc_hair_long_blue_F.png ├── cc_hair_long_blue_M.png ├── cc_hair_long_brown_F.png ├── cc_hair_long_brown_M.png ├── cc_hair_long_green_F.png ├── cc_hair_long_green_M.png ├── cc_hair_long_red_F.png ├── cc_hair_long_red_M.png ├── cc_hair_long_white_F.png ├── cc_hair_long_white_M.png ├── cc_hair_medium_red_F.png ├── cc_hair_medium_red_M.png ├── cc_hair_short_blue_F.png ├── cc_hair_short_blue_M.png ├── cc_hair_short_red_F.png ├── cc_hair_short_red_M.png ├── cc_pants_canvas_blue.png ├── cc_shirt_canvas_blue.png ├── cc_face_alien_black_F.png ├── cc_face_alien_black_M.png ├── cc_face_alien_green_F.png ├── cc_face_alien_green_M.png ├── cc_face_alien_tanned_F.png ├── cc_face_alien_tanned_M.png ├── cc_face_alien_white_F.png ├── cc_face_alien_white_M.png ├── cc_face_dwarven_dark_F.png ├── cc_face_dwarven_dark_M.png ├── cc_face_dwarven_fair_F.png ├── cc_face_dwarven_fair_M.png ├── cc_face_dwarven_red_F.png ├── cc_face_dwarven_red_M.png ├── cc_face_elven_black_F.png ├── cc_face_elven_black_M.png ├── cc_face_elven_green_F.png ├── cc_face_elven_green_M.png ├── cc_face_elven_tanned_F.png ├── cc_face_elven_tanned_M.png ├── cc_face_elven_white_F.png ├── cc_face_elven_white_M.png ├── cc_face_human_black_F.png ├── cc_face_human_black_M.png ├── cc_face_human_green_F.png ├── cc_face_human_green_M.png ├── cc_face_human_tanned_F.png ├── cc_face_human_tanned_M.png ├── cc_face_human_white_F.png ├── cc_face_human_white_M.png ├── cc_hair_long_blonde_F.png ├── cc_hair_long_blonde_M.png ├── cc_hair_long_orange_F.png ├── cc_hair_long_orange_M.png ├── cc_hair_long_purple_F.png ├── cc_hair_long_purple_M.png ├── cc_hair_medium_black_F.png ├── cc_hair_medium_black_M.png ├── cc_hair_medium_blue_F.png ├── cc_hair_medium_blue_M.png ├── cc_hair_medium_brown_F.png ├── cc_hair_medium_brown_M.png ├── cc_hair_medium_green_F.png ├── cc_hair_medium_green_M.png ├── cc_hair_medium_white_F.png ├── cc_hair_medium_white_M.png ├── cc_hair_short_black_F.png ├── cc_hair_short_black_M.png ├── cc_hair_short_blonde_F.png ├── cc_hair_short_blonde_M.png ├── cc_hair_short_brown_F.png ├── cc_hair_short_brown_M.png ├── cc_hair_short_green_F.png ├── cc_hair_short_green_M.png ├── cc_hair_short_orange_F.png ├── cc_hair_short_orange_M.png ├── cc_hair_short_purple_F.png ├── cc_hair_short_purple_M.png ├── cc_hair_short_white_F.png ├── cc_hair_short_white_M.png ├── cc_hair_special_blue_F.png ├── cc_hair_special_blue_M.png ├── cc_hair_special_red_F.png ├── cc_hair_special_red_M.png ├── cc_pants_canvas_brown.png ├── cc_pants_canvas_green.png ├── cc_shirt_canvas_brown.png ├── cc_shirt_canvas_green.png ├── cc_face_dwarven_black_F.png ├── cc_face_dwarven_black_M.png ├── cc_face_dwarven_green_F.png ├── cc_face_dwarven_green_M.png ├── cc_face_dwarven_tanned_F.png ├── cc_face_dwarven_tanned_M.png ├── cc_face_dwarven_white_F.png ├── cc_face_dwarven_white_M.png ├── cc_hair_medium_blonde_F.png ├── cc_hair_medium_blonde_M.png ├── cc_hair_medium_orange_F.png ├── cc_hair_medium_orange_M.png ├── cc_hair_medium_purple_F.png ├── cc_hair_medium_purple_M.png ├── cc_hair_special_black_F.png ├── cc_hair_special_black_M.png ├── cc_hair_special_blonde_F.png ├── cc_hair_special_blonde_M.png ├── cc_hair_special_brown_F.png ├── cc_hair_special_brown_M.png ├── cc_hair_special_green_F.png ├── cc_hair_special_green_M.png ├── cc_hair_special_orange_F.png ├── cc_hair_special_orange_M.png ├── cc_hair_special_purple_F.png ├── cc_hair_special_purple_M.png ├── cc_hair_special_white_F.png ├── cc_hair_special_white_M.png └── inventory_plus_character_creator.png ├── mod.conf ├── .luacheckrc ├── readme.md ├── locale ├── template.txt ├── character_creator.de.tr └── character_creator.bg.tr ├── license.txt ├── skins.lua └── init.lua /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/screenshot.png -------------------------------------------------------------------------------- /textures/cc_eyes_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_blue.png -------------------------------------------------------------------------------- /textures/cc_eyes_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_red.png -------------------------------------------------------------------------------- /textures/cc_pants_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_red.png -------------------------------------------------------------------------------- /textures/cc_shoes_fur.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_fur.png -------------------------------------------------------------------------------- /textures/cc_skin_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_dark.png -------------------------------------------------------------------------------- /textures/cc_skin_fair.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_fair.png -------------------------------------------------------------------------------- /textures/cc_skin_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_red.png -------------------------------------------------------------------------------- /textures/cc_vest_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_vest_blue.png -------------------------------------------------------------------------------- /textures/cc_eyes_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_black.png -------------------------------------------------------------------------------- /textures/cc_eyes_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_brown.png -------------------------------------------------------------------------------- /textures/cc_eyes_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_green.png -------------------------------------------------------------------------------- /textures/cc_eyes_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_orange.png -------------------------------------------------------------------------------- /textures/cc_eyes_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_purple.png -------------------------------------------------------------------------------- /textures/cc_eyes_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_white.png -------------------------------------------------------------------------------- /textures/cc_eyes_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_eyes_yellow.png -------------------------------------------------------------------------------- /textures/cc_pants_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_black.png -------------------------------------------------------------------------------- /textures/cc_pants_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_blue.png -------------------------------------------------------------------------------- /textures/cc_pants_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_green.png -------------------------------------------------------------------------------- /textures/cc_pants_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_orange.png -------------------------------------------------------------------------------- /textures/cc_pants_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_purple.png -------------------------------------------------------------------------------- /textures/cc_pants_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_white.png -------------------------------------------------------------------------------- /textures/cc_pants_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_yellow.png -------------------------------------------------------------------------------- /textures/cc_shoes_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_black.png -------------------------------------------------------------------------------- /textures/cc_shoes_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_blue.png -------------------------------------------------------------------------------- /textures/cc_shoes_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_brown.png -------------------------------------------------------------------------------- /textures/cc_shoes_canvas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_canvas.png -------------------------------------------------------------------------------- /textures/cc_shoes_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_green.png -------------------------------------------------------------------------------- /textures/cc_skin_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_black.png -------------------------------------------------------------------------------- /textures/cc_skin_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_green.png -------------------------------------------------------------------------------- /textures/cc_skin_tanned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_tanned.png -------------------------------------------------------------------------------- /textures/cc_skin_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_skin_white.png -------------------------------------------------------------------------------- /textures/cc_tshirt_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_black.png -------------------------------------------------------------------------------- /textures/cc_tshirt_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_blue.png -------------------------------------------------------------------------------- /textures/cc_tshirt_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_green.png -------------------------------------------------------------------------------- /textures/cc_tshirt_red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_red.png -------------------------------------------------------------------------------- /textures/cc_tshirt_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_white.png -------------------------------------------------------------------------------- /textures/cc_vest_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_vest_brown.png -------------------------------------------------------------------------------- /textures/cc_vest_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_vest_green.png -------------------------------------------------------------------------------- /textures/cc_shoes_leather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shoes_leather.png -------------------------------------------------------------------------------- /textures/cc_tshirt_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_orange.png -------------------------------------------------------------------------------- /textures/cc_tshirt_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_purple.png -------------------------------------------------------------------------------- /textures/cc_tshirt_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_tshirt_yellow.png -------------------------------------------------------------------------------- /textures/cc_face_alien_dark_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_dark_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_dark_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_dark_M.png -------------------------------------------------------------------------------- /textures/cc_face_alien_fair_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_fair_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_fair_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_fair_M.png -------------------------------------------------------------------------------- /textures/cc_face_alien_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_red_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_red_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_dark_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_dark_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_dark_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_dark_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_fair_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_fair_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_fair_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_fair_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_red_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_red_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_dark_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_dark_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_dark_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_dark_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_fair_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_fair_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_fair_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_fair_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_red_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_red_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_black_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_black_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_blue_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_blue_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_blue_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_blue_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_brown_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_brown_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_brown_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_brown_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_green_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_green_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_red_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_red_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_white_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_white_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_red_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_red_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_blue_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_blue_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_blue_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_blue_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_red_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_red_M.png -------------------------------------------------------------------------------- /textures/cc_pants_canvas_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_canvas_blue.png -------------------------------------------------------------------------------- /textures/cc_shirt_canvas_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shirt_canvas_blue.png -------------------------------------------------------------------------------- /textures/cc_face_alien_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_black_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_black_M.png -------------------------------------------------------------------------------- /textures/cc_face_alien_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_green_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_green_M.png -------------------------------------------------------------------------------- /textures/cc_face_alien_tanned_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_tanned_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_tanned_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_tanned_M.png -------------------------------------------------------------------------------- /textures/cc_face_alien_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_white_F.png -------------------------------------------------------------------------------- /textures/cc_face_alien_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_alien_white_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_dark_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_dark_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_dark_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_dark_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_fair_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_fair_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_fair_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_fair_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_red_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_red_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_black_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_black_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_green_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_green_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_tanned_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_tanned_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_tanned_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_tanned_M.png -------------------------------------------------------------------------------- /textures/cc_face_elven_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_white_F.png -------------------------------------------------------------------------------- /textures/cc_face_elven_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_elven_white_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_black_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_black_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_green_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_green_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_tanned_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_tanned_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_tanned_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_tanned_M.png -------------------------------------------------------------------------------- /textures/cc_face_human_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_white_F.png -------------------------------------------------------------------------------- /textures/cc_face_human_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_human_white_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_blonde_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_blonde_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_blonde_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_blonde_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_orange_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_orange_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_orange_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_orange_M.png -------------------------------------------------------------------------------- /textures/cc_hair_long_purple_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_purple_F.png -------------------------------------------------------------------------------- /textures/cc_hair_long_purple_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_long_purple_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_black_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_black_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_blue_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_blue_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_blue_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_blue_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_brown_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_brown_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_brown_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_brown_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_green_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_green_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_white_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_white_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_black_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_black_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_blonde_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_blonde_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_blonde_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_blonde_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_brown_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_brown_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_brown_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_brown_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_green_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_green_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_orange_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_orange_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_orange_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_orange_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_purple_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_purple_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_purple_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_purple_M.png -------------------------------------------------------------------------------- /textures/cc_hair_short_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_white_F.png -------------------------------------------------------------------------------- /textures/cc_hair_short_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_short_white_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_blue_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_blue_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_blue_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_blue_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_red_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_red_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_red_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_red_M.png -------------------------------------------------------------------------------- /textures/cc_pants_canvas_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_canvas_brown.png -------------------------------------------------------------------------------- /textures/cc_pants_canvas_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_pants_canvas_green.png -------------------------------------------------------------------------------- /textures/cc_shirt_canvas_brown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shirt_canvas_brown.png -------------------------------------------------------------------------------- /textures/cc_shirt_canvas_green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_shirt_canvas_green.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_black_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_black_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_green_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_green_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_tanned_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_tanned_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_tanned_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_tanned_M.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_white_F.png -------------------------------------------------------------------------------- /textures/cc_face_dwarven_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_face_dwarven_white_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_blonde_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_blonde_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_blonde_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_blonde_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_orange_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_orange_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_orange_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_orange_M.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_purple_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_purple_F.png -------------------------------------------------------------------------------- /textures/cc_hair_medium_purple_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_medium_purple_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_black_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_black_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_black_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_black_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_blonde_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_blonde_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_blonde_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_blonde_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_brown_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_brown_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_brown_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_brown_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_green_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_green_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_green_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_green_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_orange_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_orange_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_orange_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_orange_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_purple_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_purple_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_purple_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_purple_M.png -------------------------------------------------------------------------------- /textures/cc_hair_special_white_F.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_white_F.png -------------------------------------------------------------------------------- /textures/cc_hair_special_white_M.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/cc_hair_special_white_M.png -------------------------------------------------------------------------------- /textures/inventory_plus_character_creator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/minetest-mods/character_creator/HEAD/textures/inventory_plus_character_creator.png -------------------------------------------------------------------------------- /mod.conf: -------------------------------------------------------------------------------- 1 | name = character_creator 2 | description = Allows the creation of customized character skins inside the game. 3 | license = MIT 4 | optional_depends = 3d_armor, multiskin, inventory_plus, unified_inventory, skinsdb, sfinv_buttons, sfinv 5 | -------------------------------------------------------------------------------- /.luacheckrc: -------------------------------------------------------------------------------- 1 | unused_args = false 2 | allow_defined_top = true 3 | max_line_length = 999 4 | -- Allow shadowed variables (callbacks in callbacks) 5 | redefined = false 6 | 7 | globals = { 8 | "character_creator", 9 | "armor", "multiskin" 10 | } 11 | 12 | read_globals = { 13 | string = {fields = {"split", "trim"}}, 14 | table = {fields = {"copy", "getn", "indexof"}}, 15 | 16 | "minetest", "vector", 17 | "ItemStack", 18 | 19 | "skins", "sfinv", "sfinv_buttons", "unified_inventory", 20 | "inventory_plus" 21 | } 22 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Character Creator 2 | 3 | This mod is attributed to the Voxelands project. 4 | It allows you to customize your skin. 5 | 6 | ![Screenshot](screenshot.png) 7 | 8 | To change your skin, use either the chat commmand `/character_creator` 9 | or a dedicated button in one of the supported inventory mods (see below). 10 | 11 | ### Requirements 12 | 13 | * Minetest 5.0.0 or newer 14 | 15 | ### Supported mods 16 | 17 | * multiskin 18 | * 3d_armor 19 | * sfinv (Minetest Game) 20 | * unified_inventory 21 | * sfinv_buttons 22 | * inventory_plus 23 | 24 | 25 | ### License 26 | 27 | Code: MIT 28 | 29 | Textures: CC BY-SA 3.0 30 | 31 | See also: [license.txt](license.txt) 32 | 33 | ### Credits 34 | 35 | Voxelands creators: 36 | 37 | * sdzen 38 | * darkrose -------------------------------------------------------------------------------- /locale/template.txt: -------------------------------------------------------------------------------- 1 | # textdomain: character_creator 2 | 3 | ### init.lua ### 4 | Cancel= 5 | Done= 6 | Shorter= 7 | Taller= 8 | Thinner= 9 | Wider= 10 | 11 | ### init.lua ### 12 | ### skins.lua ### 13 | Blue Eyes= 14 | Blue Pants= 15 | Brown Hair= 16 | Fair Skin= 17 | Female= 18 | Green T-Shirt= 19 | Human Face= 20 | Leather Shoes= 21 | Male= 22 | Medium Hair= 23 | 24 | ### skins.lua ### 25 | Alien Face= 26 | Black Eyes= 27 | Black Hair= 28 | Black Pants= 29 | Black Shoes= 30 | Black Skin= 31 | Black T-Shirt= 32 | Blonde Hair= 33 | Blue Canvas Pants= 34 | Blue Hair= 35 | Blue Shirt= 36 | Blue Shoes= 37 | Blue T-Shirt= 38 | Blue Vest= 39 | Brown Canvas Pants= 40 | Brown Eyes= 41 | Brown Shirt= 42 | Brown Shoes= 43 | Brown Vest= 44 | Canvas Shoes= 45 | Dark Skin= 46 | Dwarven Face= 47 | Elven Face= 48 | Fur Shoes= 49 | Green Canvas Pants= 50 | Green Eyes= 51 | Green Hair= 52 | Green Pants= 53 | Green Shirt= 54 | Green Shoes= 55 | Green Skin= 56 | Green Vest= 57 | Long Hair= 58 | Orange Eyes= 59 | Orange Hair= 60 | Orange Pants= 61 | Orange T-Shirt= 62 | Purple Eyes= 63 | Purple Hair= 64 | Purple Pants= 65 | Purple T-Shirt= 66 | Red Eyes= 67 | Red Hair= 68 | Red Pants= 69 | Red Skin= 70 | Red T-Shirt= 71 | Short Hair= 72 | Styled Hair= 73 | Tanned Skin= 74 | White Eyes= 75 | White Hair= 76 | White Pants= 77 | White Skin= 78 | White T-Shirt= 79 | Yellow Eyes= 80 | Yellow Pants= 81 | Yellow T-Shirt= 82 | -------------------------------------------------------------------------------- /locale/character_creator.de.tr: -------------------------------------------------------------------------------- 1 | # textdomain: character_creator 2 | 3 | ### init.lua ### 4 | Cancel=Abbrechen 5 | Done=Fertig 6 | Shorter=Kürzer 7 | Taller=Länger 8 | Thinner=Schmaler 9 | Wider=Breiter 10 | 11 | ### init.lua ### 12 | ### skins.lua ### 13 | Blue Eyes= 14 | Blue Pants= 15 | Brown Hair= 16 | Fair Skin= 17 | Female=Weiblich 18 | Green T-Shirt= 19 | Human Face= 20 | Leather Shoes= 21 | Male=Männlich 22 | Medium Hair= 23 | 24 | ### skins.lua ### 25 | Alien Face= 26 | Black Eyes= 27 | Black Hair= 28 | Black Pants= 29 | Black Shoes= 30 | Black Skin= 31 | Black T-Shirt= 32 | Blonde Hair= 33 | Blue Canvas Pants= 34 | Blue Hair= 35 | Blue Shirt= 36 | Blue Shoes= 37 | Blue T-Shirt= 38 | Blue Vest= 39 | Brown Canvas Pants= 40 | Brown Eyes= 41 | Brown Shirt= 42 | Brown Shoes= 43 | Brown Vest= 44 | Canvas Shoes= 45 | Dark Skin= 46 | Dwarven Face= 47 | Elven Face= 48 | Fur Shoes= 49 | Green Canvas Pants= 50 | Green Eyes= 51 | Green Hair= 52 | Green Pants= 53 | Green Shirt= 54 | Green Shoes= 55 | Green Skin= 56 | Green Vest= 57 | Long Hair= 58 | Orange Eyes= 59 | Orange Hair= 60 | Orange Pants= 61 | Orange T-Shirt= 62 | Purple Eyes= 63 | Purple Hair= 64 | Purple Pants= 65 | Purple T-Shirt= 66 | Red Eyes= 67 | Red Hair= 68 | Red Pants= 69 | Red Skin= 70 | Red T-Shirt= 71 | Short Hair= 72 | Styled Hair= 73 | Tanned Skin= 74 | White Eyes= 75 | White Hair= 76 | White Pants= 77 | White Skin= 78 | White T-Shirt= 79 | Yellow Eyes= 80 | Yellow Pants= 81 | Yellow T-Shirt= 82 | -------------------------------------------------------------------------------- /locale/character_creator.bg.tr: -------------------------------------------------------------------------------- 1 | # textdomain: character_creator 2 | 3 | ##[ init.lua ]## 4 | Taller=По-висок герой 5 | Shorter=По-нисък герой 6 | Wider=По-широк герой 7 | Thinner=По-тънък герой 8 | Done=Готово 9 | Cancel=Отказ 10 | 11 | ##[ init.lua ]## 12 | ##[ skins.lua ]## 13 | Male=Момче 14 | Fair Skin=Светла кожа 15 | Human Face=Човешко лице 16 | Brown Hair=Кафява коса 17 | Medium Hair=Кестенява коса 18 | 19 | Blue Eyes=Сини очи 20 | Green T-Shirt=Зелена тениска 21 | Blue Pants=Син панталон 22 | Leather Shoes=Кожени обувки 23 | Female=Момиче 24 | 25 | ##[ skins.lua ]## 26 | Green Skin=Зелена кожа 27 | Red Skin=Червена кожа 28 | Tanned Skin=Тъмна кожа 29 | White Skin=Бяла кожа 30 | Black Skin=Черна кожа 31 | Dark Skin=Тъмна кожа 32 | Alien Face=Лице на извънземно 33 | Dwarven Face=Лице на джудже 34 | Elven Face=Лице на елф 35 | Short Hair=Къса коса 36 | Styled Hair=Прическа 37 | Long Hair=Дълга коса 38 | Green Hair=Зелена коса 39 | Orange Hair=Оранжева коса 40 | Purple Hair=Лилава коса 41 | Red Hair=Червена коса 42 | White Hair=Бяла коса 43 | Black Hair=Черна коса 44 | Blonde Hair=Руса коса 45 | Blue Hair=Синя коса 46 | Brown Eyes=Кавяви очи 47 | Green Eyes=Зелени очи 48 | Orange Eyes=Оранжеви очи 49 | Purple Eyes=Лилави очи 50 | Red Eyes=Червени очи 51 | White Eyes=Бели очи 52 | Yellow Eyes=Жълти очи 53 | Black Eyes=Черни очи 54 | Orange T-Shirt=Оранжева тениска 55 | Purple T-Shirt=Лилава тениска 56 | Red T-Shirt=Червена тениска 57 | White T-Shirt=Бяла тениска 58 | Yellow T-Shirt=Жълта тениска 59 | Black T-Shirt=Черна тениска 60 | Blue T-Shirt=Синя тениска 61 | Brown Vest=Кафява жилетка 62 | Green Vest=Зелена жилетка 63 | Blue Vest=Синя жилетка 64 | Brown Shirt=Кафява блуза 65 | Green Shirt=Зелена блуза 66 | Blue Shirt=Синя блуза 67 | Green Pants=Зелен панталон 68 | Orange Pants=Оранжев панталон 69 | Purple Pants=Лилав панталон 70 | Red Pants=Червен панталон 71 | White Pants=Бял панталон 72 | Yellow Pants=Жълт панталон 73 | Black Pants=Черен панталон 74 | Brown Canvas Pants=Кафяв дочен панталон 75 | Green Canvas Pants=Зелен дочен панталон 76 | Blue Canvas Pants=Син дочен панталон 77 | Canvas Shoes=Платнени обувки 78 | Fur Shoes=Велурени обувки 79 | Brown Shoes=Кафяви обувки 80 | Green Shoes=Зелени обувки 81 | Blue Shoes=Сини обувки 82 | Black Shoes=Черни обувки 83 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | License of source code 2 | ---------------------- 3 | 4 | MIT License 5 | 6 | Copyright (c) 2017 Rui 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all 16 | copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | 26 | 27 | License of textures 28 | -------------------------------------- 29 | 30 | Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) 31 | 32 | Copyright (C) 2017 Voxelands http://www.voxelands.com/ 33 | Copyright (C) 2017 darkrose 34 | Copyright (C) 2017 sdzen 35 | 36 | You are free to: 37 | Share - copy and redistribute the material in any medium or format 38 | Adapt - remix, transform, and build upon the material 39 | for any purpose, even commercially. 40 | The licensor cannot revoke these freedoms as long as you follow the license terms. 41 | 42 | Under the following terms: 43 | Attribution - You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use. 44 | ShareAlike - If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original. 45 | No additional restrictions - You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. 46 | 47 | Notices: 48 | You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation. 49 | No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material. 50 | 51 | For more details: 52 | http://creativecommons.org/licenses/by-sa/3.0/ -------------------------------------------------------------------------------- /skins.lua: -------------------------------------------------------------------------------- 1 | local NS = character_creator.NS 2 | 3 | character_creator.skins = { 4 | skin = { 5 | [NS("Fair Skin")] = "cc_skin_fair.png", 6 | [NS("Green Skin")] = "cc_skin_green.png", 7 | [NS("Red Skin")] = "cc_skin_red.png", 8 | [NS("Tanned Skin")] = "cc_skin_tanned.png", 9 | [NS("White Skin")] = "cc_skin_white.png", 10 | [NS("Black Skin")] = "cc_skin_black.png", 11 | [NS("Dark Skin")] = "cc_skin_dark.png", 12 | }, 13 | 14 | face = { 15 | [NS("Human Face")] = { 16 | [NS("Male")] = { 17 | [NS("Fair Skin")] = "cc_face_human_fair_M.png", 18 | [NS("Green Skin")] = "cc_face_human_green_M.png", 19 | [NS("Red Skin")] = "cc_face_human_red_M.png", 20 | [NS("Tanned Skin")] = "cc_face_human_tanned_M.png", 21 | [NS("White Skin")] = "cc_face_human_white_M.png", 22 | [NS("Black Skin")] = "cc_face_human_black_M.png", 23 | [NS("Dark Skin")] = "cc_face_human_dark_M.png", 24 | }, 25 | [NS("Female")] = { 26 | [NS("Fair Skin")] = "cc_face_human_fair_F.png", 27 | [NS("Green Skin")] = "cc_face_human_green_F.png", 28 | [NS("Red Skin")] = "cc_face_human_red_F.png", 29 | [NS("Tanned Skin")] = "cc_face_human_tanned_F.png", 30 | [NS("White Skin")] = "cc_face_human_white_F.png", 31 | [NS("Black Skin")] = "cc_face_human_black_F.png", 32 | [NS("Dark Skin")] = "cc_face_human_dark_F.png", 33 | } 34 | }, 35 | [NS("Alien Face")] = { 36 | [NS("Male")] = { 37 | [NS("Fair Skin")] = "cc_face_alien_fair_M.png", 38 | [NS("Green Skin")] = "cc_face_alien_green_M.png", 39 | [NS("Red Skin")] = "cc_face_alien_red_M.png", 40 | [NS("Tanned Skin")] = "cc_face_alien_tanned_M.png", 41 | [NS("White Skin")] = "cc_face_alien_white_M.png", 42 | [NS("Black Skin")] = "cc_face_alien_black_M.png", 43 | [NS("Dark Skin")] = "cc_face_alien_dark_M.png", 44 | }, 45 | [NS("Female")] = { 46 | [NS("Fair Skin")] = "cc_face_alien_fair_F.png", 47 | [NS("Green Skin")] = "cc_face_alien_green_F.png", 48 | [NS("Red Skin")] = "cc_face_alien_red_F.png", 49 | [NS("Tanned Skin")] = "cc_face_alien_tanned_F.png", 50 | [NS("White Skin")] = "cc_face_alien_white_F.png", 51 | [NS("Black Skin")] = "cc_face_alien_black_F.png", 52 | [NS("Dark Skin")] = "cc_face_alien_dark_F.png", 53 | } 54 | }, 55 | [NS("Dwarven Face")] = { 56 | [NS("Male")] = { 57 | [NS("Fair Skin")] = "cc_face_dwarven_fair_M.png", 58 | [NS("Green Skin")] = "cc_face_dwarven_green_M.png", 59 | [NS("Red Skin")] = "cc_face_dwarven_red_M.png", 60 | [NS("Tanned Skin")] = "cc_face_dwarven_tanned_M.png", 61 | [NS("White Skin")] = "cc_face_dwarven_white_M.png", 62 | [NS("Black Skin")] = "cc_face_dwarven_black_M.png", 63 | [NS("Dark Skin")] = "cc_face_dwarven_dark_M.png", 64 | }, 65 | [NS("Female")] = { 66 | [NS("Fair Skin")] = "cc_face_dwarven_fair_F.png", 67 | [NS("Green Skin")] = "cc_face_dwarven_green_F.png", 68 | [NS("Red Skin")] = "cc_face_dwarven_red_F.png", 69 | [NS("Tanned Skin")] = "cc_face_dwarven_tanned_F.png", 70 | [NS("White Skin")] = "cc_face_dwarven_white_F.png", 71 | [NS("Black Skin")] = "cc_face_dwarven_black_F.png", 72 | [NS("Dark Skin")] = "cc_face_dwarven_dark_F.png", 73 | } 74 | }, 75 | [NS("Elven Face")] = { 76 | [NS("Male")] = { 77 | [NS("Fair Skin")] = "cc_face_elven_fair_M.png", 78 | [NS("Green Skin")] = "cc_face_elven_green_M.png", 79 | [NS("Red Skin")] = "cc_face_elven_red_M.png", 80 | [NS("Tanned Skin")] = "cc_face_elven_tanned_M.png", 81 | [NS("White Skin")] = "cc_face_elven_white_M.png", 82 | [NS("Black Skin")] = "cc_face_elven_black_M.png", 83 | [NS("Dark Skin")] = "cc_face_elven_dark_M.png", 84 | }, 85 | [NS("Female")] = { 86 | [NS("Fair Skin")] = "cc_face_elven_fair_F.png", 87 | [NS("Green Skin")] = "cc_face_elven_green_F.png", 88 | [NS("Red Skin")] = "cc_face_elven_red_F.png", 89 | [NS("Tanned Skin")] = "cc_face_elven_tanned_F.png", 90 | [NS("White Skin")] = "cc_face_elven_white_F.png", 91 | [NS("Black Skin")] = "cc_face_elven_black_F.png", 92 | [NS("Dark Skin")] = "cc_face_elven_dark_F.png", 93 | } 94 | } 95 | }, 96 | 97 | hair = { 98 | [NS("Brown Hair")] = { 99 | [NS("Male")] = { 100 | [NS("Medium Hair")] = "cc_hair_medium_brown_M.png", 101 | [NS("Short Hair")] = "cc_hair_short_brown_M.png", 102 | [NS("Styled Hair")] = "cc_hair_special_brown_M.png", 103 | [NS("Long Hair")] = "cc_hair_long_brown_M.png", 104 | }, 105 | [NS("Female")] = { 106 | [NS("Medium Hair")] = "cc_hair_medium_brown_F.png", 107 | [NS("Short Hair")] = "cc_hair_short_brown_F.png", 108 | [NS("Styled Hair")] = "cc_hair_special_brown_F.png", 109 | [NS("Long Hair")] = "cc_hair_long_brown_F.png", 110 | } 111 | }, 112 | [NS("Green Hair")] = { 113 | [NS("Male")] = { 114 | [NS("Medium Hair")] = "cc_hair_medium_green_M.png", 115 | [NS("Short Hair")] = "cc_hair_short_green_M.png", 116 | [NS("Styled Hair")] = "cc_hair_special_green_M.png", 117 | [NS("Long Hair")] = "cc_hair_long_green_M.png", 118 | }, 119 | [NS("Female")] = { 120 | [NS("Medium Hair")] = "cc_hair_medium_green_F.png", 121 | [NS("Short Hair")] = "cc_hair_short_green_F.png", 122 | [NS("Styled Hair")] = "cc_hair_special_green_F.png", 123 | [NS("Long Hair")] = "cc_hair_long_green_F.png", 124 | } 125 | }, 126 | [NS("Orange Hair")] = { 127 | [NS("Male")] = { 128 | [NS("Medium Hair")] = "cc_hair_medium_orange_M.png", 129 | [NS("Short Hair")] = "cc_hair_short_orange_M.png", 130 | [NS("Styled Hair")] = "cc_hair_special_orange_M.png", 131 | [NS("Long Hair")] = "cc_hair_long_orange_M.png", 132 | }, 133 | [NS("Female")] = { 134 | [NS("Medium Hair")] = "cc_hair_medium_orange_F.png", 135 | [NS("Short Hair")] = "cc_hair_short_orange_F.png", 136 | [NS("Styled Hair")] = "cc_hair_special_orange_F.png", 137 | [NS("Long Hair")] = "cc_hair_long_orange_F.png", 138 | } 139 | }, 140 | [NS("Purple Hair")] = { 141 | [NS("Male")] = { 142 | [NS("Medium Hair")] = "cc_hair_medium_purple_M.png", 143 | [NS("Short Hair")] = "cc_hair_short_purple_M.png", 144 | [NS("Styled Hair")] = "cc_hair_special_purple_M.png", 145 | [NS("Long Hair")] = "cc_hair_long_purple_M.png", 146 | }, 147 | [NS("Female")] = { 148 | [NS("Medium Hair")] = "cc_hair_medium_purple_F.png", 149 | [NS("Short Hair")] = "cc_hair_short_purple_F.png", 150 | [NS("Styled Hair")] = "cc_hair_special_purple_F.png", 151 | [NS("Long Hair")] = "cc_hair_long_purple_F.png", 152 | } 153 | }, 154 | [NS("Red Hair")] = { 155 | [NS("Male")] = { 156 | [NS("Medium Hair")] = "cc_hair_medium_red_M.png", 157 | [NS("Short Hair")] = "cc_hair_short_red_M.png", 158 | [NS("Styled Hair")] = "cc_hair_special_red_M.png", 159 | [NS("Long Hair")] = "cc_hair_long_red_M.png", 160 | }, 161 | [NS("Female")] = { 162 | [NS("Medium Hair")] = "cc_hair_medium_red_F.png", 163 | [NS("Short Hair")] = "cc_hair_short_red_F.png", 164 | [NS("Styled Hair")] = "cc_hair_special_red_F.png", 165 | [NS("Long Hair")] = "cc_hair_long_red_F.png", 166 | } 167 | }, 168 | [NS("White Hair")] = { 169 | [NS("Male")] = { 170 | [NS("Medium Hair")] = "cc_hair_medium_white_M.png", 171 | [NS("Short Hair")] = "cc_hair_short_white_M.png", 172 | [NS("Styled Hair")] = "cc_hair_special_white_M.png", 173 | [NS("Long Hair")] = "cc_hair_long_white_M.png", 174 | }, 175 | [NS("Female")] = { 176 | [NS("Medium Hair")] = "cc_hair_medium_white_F.png", 177 | [NS("Short Hair")] = "cc_hair_short_white_F.png", 178 | [NS("Styled Hair")] = "cc_hair_special_white_F.png", 179 | [NS("Long Hair")] = "cc_hair_long_white_F.png", 180 | } 181 | }, 182 | [NS("Black Hair")] = { 183 | [NS("Male")] = { 184 | [NS("Medium Hair")] = "cc_hair_medium_black_M.png", 185 | [NS("Short Hair")] = "cc_hair_short_black_M.png", 186 | [NS("Styled Hair")] = "cc_hair_special_black_M.png", 187 | [NS("Long Hair")] = "cc_hair_long_black_M.png", 188 | }, 189 | [NS("Female")] = { 190 | [NS("Medium Hair")] = "cc_hair_medium_black_F.png", 191 | [NS("Short Hair")] = "cc_hair_short_black_F.png", 192 | [NS("Styled Hair")] = "cc_hair_special_black_F.png", 193 | [NS("Long Hair")] = "cc_hair_long_black_F.png", 194 | } 195 | }, 196 | [NS("Blonde Hair")] = { 197 | [NS("Male")] = { 198 | [NS("Medium Hair")] = "cc_hair_medium_blonde_M.png", 199 | [NS("Short Hair")] = "cc_hair_short_blonde_M.png", 200 | [NS("Styled Hair")] = "cc_hair_special_blonde_M.png", 201 | [NS("Long Hair")] = "cc_hair_long_blonde_M.png", 202 | }, 203 | [NS("Female")] = { 204 | [NS("Medium Hair")] = "cc_hair_medium_blonde_F.png", 205 | [NS("Short Hair")] = "cc_hair_short_blonde_F.png", 206 | [NS("Styled Hair")] = "cc_hair_special_blonde_F.png", 207 | [NS("Long Hair")] = "cc_hair_long_blonde_F.png", 208 | } 209 | }, 210 | [NS("Blue Hair")] = { 211 | [NS("Male")] = { 212 | [NS("Medium Hair")] = "cc_hair_medium_blue_M.png", 213 | [NS("Short Hair")] = "cc_hair_short_blue_M.png", 214 | [NS("Styled Hair")] = "cc_hair_special_blue_M.png", 215 | [NS("Long Hair")] = "cc_hair_long_blue_M.png", 216 | }, 217 | [NS("Female")] = { 218 | [NS("Medium Hair")] = "cc_hair_medium_blue_F.png", 219 | [NS("Short Hair")] = "cc_hair_short_blue_F.png", 220 | [NS("Styled Hair")] = "cc_hair_special_blue_F.png", 221 | [NS("Long Hair")] = "cc_hair_long_blue_F.png", 222 | } 223 | } 224 | }, 225 | 226 | hair_style = { 227 | [NS("Medium Hair")] = "medium", 228 | [NS("Short Hair")] = "short", 229 | [NS("Styled Hair")] = "styled", 230 | [NS("Long Hair")] = "long", 231 | }, 232 | 233 | eyes = { 234 | [NS("Blue Eyes")] = "cc_eyes_blue.png", 235 | [NS("Brown Eyes")] = "cc_eyes_brown.png", 236 | [NS("Green Eyes")] = "cc_eyes_green.png", 237 | [NS("Orange Eyes")] = "cc_eyes_orange.png", 238 | [NS("Purple Eyes")] = "cc_eyes_purple.png", 239 | [NS("Red Eyes")] = "cc_eyes_red.png", 240 | [NS("White Eyes")] = "cc_eyes_white.png", 241 | [NS("Yellow Eyes")] = "cc_eyes_yellow.png", 242 | [NS("Black Eyes")] = "cc_eyes_black.png", 243 | }, 244 | 245 | tshirt = { 246 | [NS("Green T-Shirt")] = "cc_tshirt_green.png", 247 | [NS("Orange T-Shirt")] = "cc_tshirt_orange.png", 248 | [NS("Purple T-Shirt")] = "cc_tshirt_purple.png", 249 | [NS("Red T-Shirt")] = "cc_tshirt_red.png", 250 | [NS("White T-Shirt")] = "cc_tshirt_white.png", 251 | [NS("Yellow T-Shirt")] = "cc_tshirt_yellow.png", 252 | [NS("Black T-Shirt")] = "cc_tshirt_black.png", 253 | [NS("Blue T-Shirt")] = "cc_tshirt_blue.png", 254 | [NS("Brown Vest")] = "cc_vest_brown.png", 255 | [NS("Green Vest")] = "cc_vest_green.png", 256 | [NS("Blue Vest")] = "cc_vest_blue.png", 257 | [NS("Brown Shirt")] = "cc_shirt_canvas_brown.png", 258 | [NS("Green Shirt")] = "cc_shirt_canvas_green.png", 259 | [NS("Blue Shirt")] = "cc_shirt_canvas_blue.png", 260 | }, 261 | 262 | pants = { 263 | [NS("Blue Pants")] = "cc_pants_blue.png", 264 | [NS("Green Pants")] = "cc_pants_green.png", 265 | [NS("Orange Pants")] = "cc_pants_orange.png", 266 | [NS("Purple Pants")] = "cc_pants_purple.png", 267 | [NS("Red Pants")] = "cc_pants_red.png", 268 | [NS("White Pants")] = "cc_pants_white.png", 269 | [NS("Yellow Pants")] = "cc_pants_yellow.png", 270 | [NS("Black Pants")] = "cc_pants_black.png", 271 | [NS("Brown Canvas Pants")] = "cc_pants_canvas_brown.png", 272 | [NS("Green Canvas Pants")] = "cc_pants_canvas_green.png", 273 | [NS("Blue Canvas Pants")] = "cc_pants_canvas_blue.png", 274 | }, 275 | 276 | shoes = { 277 | [NS("Leather Shoes")] = "cc_shoes_leather.png", 278 | [NS("Canvas Shoes")] = "cc_shoes_canvas.png", 279 | [NS("Fur Shoes")] = "cc_shoes_fur.png", 280 | [NS("Brown Shoes")] = "cc_shoes_brown.png", 281 | [NS("Green Shoes")] = "cc_shoes_green.png", 282 | [NS("Blue Shoes")] = "cc_shoes_blue.png", 283 | [NS("Black Shoes")] = "cc_shoes_black.png", 284 | } 285 | } 286 | -------------------------------------------------------------------------------- /init.lua: -------------------------------------------------------------------------------- 1 | if not minetest.get_translator then 2 | error("[character_creator] Translator API not found. " 3 | .. "Please update Minetest to a recent version.") 4 | end 5 | 6 | character_creator = {} 7 | 8 | -- Update with /path/to/i18n.py -p -s . 9 | character_creator.S = minetest.get_translator("character_creator") 10 | character_creator.FS = function(...) 11 | return minetest.formspec_escape(character_creator.S(...)) 12 | end 13 | --local S = character_creator.S 14 | local FS = character_creator.S 15 | character_creator.NS = function(s) return s end 16 | local NS = character_creator.NS 17 | 18 | 19 | -- Fill character_creator.skins 20 | dofile(minetest.get_modpath("character_creator") .. "/skins.lua") 21 | 22 | local skinsdb 23 | if minetest.get_modpath("skinsdb") and minetest.global_exists("skins") then 24 | skinsdb = skins 25 | 26 | -- Create dummy skins with hand 27 | if skins.skin_class.set_hand_from_texture then 28 | for skin_name, skin_texture in pairs(character_creator.skins.skin) do 29 | local hand_skin = skinsdb.new("character_creator:"..skin_name) 30 | hand_skin:set_texture(skin_texture) 31 | hand_skin:set_hand_from_texture() 32 | hand_skin:set_meta("in_inventory_list", false) 33 | end 34 | end 35 | end 36 | 37 | local skin_default = { 38 | gender = NS("Male"), 39 | height = 1, 40 | width = 1, 41 | 42 | skin = NS("Fair Skin"), 43 | face = NS("Human Face"), 44 | hair = NS("Brown Hair"), 45 | hair_style = NS("Medium Hair"), 46 | eyes = NS("Blue Eyes"), 47 | tshirt = NS("Green T-Shirt"), 48 | pants = NS("Blue Pants"), 49 | shoes = NS("Leather Shoes") 50 | } 51 | 52 | local skins_array = {} 53 | 54 | minetest.after(0, function() 55 | local function table_keys_to_array(associative) 56 | local array = {} 57 | for key in pairs(associative) do 58 | table.insert(array, key) 59 | end 60 | return array 61 | end 62 | 63 | -- part: skin, face, hair, .... 64 | for part, def in pairs(character_creator.skins) do 65 | skins_array[part] = table_keys_to_array(def) 66 | end 67 | end) 68 | 69 | -- Saved skins_array indexes in this 70 | local skin_indexes = {} 71 | 72 | local function show_formspec(player) 73 | local indexes = skin_indexes[player] 74 | local order = { 75 | "skin", "face", "hair", "hair_style", "eyes", 76 | "tshirt", "pants", "shoes" 77 | } 78 | 79 | local fs = { 80 | "formspec_version[2]", 81 | "size[13,9]", 82 | "no_prepend[]", 83 | "bgcolor[#00000000]", 84 | "style_type[button;noclip=true]", 85 | -- Gender 86 | "button[10, 0;2.5,.75;male;" .. FS("Male") .. "]", 87 | "button[12.5,0;2.5,.75;female;" .. FS("Female") .. "]", 88 | -- Height 89 | "button[10 ,1;2.5,.75;taller;" .. FS("Taller") .. "]", 90 | "button[10 ,2;2.5,.75;shorter;" .. FS("Shorter") .. "]", 91 | -- Width 92 | "button[12.5,1;2.5,.75;wider;" .. FS("Wider") .. "]", 93 | "button[12.5,2;2.5,.75;thinner;" .. FS("Thinner") .. "]", 94 | } 95 | local x = 11 96 | local y = 3 97 | 98 | for _, part in ipairs(order) do 99 | fs[#fs + 1] = 100 | ("button[%g,%g;1,.75;%s_back;<<]"):format(x - 1, y, part) .. 101 | ("button[%g,%g;3,.75;%s;%s]" ):format(x + 0, y, part, FS(skins_array[part][indexes[part]])) .. 102 | ("button[%g,%g;1,.75;%s_next;>>]"):format(x + 3, y, part) 103 | y = y + 0.75 104 | end 105 | table.insert(fs, 106 | "button_exit[10,9.2;2.5,.75;done;" .. FS("Done") .. "]" .. 107 | "button_exit[12.5,9.2;2.5,.75;cancel;" .. FS("Cancel") .. "]") 108 | 109 | minetest.show_formspec(player:get_player_name(), "character_creator", table.concat(fs)) 110 | end 111 | 112 | local function load_skin(player) 113 | skin_indexes[player] = {} 114 | 115 | local player_meta = player:get_meta() 116 | 117 | if not player_meta:contains("character_creator:gender") then 118 | player_meta:set_string("character_creator:gender", skin_default.gender) 119 | end 120 | 121 | if not player_meta:contains("character_creator:width") then 122 | player_meta:set_float("character_creator:width", skin_default.width) 123 | end 124 | 125 | if not player_meta:contains("character_creator:height") then 126 | player_meta:set_float("character_creator:height", skin_default.height) 127 | end 128 | 129 | local function load_data(data_name) 130 | local key = player_meta:get_string("character_creator:" .. data_name) 131 | local index = table.indexof(skins_array[data_name], key) 132 | if index == -1 then 133 | index = table.indexof(skins_array[data_name], skin_default[data_name]) 134 | end 135 | 136 | local indexes = skin_indexes[player] 137 | indexes[data_name] = index 138 | end 139 | 140 | load_data("skin") 141 | load_data("face") 142 | load_data("eyes") 143 | load_data("hair_style") 144 | load_data("hair") 145 | load_data("tshirt") 146 | load_data("pants") 147 | load_data("shoes") 148 | end 149 | 150 | local function save_skin(player) 151 | local player_meta = player:get_meta() 152 | if player_meta == nil then 153 | -- The player disconnected before this function was dispatched 154 | return 155 | end 156 | 157 | local function save_data(data_name) 158 | local indexes = skin_indexes[player] 159 | local index = indexes[data_name] 160 | local key = skins_array[data_name][index] 161 | player_meta:set_string("character_creator:" .. data_name, key) 162 | end 163 | 164 | save_data("skin") 165 | save_data("face") 166 | save_data("eyes") 167 | save_data("hair_style") 168 | save_data("hair") 169 | save_data("tshirt") 170 | save_data("pants") 171 | save_data("shoes") 172 | end 173 | 174 | local function get_texture(player) 175 | local player_meta = player:get_meta() 176 | if not player_meta then 177 | -- The player disconnected before this function was dispatched 178 | return "" 179 | end 180 | 181 | local defs = {} 182 | for part, selected in pairs(skin_indexes[player]) do 183 | local key = skins_array[part][selected] 184 | defs[part] = { 185 | key = key, 186 | -- Table reference to the selected hair/skin/... 187 | val = character_creator.skins[part][key] 188 | } 189 | end 190 | 191 | local gender = player_meta:get_string("character_creator:gender") 192 | local face = defs.face.val[gender][defs.skin.key] 193 | local hair = defs.hair.val[gender][defs.hair_style.key] 194 | return table.concat({ 195 | "(" .. defs.skin.val .. ")", 196 | "(" .. face .. ")", 197 | "(" .. defs.eyes.val .. ")", 198 | "(" .. hair .. ")", 199 | "(" .. defs.tshirt.val .. ")", 200 | "(" .. defs.pants.val .. ")", 201 | "(" .. defs.shoes.val .. ")", 202 | }, "^") 203 | end 204 | 205 | local function change_skin(player) 206 | local player_meta = player:get_meta() 207 | if player_meta == nil then 208 | -- The player disconnected before this function was dispatched 209 | return 210 | end 211 | 212 | local texture = get_texture(player) 213 | 214 | local width = player_meta:get_float("character_creator:width") 215 | local height = player_meta:get_float("character_creator:height") 216 | 217 | player:set_properties({ 218 | visual_size = { 219 | x = width, 220 | y = height 221 | } 222 | }) 223 | 224 | if minetest.get_modpath("multiskin") then 225 | local name = player:get_player_name() 226 | minetest.after(0, function(name) 227 | local player = minetest.get_player_by_name(name) 228 | if player then 229 | multiskin.layers[name].skin = texture 230 | armor:set_player_armor(player) 231 | multiskin:set_player_textures(player, {textures = {texture}}) 232 | end 233 | end, name) 234 | 235 | elseif minetest.get_modpath("3d_armor") then 236 | local name = player:get_player_name() 237 | minetest.after(0, function(name) 238 | local player = minetest.get_player_by_name(name) 239 | if player then 240 | armor.textures[name].skin = texture 241 | armor:set_player_armor(player) 242 | end 243 | end, name) 244 | 245 | else 246 | player:set_properties({textures = {texture}}) 247 | end 248 | 249 | save_skin(player) 250 | end 251 | 252 | if skinsdb then 253 | --change skin redefinition for skinsdb 254 | function change_skin(player) 255 | local player_meta = player:get_meta() 256 | if player_meta == nil then 257 | -- The player disconnected before this function was dispatched 258 | return 259 | end 260 | 261 | local playername = player:get_player_name() 262 | local skinname = "character_creator:"..playername 263 | local skin_obj = skinsdb.get(skinname) or skinsdb.new(skinname) 264 | skin_obj:set_meta("format", "1.0") 265 | skin_obj:set_meta("visual_size_x", player_meta:get_float("character_creator:width")) 266 | skin_obj:set_meta("visual_size_y", player_meta:get_float("character_creator:height")) 267 | skinsdb.assign_player_skin(player, skinname) 268 | skinsdb.update_player_skin(player) 269 | save_skin(player) 270 | end 271 | end 272 | 273 | minetest.register_on_joinplayer(function(player) 274 | load_skin(player) 275 | if skinsdb then 276 | local playername = player:get_player_name() 277 | local skinname = "character_creator:"..playername 278 | local skin_obj = skinsdb.get(skinname) or skinsdb.new(skinname) 279 | -- redefinitions 280 | function skin_obj:set_skin(player) 281 | if not player or not skin_indexes[player] then 282 | return -- not loaded or disconnected 283 | end 284 | change_skin(player) 285 | show_formspec(player) 286 | end 287 | function skin_obj:get_texture() 288 | return get_texture(minetest.get_player_by_name(self:get_meta("playername"))) 289 | end 290 | function skin_obj:get_hand() 291 | local player = minetest.get_player_by_name(self:get_meta("playername")) 292 | local skin_key = skins_array.skin[skin_indexes[player].skin] 293 | local hand_skin = skinsdb.get("character_creator:"..skin_key) 294 | if hand_skin then 295 | return hand_skin:get_hand() 296 | end 297 | end 298 | 299 | -- set data 300 | skin_obj:set_meta("name","Character Creator") 301 | --skin_obj:set_meta("author", "???") 302 | skin_obj:set_meta("license", "MIT / CC-BY-SA 3.0 Unported") 303 | skin_obj:set_meta("playername",playername) 304 | --check if active and start the update (avoid race condition for both register_on_joinplayer) 305 | if skinsdb.get_player_skin(player):get_key() == skinname then 306 | minetest.after(0, change_skin, player) 307 | end 308 | else 309 | minetest.after(0, change_skin, player) 310 | end 311 | end) 312 | 313 | minetest.register_on_leaveplayer(function(player) 314 | if skinsdb then 315 | local skinname = "character_creator:"..player:get_player_name() 316 | skinsdb.meta[skinname] = nil 317 | end 318 | skin_indexes[player] = nil 319 | end) 320 | 321 | local skin_temp = {} 322 | minetest.register_on_player_receive_fields(function(player, formname, fields) 323 | if formname ~= "character_creator" then 324 | return 325 | end 326 | 327 | local player_meta = player:get_meta() 328 | local indexes = skin_indexes[player] 329 | 330 | if not skin_temp[player] then 331 | skin_temp[player] = { 332 | gender = player_meta:get_string("character_creator:gender"), 333 | width = player_meta:get_float("character_creator:width"), 334 | height = player_meta:get_float("character_creator:height"), 335 | indexes = table.copy(indexes) 336 | } 337 | end 338 | 339 | -- Gender 340 | do 341 | if fields.male then 342 | player_meta:set_string("character_creator:gender", "Male") 343 | player_meta:set_float("character_creator:width", 1) 344 | player_meta:set_float("character_creator:height", 1) 345 | end 346 | 347 | if fields.female then 348 | player_meta:set_string("character_creator:gender", "Female") 349 | player_meta:set_float("character_creator:width", 0.95) 350 | player_meta:set_float("character_creator:height", 1) 351 | end 352 | end 353 | 354 | -- Height 355 | do 356 | local height = tonumber(player_meta:get_float("character_creator:height")) 357 | 358 | if fields.taller and height < 1.25 then 359 | player_meta:set_float("character_creator:height", height + 0.05) 360 | end 361 | 362 | if fields.shorter and height > 0.75 then 363 | player_meta:set_float("character_creator:height", height - 0.05) 364 | end 365 | end 366 | 367 | -- Width 368 | do 369 | local width = tonumber(player_meta:get_float("character_creator:width")) 370 | 371 | if fields.wider and width < 1.25 then 372 | player_meta:set_float("character_creator:width", width + 0.05) 373 | end 374 | 375 | if fields.thinner and width > 0.75 then 376 | player_meta:set_float("character_creator:width", width - 0.05) 377 | end 378 | end 379 | 380 | -- Switch skin 381 | do 382 | local function switch_skin(data_name, next_index) 383 | if not indexes[data_name] 384 | or not skins_array[data_name] then 385 | return -- Supplied invalid data 386 | end 387 | 388 | local index = indexes[data_name] + next_index 389 | local max = #skins_array[data_name] 390 | 391 | if index == 0 then 392 | index = max 393 | elseif index == (max + 1) then 394 | index = 1 395 | end 396 | 397 | indexes[data_name] = index 398 | end 399 | 400 | for field in pairs(fields) do 401 | if field:find("_back$") then 402 | local data_name = field:match("(.+)_back$") 403 | switch_skin(data_name, -1) 404 | elseif field:find("_next$") then 405 | local data_name = field:match("(.+)_next$") 406 | switch_skin(data_name, 1) 407 | end 408 | end 409 | end 410 | 411 | -- Close or update 412 | do 413 | local quit = false 414 | 415 | if fields.cancel then 416 | local temp = skin_temp[player] 417 | player_meta:set_string("character_creator:gender", temp.gender) 418 | player_meta:set_float("character_creator:width", temp.width) 419 | player_meta:set_float("character_creator:height", temp.height) 420 | skin_indexes[player] = table.copy(temp.indexes) 421 | skin_temp[player] = nil 422 | quit = true 423 | elseif fields.quit then 424 | skin_temp[player] = nil 425 | quit = true 426 | end 427 | 428 | if not quit then 429 | show_formspec(player) 430 | end 431 | end 432 | change_skin(player) 433 | end) 434 | 435 | minetest.register_chatcommand("character_creator", { 436 | func = function(name) 437 | minetest.after(0.5, function() 438 | local player = minetest.get_player_by_name(name) 439 | if player then 440 | show_formspec(player) 441 | end 442 | end) 443 | end 444 | }) 445 | 446 | if minetest.global_exists("unified_inventory") then 447 | unified_inventory.register_button("character_creator", { 448 | type = "image", 449 | image = "inventory_plus_character_creator.png", 450 | action = show_formspec 451 | }) 452 | elseif minetest.global_exists("inventory_plus") then 453 | minetest.register_on_joinplayer(function(player) 454 | inventory_plus.register_button(player, "character_creator", "Character Creator") 455 | end) 456 | minetest.register_on_player_receive_fields(function(player, _, fields) 457 | if fields.character_creator then 458 | show_formspec(player) 459 | end 460 | end) 461 | elseif not skinsdb and minetest.get_modpath("sfinv_buttons") then 462 | sfinv_buttons.register_button("character_creator", { 463 | image = "inventory_plus_character_creator.png", 464 | title = "Character Creator", 465 | action = show_formspec, 466 | }) 467 | 468 | elseif not skinsdb and not minetest.get_modpath("sfinv_buttons") 469 | and minetest.global_exists("sfinv") and sfinv.enabled then 470 | 471 | local old_func = sfinv.pages["sfinv:crafting"].get 472 | sfinv.override_page("sfinv:crafting", { 473 | get = function(self, player, context) 474 | local fs = old_func(self, player, context) 475 | return fs .. "image_button[0,0;1,1;inventory_plus_character_creator.png;character_creator;]" 476 | end 477 | }) 478 | 479 | minetest.register_on_player_receive_fields(function(player, formname, fields) 480 | if fields.character_creator then 481 | show_formspec(player) 482 | return true 483 | end 484 | end) 485 | end 486 | --------------------------------------------------------------------------------