Pets Design: Difference between revisions
Jump to navigation
Jump to search
Line 44: | Line 44: | ||
<uml> | <uml> | ||
class character{ | class character << (D,orchid) >> { | ||
+id | +id | ||
+animal_affinity | +animal_affinity | ||
} | } | ||
class familiar_types{ | class familiar_types << (D,orchid) >>{ | ||
+id | +id | ||
+name | +name | ||
Line 62: | Line 62: | ||
} | } | ||
class char_create_affinity{ | class char_create_affinity << (D,orchid) >>{ | ||
+attribute | +attribute | ||
+category | +category | ||
} | } | ||
class character_relationships{ | class character_relationships << (D,orchid) >>{ | ||
+character_id | +character_id | ||
+related_id | +related_id | ||
Line 84: | Line 84: | ||
character "2" -- "0..n" character_relationships : > | character "2" -- "0..n" character_relationships : > | ||
class pet << (D,green) >> { | |||
+id | |||
+character_id | |||
+elapsed_time | |||
+death_lockout | |||
+depleted_lockout | |||
} | |||
note right of pet | |||
New: Suggested new table to hold the pet timers between sessions. | |||
end note | |||
character "1" -- "0..n" pet | |||
</uml> | </uml> |
Revision as of 14:52, 21 April 2013
Functional Design
The Functional Design show the functionality of the Pet system.
States
This is the states that a pet can be in.

Physical Design
In the Physical Design the different parts of the functional design is allocated to different systems. Some are handled server side, other at the npcclient. Some in code and others in scripts.
Database

Classes

Activities
Create

Sequences
Create

Death
