Variables

@:value(MapData.RAD)RAD:Int = MapData.RAD

@:value(new Pos())home:Pos = new Pos()

@:value(false)moving:Bool = false

onComplete:Void ‑> Void

onError:String ‑> Void

Methods

baby (x:Int, y:Int):Program

USE action taken on a baby to pick them up.

Parameters:

x
y

Returns:

Program

clear ():Void

@:value({ c : -1 })drop (x:Int, y:Int, c:Int = -1):Program

emote (e:Int):Program

force (x:Int, y:Int):Void

goto (x:Int, y:Int):Bool

grave (x:Int, y:Int):Void

@:value({ index : -1 })inventory (i:Int, index:Int = -1):Program

jump ():Program

Baby jump from arms

Returns:

Program

@:value({ id : null, y : 0, x : null })kill (?x:Int, y:Int = 0, ?id:Int):Void

owner (x:Int, y:Int):Void

@:value({ index : -1 })pull (i:Int, index:Int = -1):Program

Remove object from clothing

Parameters:

i
index

Returns:

Program

@:value({ index : -1 })remove (x:Int, y:Int, index:Int = -1):Program

is special case of removing an object from a container. i specifies the index of the container item to remove, or -1 to

 remove top of stack.
  • @param x
  • @param y
  • @param index
  • @return Program

say (string:String):Program

@:value({ index : -1 })self (index:Int = -1):Program

Use action on self (eat) or add clothing

Parameters:

index

Returns:

Program

@:value({ data : "" })send (tag:ServerTag, x:Int, y:Int, data:String = ""):Void

setHome (x:Int, y:Int):Program

@:value({ i : -1 })specialRemove (i:Int = -1):Program

is special case of removing an object contained in a piece of worn clothing.

 * @param i 
 * @return Program

sub (a:Pos, b:Pos):Pos

@:value({ index : -1 })ubaby (x:Int, y:Int, index:Int = -1):Program

special case of SELF applied to a baby (to feed baby food or add/remove clothing from baby) UBABY is used for healing wounded players.

Parameters:

x
y
index

Returns:

Program

update (player:PlayerInstance):Void

use (x:Int, y:Int):Program