aboutsummaryrefslogtreecommitdiff
path: root/gamemode/shared/itemsystem/quest/togglechip.lua
blob: 7b8ee04114633c024f654837a12b91d41309e742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--[[
    A toggle chip (quest item) for subterr_generator quest
]]
local item = {}

item.Name = "Toggle Chip"

item.Serialize = function(self)
    print("Trying to serailize!")
    return ""
end

item.DeSerialize = function(self,string)
    print("Trying to deserialize!")
    return self
end

item.Shape = {
    {true,true},
    {true,true},
}

print("Hello from togglechip.lua")
ART.RegisterItem(item)