Remove things from effect_ideas API that have already been implemented (at least in theory)

a
This commit is contained in:
raymoo 2016-01-28 16:26:03 -08:00
parent fa6f0a5af2
commit dfe1f02739
2 changed files with 1 additions and 14 deletions

View File

@ -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

View File

@ -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)