mirror of
https://github.com/tacigar/maidroid.git
synced 2024-11-05 09:40:34 +01:00
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",
|
||||
})
|
||||
|
||||
maidroid.register_maidroid("maidroid:maidroid_mk1", {
|
||||
hp_max = 10,
|
||||
weight = 20,
|
||||
mesh = "maidroid.b3d",
|
||||
textures = {"maidroid_mk1.png"},
|
||||
egg_image = "maidroid_maidroid_mk1_egg.png",
|
||||
})
|
||||
|
||||
--[[
|
||||
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",
|
||||
})
|
||||
]]--
|
||||
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,
|
||||
weight = 20,
|
||||
mesh = "maidroid.b3d",
|
||||
textures = {texture_name},
|
||||
egg_image = egg_img_name,
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user