diff options
Diffstat (limited to 'client/data/home.lua')
| -rw-r--r-- | client/data/home.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/client/data/home.lua b/client/data/home.lua new file mode 100644 index 0000000..bb65aee --- /dev/null +++ b/client/data/home.lua @@ -0,0 +1,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 |
