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
|
||||
@@ -16,8 +16,25 @@ for i=0, 3 do
|
||||
settings = {
|
||||
name = 'plant'..tostring(i),
|
||||
_title = 'Plant',
|
||||
tiles = { ts:t(i,0) },
|
||||
tiles = { PlantsTileSheet:t(i,0) },
|
||||
place_param2 = 3,
|
||||
},
|
||||
})
|
||||
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,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user