summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-31 22:21:03 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-10-31 22:21:03 +0530
commit9e289c6c51d11c91cbe1fb08bd40ce430f69823c (patch)
tree18f0d8dd1fae062dc6769ccca35ec345f133f2fb
parentad11744e5d49d226fc9c77ed48c3dd8b97921350 (diff)
downloadcrawl-ref-9e289c6c51d11c91cbe1fb08bd40ce430f69823c.tar.gz
crawl-ref-9e289c6c51d11c91cbe1fb08bd40ce430f69823c.zip
s/helper/listener/ for function machines that act as listeners.
-rw-r--r--crawl-ref/source/dat/clua/lm_func.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dat/clua/lm_func.lua b/crawl-ref/source/dat/clua/lm_func.lua
index cd83cf61a3..692990f2de 100644
--- a/crawl-ref/source/dat/clua/lm_func.lua
+++ b/crawl-ref/source/dat/clua/lm_func.lua
@@ -21,8 +21,8 @@
-- * "player_at": Calls the function whenever the player is at the
-- same position as the marker. Takes the same "repeated"
-- parameter as "in_los".
--- * "helper": A function machine that can be linked into other lua
--- markers and machines. It is not triggered independantly, but
+-- * "listener": A function machine that can be linked into other lua
+-- markers and machines. It is not triggered independently, but
-- called by the "parent" marker, though always with the same
-- marker_table parameter as other machines. May take further
-- parameters, see the parent's documentation.
@@ -108,7 +108,7 @@ end
function FunctionMachine:activate(marker, verbose)
local _x, _y = marker:pos()
- if (self.marker_type == "helper") then
+ if (self.marker_type == "listener") then
return
else
dgn.register_listener(dgn.dgn_event_type('turn'), marker)