StendhalRefactoring: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
imported>AntumDeluge
Code: remove outdated/implemented
 
(591 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{Navigation for Stendhal Top|Contributing}}
=Items=
{{Navigation for Stendhal Contributors}}
We have the next items structure:

* Shields
This page proposes some possible, very long term, goals for Stendhal.<br>
** Wooden shield
Please see also [[StendhalOpenTasks]] for shorter term open tasks.
** Studded shield

** Plate shield
If you are interested in any of these goals, or have other ideas, please visit [[ChatWithOtherUsersDevs|IRC at irc.libera.chat #arianne]]
** Copper shield
=RP System=
* Swords
[[StendhalRPProposal| ''Working document'' for RP System proposal]]<br>
** knife
[[StendhalRefactoringRP| RP System proposal]]<br>
** Sword
[[StendhalRefactoringRP#Skill_system|Skill System]]<br>
** Long sword
[[StendhalRefactoringRP#Melee_Combat|Combat: Melee]]<br>
** Broadsword
[[StendhalRefactoringRP#Range_Combat|Combat: Range]]<br>
* Armors
[[StendhalRefactoringRP#Magic|Magic]]<br>
** Leather armor
[[StendhalRefactoringRP#Trading_system|Trading System]]<br>
** Studded armor
[[StendhalRefactoringRP#Shopping_system|Shopping System]]<br>
** Plater armor
[[StendhalRefactoringRP#Auctioning_system|Auctioning System]]<br>
** Copper armor
[[StendhalRefactoringRP#Party_system|Party System]]<br>
* Boots
[[StendhalJobs|Jobs System]]<br>
** Sandals

** Leather
=Economy=
* Helmet
[[StendhalEconomy|Balancing the economy]]
** Leather helmet

** Studded helmet
=Class System=
** Chain helmet
[[StendhalRefactoringClassBasics|Class Basics]]<br>
** Viking helmet
<br>
* Legs
About the different classes <br>
** Leather legs
[[StendhalRefactoringClassArcher|Class:Archer]]<br>
** Studded legs
[[StendhalRefactoringClassMage|Class:Mage]]<br>
** Chain legs
[[StendhalRefactoringClassPriest|Class:Priest]]<br>
* Corpse
[[StendhalRefactoringClassWarrior|Class:Warrior]]<br>
* Money
<br>
* Book
[[StendhalRefactoringClassGeneral|General Skills]]<br>
* Food

** Meat

** Cheese

** Bread
= Items =

* [[StendhalRefactoringEquipment| Weapons & Armor System]]
* [[StendhalRefactoringItemsBase| Base Implementation page]] ''outdated''
* [[StendhalRefactoringItems| Items available after refactoring, min level list]] ''outdated''


=Creatures=
=Creatures=
[[StendhalRefactoringCreatures| Creatures available after refactoring]]<br>
== Actions ==
[[StendhalRefactoringCreatures#Actions| Creatures' actions available after refactoring]]<br>
* Move
[[StendhalRefactoringCreatures#Events| Creatures' events system proposal]]<br>
* Stop
[[StendhalRefactoringCreatures#AI| Creatures' AI system proposal]]<br>
* Chat

* Tell

* Outfit
=Out of Game=
* Attack
* [[StendhalRefactoringUpdates]]
* Use

* Equip
= Code =
* Drop

* Own ( a sheep )
* Improve rendering engine by adding dirty rectangles.



[[Category:Development]]
== Events ==
Creatures can recieve the next list of events:
* boolean onAttack(target, weapon)<br>''called when attacking a target with the given weapon.''
* boolean onAttacked(attacker, weapon)<br>''called when attacked by someone with a given weapon.''
* void onStopAttack(target)<br>''called when we stop attacking target''
* void onStopAttacked(target)<br>''called when target stops attacking us''
* boolean onDamage(type, amount)<br>''called when entity is damaged with the damage type (physical, fire, poison, magical, ... ) and the amount of damage done.''
* boolean onKilled(attacker, weapon)<br>''called when attacked killed us with the given weapon''
* boolean onKill(target)<br>''called when entity kills target''
* boolean onMove(x,y)<br>''called when entity moves to x,y ( before moving in fact )''
* boolean onCollide(x,y)<br>''called when entity collide at position x,y''
* boolean onCollideWith(target)<br>''called when entity collide with another entity''
* boolean onEquip(item, slot)<br>''called when entity equips item on the given slot''
* boolean onEquipped(source, slot)<br>''called when entity is equipped on the source entity and in the given slot''
* boolean onDrop(item, slot)<br>''called when entity drops item from the given slot to floor''
* boolean onDropped(source, x, y)<br>''called when entity is dropped by source to floor at position x,y''
* void onChat(source, text)<br>''called when someone speaks near entity or write to entity''
* boolean onUse(item)<br>''called when entity use item''
* boolean onUseWith(base, item)<br>''called when entity use item on base item''
* boolean onUsed(source)<br>''called when entity is used by source''
* boolean onUsedWith(source, base)<br>''called when entity is used by source on base item''
* boolean onStop()<br>''called when entity stops moving, attacking, etc...''