Remove things from effect_ideas API that have already been implemented (at least in theory)
a
This commit is contained in:
parent
fa6f0a5af2
commit
dfe1f02739
@ -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
|
||||
|
13
effect_ideas
13
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user