blob: bb65aee9be7e3f8e57e93e354e7acd7ca001c004 (
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
25
26
27
28
29
30
31
32
33
34
|
--[[
--Contains the code for a home
--]]
local home = {}
local home_base = {
add_room = function(self,fromroom,direction)
end,
rooms = {
},
serialize = function(self)
end,
deserialize = function(self,data)
end,
add_item_to_room = function(self,room,item,location_desc)
end
}
local home_m = {__index=home_base}
function home.new(player_name,data)
local ret = {
created_by=player_name
}
return ret
end
return home
|