diff options
author | Jared Adams <jaxad0127@gmail.com> | 2008-10-26 20:40:30 +0000 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2008-10-26 20:40:30 +0000 |
commit | 90735f447e12393f3d89b8c053bd4d8c8a707fa2 (patch) | |
tree | dc6757d0b88d3f7ba9f7f545aba437983bc0255b /spell-language | |
parent | 7f21ec064e78bf8d06ae341d1d61e12516970719 (diff) | |
download | tmwa-90735f447e12393f3d89b8c053bd4d8c8a707fa2.tar.gz tmwa-90735f447e12393f3d89b8c053bd4d8c8a707fa2.tar.bz2 tmwa-90735f447e12393f3d89b8c053bd4d8c8a707fa2.tar.xz tmwa-90735f447e12393f3d89b8c053bd4d8c8a707fa2.zip |
Commit Mantis 509
Diffstat (limited to 'spell-language')
-rw-r--r-- | spell-language | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/spell-language b/spell-language index 21a03a9..b87b42d 100644 --- a/spell-language +++ b/spell-language @@ -609,7 +609,6 @@ This section documents the operations API. instances of `item'. As usual, `item' can be either a string name or an item ID. - + aggravate : entity * int * entity -> () aggravate (victim, mode, target) causes the `victim' to mode = 0: attack `target' @@ -624,9 +623,27 @@ This section documents the operations API. + emote : entity * int -> () Issues the specified emotion to the specified entity. - - set_script_variable : entity * string * int -> () + + set_script_variable : entity * string * int -> () Sets a script variable to the specified value + + set_hair_colour : entity * int -> () + Sets the hair colour of the specified entity to the specified + value (must be a PC). + + + set_hair_style : entity * int -> () + Adjusts the hair style of a PC. + + + drop_item : location * (int | string) * int * int -> () + drop_item(place, "name", count, duration) drops `count' items + (where count may be zero) of name "name" at `place'. The items + vanish again after `duration'. + + + drop_item_for : location * (int | string) + * int * int * entity * int -> () + drop_item_for(place, obj, count, duration, owner, delay) works + like drop_item(place, obj, count, duration), except that the item + can only be picked up by `owner' for the next `delay' + milliseconds, modulo pickup rules (spousal pickup, out-of-range). Script API updates: ------------------- |