4 Commits

Author SHA1 Message Date
97084c9060 equipment: create equipment mod, add test equip 2026-04-17 17:24:10 +03:00
7e46c858cc Update ide-helper 2026-04-17 17:10:44 +03:00
ac28f9e92b Update ide-helper 2026-04-17 16:55:52 +03:00
b62e19d10a Update ide-helper 2026-04-17 16:26:02 +03:00
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
local Item, TileSheet = Smc.requireItem(), Smc.requireTileSheet()
local EquipTileSheet = TileSheet:new('equipment_sheet.png', 16, 16)
Item:new({
settings = {
name = 'test_helmet',
inventory_image = EquipTileSheet:t(0, 0),
groups = {
equip_head = 2
}
}
})
Item:new({
settings = {
name = 'test_armor',
inventory_image = EquipTileSheet:t(1, 0),
groups = {
equip_torso = 2
}
}
})

View File

@@ -0,0 +1,2 @@
name = smc__game__items__equipment
depends = smc__core__item

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB