diff --git a/mods/GAME/ITEMS/plants/init.lua b/mods/GAME/ITEMS/plants/init.lua index b883308..367dc57 100644 --- a/mods/GAME/ITEMS/plants/init.lua +++ b/mods/GAME/ITEMS/plants/init.lua @@ -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, + } +}) + diff --git a/mods/GAME/ITEMS/plants/textures/sheets/plants_test_sheet.png b/mods/GAME/ITEMS/plants/textures/sheets/plants_test_sheet.png index 28683e6..ab70f7b 100644 Binary files a/mods/GAME/ITEMS/plants/textures/sheets/plants_test_sheet.png and b/mods/GAME/ITEMS/plants/textures/sheets/plants_test_sheet.png differ