diff options
Diffstat (limited to 'client/data/home.lua')
| -rw-r--r-- | client/data/home.lua | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/client/data/home.lua b/client/data/home.lua index bb65aee..973eca9 100644 --- a/client/data/home.lua +++ b/client/data/home.lua @@ -1,34 +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 +--[[
+--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
|
