lp:~brightside/mimir/char-skills-certs
- Get this branch:
- bzr branch lp:~brightside/mimir/char-skills-certs
Branch merges
Related bugs
Related blueprints
Branch information
Recent revisions
- 28. By Espen Rønnevik
-
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
-
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
-
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
-
Enhancement: Improvements to Group and GroupCollection
class 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
-
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
-
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
-
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
-
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)