plants: add rye
This commit is contained in:
@@ -8,7 +8,7 @@ Plant:new({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
local ts = TileSheet:new('plants_test_sheet.png', 16, 16)
|
local PlantsTileSheet = TileSheet:new('plants_test_sheet.png', 16, 16)
|
||||||
|
|
||||||
|
|
||||||
for i=0, 3 do
|
for i=0, 3 do
|
||||||
@@ -16,8 +16,25 @@ for i=0, 3 do
|
|||||||
settings = {
|
settings = {
|
||||||
name = 'plant'..tostring(i),
|
name = 'plant'..tostring(i),
|
||||||
_title = 'Plant',
|
_title = 'Plant',
|
||||||
tiles = { ts:t(i,0) },
|
tiles = { PlantsTileSheet:t(i,0) },
|
||||||
place_param2 = 3,
|
place_param2 = 3,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Plant:new({
|
||||||
|
settings = {
|
||||||
|
name = 'rye',
|
||||||
|
tiles = {PlantsTileSheet:t(0,1)},
|
||||||
|
place_param2 = 3,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
Plant:new({
|
||||||
|
settings = {
|
||||||
|
name = 'rye_small',
|
||||||
|
tiles = {PlantsTileSheet:t(0,2)},
|
||||||
|
place_param2 = 3,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 36 KiB |
Reference in New Issue
Block a user