Changes between Version 21 and Version 22 of code/doc/Questsystem
- Timestamp:
- Sep 4, 2009, 5:53:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
code/doc/Questsystem
v21 v22 119 119 120 120 ==== QuestEffect ==== 121 A QuestEffect is the first (and probably most important) d ivice for Quests to have sideeffects. There are two entities that can have QuestEffects: Quests and QuestEffectBeacons (which will be explained later on).122 QuestEffects and for examplestart a Quest for a player, complete/fail Quests for a player, add a QuestHint or a Reward to a player.121 A QuestEffect is the first (and probably most important) device for Quests to have sideeffects. There are two entities that can have QuestEffects: Quests and QuestEffectBeacons (which will be explained later on). 122 QuestEffects, for example, start a Quest for a player, complete/fail Quests for a player, add a QuestHint or a Reward to a player. 123 123 124 124 These QuestEffects are implemented so far, but feel free to [wiki:DamianFrick contact me] if you have suggestions for new QuestEffects or if you need help implementing a new one yourself. … … 153 153 154 154 ===== AddReward ===== 155 This QuestEffect adds a Rewardable (Rewardable is an Interface which can be implemented by an d object that its creator thinks schould be able to be rewarded a player for completing (or failing for that matter) a Quest) to the player. Pickups for example wold be good Rewardables (this is not implementedthough).155 This QuestEffect adds a Rewardable (Rewardable is an Interface which can be implemented by an object that its creator thinks should be able to be rewarded a player for completing (or failing for that matter) a Quest) to the player. Pickups for example wold be good Rewardables (this is not yet implemented, though). 156 156 157 157 {{{