diff LibFarmbuyer.lua @ 100:a57133ee3c9b

- Allow event callbacks using the standard CallbackHandler scheme. Add a debug.callback flag with usual semantics. - Fire an initial set of events. This will take experimentation. - If restoring g_loot, set metatables on previous entries also.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Mon, 30 Jul 2012 19:25:46 +0000
parents 3546c7b55986
children fb4bda3ad05c
line wrap: on
line diff
--- a/LibFarmbuyer.lua	Sun Jul 29 23:12:18 2012 +0000
+++ b/LibFarmbuyer.lua	Mon Jul 30 19:25:46 2012 +0000
@@ -8,11 +8,11 @@
   Evaluates to true if I'm hacking on something.
 
 - tableprint(t[,f])
-  A single print() call to the contents of T, including nils; strings are
-  cleaned up with respect to embedded '|'/control chars.  A single space
-  is used during concatenation of T.  If a function F is passed, calls that
-  instead of print().  Returns the accumulated string and either T or the
-  returned values of F, depending on which was used.
+  A single print() call to the tostring'd contents of T, including nils;
+  strings are cleaned up with respect to embedded '|'/control chars.  A
+  single space is used during concatenation of T.  If a function F is passed,
+  calls that instead of print().  Returns the accumulated string and either
+  T or the returned values of F, depending on which was used.
 
 - safeprint(...)
   Same as tableprint() on the argument list.  Returns the results of tableprint.