diff --git a/commands.lua b/commands.lua index e3da0d5..cb31170 100644 --- a/commands.lua +++ b/commands.lua @@ -6,7 +6,7 @@ minetest.register_chatcommand("apply_effect", privs = { monoid_master = true }, func = function(p_name, param) local target, eff, dur = - param:match("^[^ ]+) +([^ ]+) +(.+)$") + param:match("^([^ ]+) +([^ ]+) +(.+)$") if not target then return false, "Target name required" end diff --git a/effect_ideas b/effect_ideas index 4d4f717..4f5245b 100644 --- a/effect_ideas +++ b/effect_ideas @@ -91,19 +91,6 @@ is an empty table. API === -A way to register new effect monoids - -A way to register new effect types - -A way to register an effect monoid as the child of another -(so its values contribute) - -A way to get the current status for a player, in some effect group - -A way to apply an effect to a player - -A way to remove an effect from a player - A way to get an effect's information by id A way to get a relational table of effects (with operations like Haskell's ixset)