garden/item/key.lua
Hyeonung Baek 340ff8f519 A set of updates
- add object door
- refactor log
- etc
2025-01-04 15:53:45 +09:00

20 lines
411 B
Lua

local window = require('window')
local item = require('item')
-- A key.
local k = item:from{
width = 20,
height = 20,
lines = {
{'fill', {0, 0, 0, 5, 5, 5, 5, 0}},
{'line', {5, 5, 20, 20}},
{'line', {10, 10, 5, 15}},
{'line', {15, 15, 10, 20}},
},
name = "key",
description = "A key for locked containers with varying volume",
code = 0,
}
return k