equal
deleted
inserted
replaced
257 end |
257 end |
258 |
258 |
259 if not param then |
259 if not param then |
260 return ("not global_throttle_%s:poll(1)"):format(name), { "globalthrottle:"..name, unpack(meta_deps) }; |
260 return ("not global_throttle_%s:poll(1)"):format(name), { "globalthrottle:"..name, unpack(meta_deps) }; |
261 end |
261 end |
262 return ("not multi_throttle_%s:poll_on(%s, 1)"):format(name, param), { "multithrottle:"..name, unpack(meta_deps) }; |
262 return ("not multi_throttle_%s:poll_on(%s, 1)"):format(name, param), { "multithrottle:"..name, unpack(meta_deps) }; |
263 end |
263 end |
264 |
264 |
265 function condition_handlers.ORIGIN_MARKED(name_and_time) |
265 function condition_handlers.ORIGIN_MARKED(name_and_time) |
266 local name, time = name_and_time:match("^%s*([%w_]+)%s+%(([^)]+)s%)%s*$"); |
266 local name, time = name_and_time:match("^%s*([%w_]+)%s+%(([^)]+)s%)%s*$"); |
267 if not name then |
267 if not name then |