[Crossfire-wiki] [Crossfire DokuWiki] page changed: cfpython
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Wed Jan 3 04:38:27 CST 2007
A page in your DokuWiki was added or changed. Here are the details:
Date : 2007/01/03 04:38
User : ryo
Edit Summary: some update
@@ -242,121 +242,124 @@
* More: next archetype linked to current archetype. Will be ''None'' for last item
Methods:
* NewObject: returns a ''Crossfire.Object'' having this archetype as type
+
===== Crossfire.Object methods and attributes =====
+
+ FIXME link to dev:objects 's fields?
Properties in **bold** are read-write, others are readonly.
- * **Name**
- * **NamePl**
- * **Title**
- * **Map**
- * **Cha**
- * **Con**
- * **Dex**
- * **Int**
- * **Pow**
- * **Str**
- * **Wis**
- * **HP**
- * **MaxHP**
- * **SP**
- * **MaxSP**
- * **Grace**
- * **MaxGrace**
- * **Food**
- * **AC**
- * **WC**
+ * **Name**: ''String'' containing the object's name
+ * **NamePl**: ''String'' containing the object's plural name
+ * **Title**: ''String''
+ * **Map**: ''[[cfpython#Crossfire.Map methods and attributes|Crossfire.Map]]'' containing the map the object is in. Changing that teleports the object to specified map, at default coordinates.
+ * **Cha**: charisma
+ * **Con**: constitution
+ * **Dex**: dexterity
+ * **Int**: intelligence
+ * **Pow**: power
+ * **Str**: strength
+ * **Wis**: wisdom
+ * **HP**: hitpoints
+ * **MaxHP**: maximum hitpoints
+ * **SP**: spellpoints
+ * **MaxSP**: maximum spellpoints
+ * **Grace**: grace
+ * **MaxGrace**: maximum grace
+ * **Food**: food
+ * **AC**: armour class
+ * **WC**: weapon class
* **Dam**
* Luck
* Exp
- * **Message**
- * **Slaying**
- * **Cursed**
- * **Damned**
- * **Weight**
- * **WeightLimit**
- * Above
- * Below
- * Inventory
- * X
- * Y
- * **Direction**
- * **Facing**
- * **Unaggressive**
- * **God**
- * **Pickable**
- * **Quantity**
- * **Invisible**
- * **Speed**
- * **LastSP**
- * **LastGrace**
- * Level
- * **Face**
- * **AttackType**
- * BeenApplied
- * Identified
- * Alive
- * DungeonMaster
- * WasDungeonMaster
- * Applied
- * **Unpaid**
- * **Flying**
- * Monster
- * **Friendly**
- * Generator
- * Thrown
- * **CanSeeInvisible**
- * **Rollable**
- * **Turnable**
- * **UsedUp**
- * Splitting
- * **Blind**
- * CanUseHorn
- * CanUseRod
- * CanUseSkill
- * **KnownCursed**
- * **Stealthy**
- * **Confused**
- * **Sleeping**
- * **Lifesaver**
- * Floor
- * HasXRays
- * CanUseRing
- * CanUseBow
- * CanUseWand
- * **CanSeeInDark**
- * **KnownMagical**
- * CanUseWeapon
- * CanUseArmour
- * CanUseScroll
- * CanCastSpell
- * **ReflectSpells**
- * **ReflectMissiles**
- * **Unique**
- * CanPickUp
- * **CanPassThru**
- * **RunAway**
- * **Scared**
- * **Undead**
- * **BlocksView**
- * **HitBack**
- * **StandStill**
- * **OnlyAttack**
- * **MakeInvisible**
- * Money
- * Type
- * Subtype
- * **Value**
- * ArchName
- * Archetype
- * **NoSave**
+ * **Message**: ''String''
+ * **Slaying**: ''String''
+ * **Cursed**: ''Boolean''
+ * **Damned**: ''Boolean''
+ * **Weight**: ''Number''
+ * **WeightLimit**: ''Number''
+ * Above: ''Crossfire.Object''
+ * Below: ''Crossfire.Object''
+ * Inventory: ''Crossfire.Object''
+ * X: ''Number''
+ * Y: ''Number''
+ * **Direction**: ''Number''
+ * **Facing**: ''Number''
+ * **Unaggressive**: ''Boolean''
+ * **God**: ''String''
+ * **Pickable**: ''Boolean''
+ * **Quantity**: ''Number''
+ * **Invisible**: ''Boolean''
+ * **Speed**: ''Number''
+ * **LastSP**: ''Number''
+ * **LastGrace**: ''Number''
+ * Level: ''Number''
+ * **Face**: ''Number''
+ * **AttackType**: ''Number''
+ * BeenApplied: ''Boolean''
+ * Identified: ''Boolean''
+ * Alive: ''Boolean''
+ * DungeonMaster: ''Boolean''
+ * WasDungeonMaster: ''Boolean''
+ * Applied: ''Boolean''
+ * **Unpaid**: ''Boolean''
+ * **Flying**: **deprecated**
+ * Monster: ''Boolean''
+ * **Friendly**: ''Boolean''
+ * Generator: ''Boolean''
+ * Thrown: ''Boolean''
+ * **CanSeeInvisible**: ''Boolean''
+ * **Rollable**: ''Boolean''
+ * **Turnable**: ''Boolean''
+ * **UsedUp**: ''Boolean''
+ * Splitting: ''Boolean''
+ * **Blind**: ''Boolean''
+ * CanUseHorn: ''Boolean''
+ * CanUseRod: ''Boolean''
+ * CanUseSkill: ''Boolean''
+ * **KnownCursed**: ''Boolean''
+ * **Stealthy**: ''Boolean''
+ * **Confused**: ''Boolean''
+ * **Sleeping**: ''Boolean''
+ * **Lifesaver**: ''Boolean''
+ * Floor: ''Boolean''
+ * HasXRays: ''Boolean''
+ * CanUseRing: ''Boolean''
+ * CanUseBow: ''Boolean''
+ * CanUseWand: ''Boolean''
+ * **CanSeeInDark**: ''Boolean''
+ * **KnownMagical**: ''Boolean''
+ * CanUseWeapon: ''Boolean''
+ * CanUseArmour: ''Boolean''
+ * CanUseScroll: ''Boolean''
+ * CanCastSpell: ''Boolean''
+ * **ReflectSpells**: ''Boolean''
+ * **ReflectMissiles**: ''Boolean''
+ * **Unique**: ''Boolean''
+ * CanPickUp: ''Boolean''
+ * **CanPassThru**: ''Boolean''
+ * **RunAway**: ''Boolean''
+ * **Scared**: ''Boolean''
+ * **Undead**: ''Boolean''
+ * **BlocksView**: ''Boolean''
+ * **HitBack**: ''Boolean''
+ * **StandStill**: ''Boolean''
+ * **OnlyAttack**: ''Boolean''
+ * **MakeInvisible**: ''Boolean''
+ * Money: ''Number'', returns the total money (in silver) the object owns
+ * Type: ''Number''
+ * Subtype: ''Number''
+ * **Value**: ''Number'', value of the object
+ * ArchName: ''String'', name of this object's archetype
+ * Archetype: ''[[cfpython#Crossfire.Archetype methods and attributes|Crossfire.Archetype]]''
+ * **NoSave**: ''Boolean''
* Exists (special meaning, False if cf object has been freed from memory, True otherwise)
- * Env
+ * Env: ''[[cfpython#Crossfire.Object methods and attributes|Crossfire.Object]]''. Can be ''None''.
* MoveType
* MoveBlock
* MoveAllow
* MoveOn
IP-Address : 62.23.167.225
Old Revision: http://wiki.metalforge.net/doku.php/cfpython?rev=1167172254
New Revision: http://wiki.metalforge.net/doku.php/cfpython
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list