Stendhal Achievement Development: Difference between revisions

Content deleted Content added
imported>Madmetzger
No edit summary
imported>Madmetzger
No edit summary
Line 1:
{{Navigation for Stendhal Top|Contributing}}
{{Navigation for Stendhal Contributors}}
== Collecting Ideas ==
* collect more achievement ideas and nice titles at [[Stendhal Achievement Ideas]]
** gives hints for further design decisions
** can help structuring achievements into categories
== Client and Website ==
* Should achievements be visible within the game? (low prio)
** look action on player could be extended by a title based on the amount of fullfilled achievements
* technicalWebsite implementationshould be extended with a hall of fame section on achievements
** databaseHave table(s)a tolog displayabout recently reached achievements on the website? (i.e. player has reached ''Junior Explorer'' achievement)
== Design ==
*** table for achievment types?
* database table(s) to display achievements on website
*** table for player has reached achievement
*** table for achievment types?
** check if player has fulfilled an achievement
*** table for player has reached achievement
*** "polling" every x turns via TurnListener, but could be a bad idea as checking might be expensive
** check if player has fulfilled an achievement
*** "telling" when to check, similar to tutorial events or when raising game events (we have possibly the type here)?
*** "polling" every x turns via TurnListener, but could be a bad idea as checking might be expensive
*** store reached achievements as string set in player object
*** "telling" when to check, similar to tutorial events or when raising game events (we have possibly the type here)?
*** how to store progress for a certain achievement?
*** store reached achievements as string set in player object
**** using a map?
*** how to store progress for a certain achievement?
**** key = achievement name, value progress value?
**** using a map?
** find a way to conveniently add new achievements
**** key = achievement name, value progress value?
*** building block system similar to ChatConditions?
** find a way to conveniently add new achievements
**** killed x creatures
*** building block system similar to ChatConditions?
**** collected x items
**** finishedkilled x questscreatures
**** collected x items
**** killed creature without a weapon
*** finished x quests
**** killed creature without a weapon
**** looted certain collection of items
*** categorized by type of event to determine what to check, i.e. killed x creatures of type y condition should only be checked when having killed a creature but not on looting an item