diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-01 13:22:39 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-01 13:22:39 +0000 |
commit | 1e1e7331cbc02c836b8502dd22583584ec3cce93 (patch) | |
tree | 3b3298bbba910ce844a99ea9291c148bc23b5d9d /crawl-ref/source/dat/clua/lm_pdesc.lua | |
parent | 0a8672084b1c7d63b2e87a5a6e579f4c2afeabd7 (diff) | |
download | crawl-ref-1e1e7331cbc02c836b8502dd22583584ec3cce93.tar.gz crawl-ref-1e1e7331cbc02c836b8502dd22583584ec3cce93.zip |
Added a brief howto for portal vaults (bobbens), removed unnecessary desc field from lm_pdesc.lua, breaks saves.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2717 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dat/clua/lm_pdesc.lua')
-rw-r--r-- | crawl-ref/source/dat/clua/lm_pdesc.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/dat/clua/lm_pdesc.lua b/crawl-ref/source/dat/clua/lm_pdesc.lua index 5b02247fa2..a704004872 100644 --- a/crawl-ref/source/dat/clua/lm_pdesc.lua +++ b/crawl-ref/source/dat/clua/lm_pdesc.lua @@ -14,12 +14,10 @@ function PortalDescriptor:new(properties) end function PortalDescriptor:write(marker, th) - file.marshall(th, self.desc or '') lmark.marshall_table(th, self.props) end function PortalDescriptor:read(marker, th) - self.desc = file.unmarshall_string(th) self.props = lmark.unmarshall_table(th) setmetatable(self, PortalDescriptor) return self @@ -33,6 +31,6 @@ function PortalDescriptor:property(marker, pname) return self.props and self.props[pname] or '' end -function portal_desc(desc, props) - return PortalDescriptor:new(desc, props) +function portal_desc(props) + return PortalDescriptor:new(props) end |