Player attributes

From Graal Bible
Revision as of 23:03, 1 November 2004 by Sonwell (talk | contribs)

The properties of any given player. The client is usually afforded the ability to change the visual aspects of their player, whilst more important modifications - money, health and so on - can only be set from the RC or by using scripts designed to do so.

The full list of attributes editable by the RC is listed below.

Player look: head, body, animation, skin colour, coat colour, sleeve colour, shoe colour and belt colour. These can usually be changed by the client using simple chat commands: see appearance commands.

Player properties: Level, x co-ordinate, y co-ordinate, hearts, fullhearts, AP, MP, gralats, glove power, bomb count, arrow count, sword power, sword image, shield power, shield image, gender, weapon status, spin attack status, opened chests, weapons, and script flags.


Scripting items designed for editting player attributes include:
(OBJ: GScript1 -> GScript2)
sword: #1 -> player.swordimg
shield: #2 -> player.shieldimg
head: #3 -> player.headimg
Body: #8 -> player.bodyimg
Skin: #C0 -> player.colors[0]
Shoes: #C1 -> player.colors[1]
Sleeves: #C2 -> player.colors[2]
Coat: #C3 -> player.colors[3] Belt: #C4 -> player.colors[4]