lp:~brightside/mimir/char-skills-certs

Created by Espen Rønnevik on 2009-05-10 and last modified on 2009-05-20
Get this branch:
bzr branch lp:~brightside/mimir/char-skills-certs
Only Espen Rønnevik can upload to this branch. If you are Espen Rønnevik please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Espen Rønnevik
Project:
Mimir
Status:
Development

Recent revisions

30. By Espen Rønnevik on 2009-05-20

Enhancement: Changed Group method 'getSids' into 'sids' property

29. By Espen Rønnevik on 2009-05-20

Oops: Fix case typos in Skill Bonus and Required Items iterator.

28. By Espen Rønnevik on 2009-05-20

Enhancement: Added SkillTree.treedump() to skillsystem

treedump() can be used to dump all the data in the tree to the console or
a file. To make the dump function correctly, attributes code were
commented out and attributes are just added to skills as text.

27. By Espen Rønnevik on 2009-05-20

Enhancement: Split the XML Parsing code from SkillTree into a separate object

SkillTree will instantiate the ParseXML class during intiation to parse
the skilltree xml data. The containers for groups and skills created
during parsing is copied over to SkillTree and the parser is discarded.
This separation makes cleaner code.

26. By Espen Rønnevik on 2009-05-20

Enhancement: Improvements to Skill and SkillCollection

Improved code readability. SkillID and GroupID are now named sid and gid
respectabely. Added sid as property to the skill class.

Skill will return a iteritems iterator for skillBonus and requiredSkill

Removed "*args, **kwargs" from Skill, it has no function as
SkillCollection never passed it.

Removed _set and _clear methods that will
not be needed during xml parsing, the skilltree with skills and groups
should be considered read-only after creation. If there is a new version
of the xml datafile, the whole tree should be recreated.

SkillCollection is now iterable and will return all skill objects.

25. By Espen Rønnevik on 2009-05-20

Enhancement: Improvements to Group and GroupCollectionclass

Improved code readability. SkillID and GroupID are now named sid and gid
respectabely.

Removed "*args, **kwargs" from Group, it has no function as
GroupCollection never passed it.

GroupCollection is now iterable and will return all group objects.
Implemented a method to add a sid to a group using gid.

24. By Espen Rønnevik on 2009-05-18

Enhancement: Moved skillsystem the character subpackage. Removed misc subpackage.

The SkillTree and different classes belonging to the skillsystem is better
grouped together with other modules in the character subpackage.
Other modules intended for the misc subpackage will make more sense if
they are in the package where they would be used, so the misc subpackage
becomes unneccesary and was removed.

23. By Espen Rønnevik on 2009-05-18

New: Replaced skilltree module with the skillsystem module.

The skilltree module has been completely rewritten into the skillsystem module. SkillTree
is the main object and should provide methods and properties to interact with the whole
tree, but much is still not implemented yet.

22. By Espen Rønnevik on 2009-05-18

Enhancement: Split out attributes from charactersheet to separate module.

iAttribute is made a seperate module to clarify the code a bit, it will
be fleshed out with properties and methods later. It is also renamed
to Attribute as it is not a part of the API interface. Eventually
all the attributes will be gathered in a collection.

21. By Espen Rønnevik on 2009-05-14

Enhancement: Much improved XML character handling in charactersheet interface

Character Datahandler is split up and only calls the real handler if there is any characters
to handle, leading and trailing whitespace is ignored.

Attribute handling is simplified, using string slices instead of a series of ifelse constructs.

Expired value is now a combined result of local time values and a timedelta.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers