Merge pull request #81 from tacigar/tacigar/maidroid_imgs
Add maidroids. Close #75
BIN
maidroid/models/maidroid_maidroid_mk1.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_maidroid_mk10.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_maidroid_mk11.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_maidroid_mk12.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_maidroid_mk13.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_maidroid_mk14.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_maidroid_mk15.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_maidroid_mk2.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_maidroid_mk3.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_maidroid_mk4.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_maidroid_mk5.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_maidroid_mk6.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_maidroid_mk7.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_maidroid_mk8.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_maidroid_mk9.png
Normal file
After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_mk10.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_mk11.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_mk12.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_mk13.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_mk14.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_mk15.png
Normal file
After Width: | Height: | Size: 670 B |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_mk4.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_mk5.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_mk6.png
Normal file
After Width: | Height: | Size: 670 B |
BIN
maidroid/models/maidroid_mk7.png
Normal file
After Width: | Height: | Size: 667 B |
BIN
maidroid/models/maidroid_mk8.png
Normal file
After Width: | Height: | Size: 651 B |
BIN
maidroid/models/maidroid_mk9.png
Normal file
After Width: | Height: | Size: 670 B |
30
maidroid/models/scripts/generate_maidroid.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#/bin/bash
|
||||
|
||||
declare -a arr=()
|
||||
arr[1]='gray92'
|
||||
arr[2]='gray68'
|
||||
arr[3]='gray36'
|
||||
arr[4]='gray17'
|
||||
arr[5]='blue'
|
||||
arr[6]='cyan'
|
||||
arr[7]='green'
|
||||
arr[8]='DarkGreen'
|
||||
arr[9]='yellow'
|
||||
arr[10]='orange'
|
||||
arr[11]='brown'
|
||||
arr[12]='red'
|
||||
arr[13]='pink'
|
||||
arr[14]='magenta'
|
||||
arr[15]='violet'
|
||||
|
||||
for ((i=1; i<16; i++)); do
|
||||
type=$(($i % 3 + 1))
|
||||
maidroid_type="maidroid_type${type}.png"
|
||||
|
||||
output="../maidroid_maidroid_mk${i}.png"
|
||||
color=${arr[i]}
|
||||
convert +level-colors $color,White maidroid_hair.png maidroid_hair_tmp.png
|
||||
composite maidroid_hair_tmp.png $maidroid_type $output
|
||||
|
||||
rm maidroid_hair_tmp.png
|
||||
done
|
BIN
maidroid/models/scripts/maidroid.png
Normal file
After Width: | Height: | Size: 1008 B |
BIN
maidroid/models/scripts/maidroid.xcf
Normal file
BIN
maidroid/models/scripts/maidroid_hair.png
Normal file
After Width: | Height: | Size: 668 B |
BIN
maidroid/models/scripts/maidroid_hair.xcf
Normal file
BIN
maidroid/models/scripts/maidroid_type1.png
Normal file
After Width: | Height: | Size: 1015 B |
BIN
maidroid/models/scripts/maidroid_type1.xcf
Normal file
BIN
maidroid/models/scripts/maidroid_type2.png
Normal file
After Width: | Height: | Size: 1008 B |
BIN
maidroid/models/scripts/maidroid_type2.xcf
Normal file
BIN
maidroid/models/scripts/maidroid_type3.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
maidroid/models/scripts/maidroid_type3.xcf
Normal file
@ -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
|
||||
|
BIN
maidroid/textures/maidroid_maidroid_mk10_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk11_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk12_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk13_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk14_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk15_egg.png
Normal file
After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 439 B After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk2_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk3_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk4_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk5_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk6_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk7_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk8_egg.png
Normal file
After Width: | Height: | Size: 413 B |
BIN
maidroid/textures/maidroid_maidroid_mk9_egg.png
Normal file
After Width: | Height: | Size: 413 B |
Before Width: | Height: | Size: 229 B |
Before Width: | Height: | Size: 233 B |
Before Width: | Height: | Size: 232 B |
BIN
maidroid/textures/scripts/egg.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
maidroid/textures/scripts/egg_pattern.png
Normal file
After Width: | Height: | Size: 334 B |
BIN
maidroid/textures/scripts/egg_pattern.xcf
Normal file
27
maidroid/textures/scripts/generate_egg.sh
Normal file
@ -0,0 +1,27 @@
|
||||
#/bin/bash
|
||||
|
||||
declare -a arr=()
|
||||
arr[1]='gray92'
|
||||
arr[2]='gray68'
|
||||
arr[3]='gray36'
|
||||
arr[4]='gray17'
|
||||
arr[5]='blue'
|
||||
arr[6]='cyan'
|
||||
arr[7]='green'
|
||||
arr[8]='DarkGreen'
|
||||
arr[9]='yellow'
|
||||
arr[10]='orange'
|
||||
arr[11]='brown'
|
||||
arr[12]='red'
|
||||
arr[13]='pink'
|
||||
arr[14]='magenta'
|
||||
arr[15]='violet'
|
||||
|
||||
for ((i=1; i<16; i++)); do
|
||||
output="../maidroid_maidroid_mk${i}_egg.png"
|
||||
color=${arr[i]}
|
||||
convert +level-colors $color,White egg_pattern.png egg_pattern_tmp.png
|
||||
composite egg_pattern_tmp.png egg.png $output
|
||||
|
||||
rm egg_pattern_tmp.png
|
||||
done
|
@ -6,7 +6,21 @@
|
||||
do -- register egg writer
|
||||
|
||||
local dye_item_map = {
|
||||
["dye:red"] = "maidroid:maidroid_mk1_egg",
|
||||
["dye:white"] = "maidroid:maidroid_mk1_egg",
|
||||
["dye:grey"] = "maidroid:maidroid_mk2_egg",
|
||||
["dye:dark_grey"] = "maidroid:maidroid_mk3_egg",
|
||||
["dye:black"] = "maidroid:maidroid_mk4_egg",
|
||||
["dye:blue"] = "maidroid:maidroid_mk5_egg",
|
||||
["dye:cyan"] = "maidroid:maidroid_mk6_egg",
|
||||
["dye:green"] = "maidroid:maidroid_mk7_egg",
|
||||
["dye:dark_green"] = "maidroid:maidroid_mk8_egg",
|
||||
["dye:yellow"] = "maidroid:maidroid_mk9_egg",
|
||||
["dye:orange"] = "maidroid:maidroid_mk10_egg",
|
||||
["dye:brown"] = "maidroid:maidroid_mk11_egg",
|
||||
["dye:red"] = "maidroid:maidroid_mk12_egg",
|
||||
["dye:pink"] = "maidroid:maidroid_mk13_egg",
|
||||
["dye:magenta"] = "maidroid:maidroid_mk14_egg",
|
||||
["dye:violet"] = "maidroid:maidroid_mk15_egg",
|
||||
}
|
||||
|
||||
local formspec = { -- want to change.
|
||||
|