Update 'mods/mobs_npc/villager.lua'
This commit is contained in:
parent
41dc495f5d
commit
11081e8e9b
|
@ -9,7 +9,7 @@ mobs.npc_drops = {
|
||||||
|
|
||||||
human = {
|
human = {
|
||||||
male_skins = {},
|
male_skins = {},
|
||||||
female_skins = {}
|
-- female_skins = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
--Human skin gen
|
--Human skin gen
|
||||||
|
@ -66,16 +66,16 @@ for i = 1, 16 do
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
for i = 1, 16 do
|
--for i = 1, 16 do
|
||||||
|
|
||||||
table.insert(human.female_skins, {
|
-- table.insert(human.female_skins, {
|
||||||
human_skin[math.random(2)] .. '^'
|
-- human_skin[math.random(2)] .. '^'
|
||||||
.. human_female_eyes[math.random(3)] .. '^'
|
-- .. human_female_eyes[math.random(3)] .. '^'
|
||||||
.. female_shirt[math.random(4)] .. '^'
|
-- .. female_shirt[math.random(4)] .. '^'
|
||||||
.. female_shoes[math.random(2)] .. '^'
|
-- .. female_shoes[math.random(2)] .. '^'
|
||||||
.. female_pants[math.random(2)] .. '^'
|
-- .. female_pants[math.random(2)] .. '^'
|
||||||
.. human_female_hair[math.random(4)]
|
-- .. human_female_hair[math.random(4)]
|
||||||
})
|
-- })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -98,11 +98,11 @@ mobs:register_mob("mobs_npc:villager", {
|
||||||
drawtype = "front",
|
drawtype = "front",
|
||||||
textures = {
|
textures = {
|
||||||
human.male_skins,
|
human.male_skins,
|
||||||
human.female_skins,
|
-- human.female_skins,
|
||||||
},
|
},
|
||||||
child_texture = {
|
child_texture = {
|
||||||
human.male_skins,
|
human.male_skins,
|
||||||
human.female_skins,
|
-- human.female_skins,
|
||||||
},
|
},
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
sounds = {},
|
sounds = {},
|
||||||
|
|
Loading…
Reference in New Issue