Refactor ModVersion into Mod and ModVersion
* Remove V1 of the mod version parser and shift V2 up to be V1 * Add a parser for mod.cg files, and refactor the the mod-version.cg files to push the appropriate content up to the mod.cg * Remove the concept of "silent" from BaseModel along with logging each event as they are fired (which is what really prompted the need for it in the first place) * Move use of the Storage class to be completely the province of the controllers most closely related to models affected * Convert the ModVersionController to the ModController and have it take on responsibility for choosing the mod version * Update BaseModel to support simple accessors for the current state * Update CraftingPlan to be able to remove uncraftable items * Implement the Mod model
This commit is contained in:
+1
-1
@@ -31,10 +31,10 @@ mocha.setup 'bdd'
|
||||
require './crafting_plan.test'
|
||||
require './inventory.test'
|
||||
require './inventory_parser.test'
|
||||
require './mod.test'
|
||||
require './mod_pack.test'
|
||||
require './mod_version.test'
|
||||
require './parser_versions/mod_version_parser_v1.test'
|
||||
require './parser_versions/mod_version_parser_v2.test'
|
||||
require './string_builder.test'
|
||||
|
||||
mocha.checkLeaks()
|
||||
|
||||
Reference in New Issue
Block a user