forked from mtcontrib/maidroid
Update registering maidroid
This commit is contained in:
parent
7ec1f73de0
commit
96a43b7fa8
@ -8,28 +8,15 @@ maidroid.register_egg("maidroid:empty_egg", {
|
|||||||
inventory_image = "maidroid_empty_egg.png",
|
inventory_image = "maidroid_empty_egg.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
maidroid.register_maidroid("maidroid:maidroid_mk1", {
|
for i = 1, 15 do
|
||||||
|
local product_name = "maidroid:maidroid_mk" .. tostring(i)
|
||||||
|
local texture_name = "maidroid_maidroid_mk" .. tostring(i) .. ".png"
|
||||||
|
local egg_img_name = "maidroid_maidroid_mk" .. tostring(i) .. "_egg.png"
|
||||||
|
maidroid.register_maidroid(product_name, {
|
||||||
hp_max = 10,
|
hp_max = 10,
|
||||||
weight = 20,
|
weight = 20,
|
||||||
mesh = "maidroid.b3d",
|
mesh = "maidroid.b3d",
|
||||||
textures = {"maidroid_mk1.png"},
|
textures = {texture_name},
|
||||||
egg_image = "maidroid_maidroid_mk1_egg.png",
|
egg_image = egg_img_name,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
--[[
|
|
||||||
maidroid.register_maidroid("maidroid:maidroid_mk2", {
|
|
||||||
hp_max = 10,
|
|
||||||
weight = 20,
|
|
||||||
mesh = "maidroid.b3d",
|
|
||||||
textures = {"maidroid_mk2.png"},
|
|
||||||
egg_image = "maidroid_mk2_egg.png",
|
|
||||||
})
|
|
||||||
|
|
||||||
maidroid.register_maidroid("maidroid:maidroid_mk3", {
|
|
||||||
hp_max = 10,
|
|
||||||
weight = 20,
|
|
||||||
mesh = "maidroid.b3d",
|
|
||||||
textures = {"maidroid_mk3.png"},
|
|
||||||
egg_image = "maidroid_mk3_egg.png",
|
|
||||||
})
|
|
||||||
]]--
|
|
||||||
|
Loading…
Reference in New Issue
Block a user