StendhalRefactoring: Difference between revisions

From Arianne
Jump to navigation Jump to search
imported>MiguelAngelBlanchLardin
No edit summary
imported>MiguelAngelBlanchLardin
No edit summary
(No difference)

Revision as of 11:48, 24 October 2005

Items

We have the next items structure:

  • Shields
    • Wooden shield
    • Studded shield
    • Plate shield
    • Copper shield
  • Swords
    • knife
    • Sword
    • Long sword
    • Broadsword
  • Armors
    • Leather armor
    • Studded armor
    • Plater armor
    • Copper armor
  • Boots
    • Sandals
    • Leather
  • Helmet
    • Leather helmet
    • Studded helmet
    • Chain helmet
    • Viking helmet
  • Legs
    • Leather legs
    • Studded legs
    • Chain legs
  • Corpse
  • Money
  • Book
  • Food
    • Meat
    • Cheese
    • Bread

Creatures

Actions

  • Move
  • Stop
  • Chat
  • Tell
  • Outfit
  • Attack
  • Use
  • Equip
  • Drop
  • Own ( a sheep )

Events

Creatures can recieve the next list of events:

  • onAttack(target, weapon)
  • onAttacked(attacker, weapon)
  • onStopAttack(target)
  • onStopAttacked(target)
  • onDamage(type, amount)
  • onKilled(attacker, weapon)
  • onKill(target)
  • onMove(x,y)
  • onCollide(x,y)
  • onCollideWith(target)
  • onEquip(item, slot)
  • onEquipped(source, slot)
  • onDrop(item, slot)
  • onDropped(source, x, y)
  • onChat(source, text)
  • onUse(item)
  • onUsed(source)
  • onStop()