diff options
| author | U-DESKTOP-FOJ6TK1\Alex <alex@cogarr.net> | 2025-02-12 17:25:25 -0600 |
|---|---|---|
| committer | U-DESKTOP-FOJ6TK1\Alex <alex@cogarr.net> | 2025-02-12 17:25:25 -0600 |
| commit | b1c3386ca4032ac5925969d759ae2e5bc015d1f8 (patch) | |
| tree | 74e7d8797afea9df12222e149e865134ddec9479 /client/data/home.lua | |
| parent | 0aae46ecc38005236210f7e243f02cac39ab1dc3 (diff) | |
| download | home_text_adventure-master.tar.gz home_text_adventure-master.tar.bz2 home_text_adventure-master.zip | |
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
|
