From 8c2b0f2729f29f3906a75e2fba72d2dad4a80ee2 Mon Sep 17 00:00:00 2001 From: Fate Date: Mon, 24 Nov 2008 12:41:04 -0700 Subject: Added spell_index and is_equipped operations, permitted coercions from invocations to strings --- doc/spell-language | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc') diff --git a/doc/spell-language b/doc/spell-language index de34152..270f2f0 100644 --- a/doc/spell-language +++ b/doc/spell-language @@ -500,6 +500,15 @@ The following functions are available: Determines what element level the entity has + has_shroud : entity -> int + Determines whether the player is presently shrouded (i.e., whether + the player's name is being obscured.) + + + is_equipped : entity * int -> int + : entity * string -> int + Determines whether the player has equipped the specified item + + + spell_index : spell -> int + Determines a unique index assigned to each spell Operations: -- cgit v1.2.3-60-g2f50