Commit Graph
24 Commits
Author SHA1 Message Date
Andrew Miner 164c0d4892 Add nascent version of the mod detail page
* Create a nascent version of the mod detail page
* Make the slug mandatory for Mod instead of name, and load the name
  from the data file
* Make the Feedback view universal on all pages
* Refactor the use of mod pack to have a single global object at the
  router level which is shared between pages. Further, make this one
  object load itself immediately and have it automatically load any
  activated mod version
* Refactor the use of Storage related to mod pack versions into the
  router as well.
* Add trace logging back in for events, but allow individual classes
  to suppress it (as opposed to actually supressing the events)
* Fix a bug in ModVersion.eachItem where it would suggest so-called
  items which are merely registered slugs without associated items
2015-01-20 10:55:38 -08:00
Andrew Miner d1621bb9f6 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
2015-01-18 10:48:12 -08:00
Andrew Miner 5f57622cf3 Several large refactorings
* Refactor location of all data files to include a subdirectory
  for the mod version
* Update the BaseModel class to allow models to load themselves from
  any text file (whether JSON or CG)
* Refactor ModPack & ModVersion to move the laoding functionality in
  one into the other (and use the new stuff in BaseModel)
* Move the parser versions into a new subdirectory which allows for
  future additional parsers
2015-01-16 20:26:54 -08:00
Andrew Miner aa3406aa54 Convert the MC 1.7.10 recipes into V2 format 2015-01-14 15:58:20 -08:00
Andrew Miner c417a24653 Fix recipes in MC and IC2 2015-01-14 09:30:20 -08:00
Andrew Miner a78ff47c92 Fix carpet recipes in MC 1.7.10 2015-01-14 08:47:39 -08:00
Andrew Miner 2f7ae584a0 Add IC2 recipe patterns 2015-01-10 02:15:07 -08:00
Andrew Miner b8d60ac245 Add shaped crafing and recipes for MC 1.7.10 2015-01-08 22:01:02 -08:00
Andrew Miner bba161445d Change "{furnace fuel}" to just "furnace fuel" 2015-01-04 21:26:25 -08:00
Andrew Miner a5a2ee0534 Fix missing MC 1.7.10 images 2015-01-04 21:25:14 -08:00
Andrew Miner 761a244a83 Fix output of unparsing V1 of the data format 2015-01-04 13:14:02 -08:00
Andrew Miner 549abc1224 Improve layout of stacks in crafting table 2015-01-04 11:35:43 -08:00
Andrew Miner e99a688b7e Add remaining MC 1.7.10 images 2015-01-04 11:33:48 -08:00
Andrew Miner 150e85bb49 Display images for each item referenced 2015-01-04 01:01:00 -08:00
Andrew Miner fc97854718 Add more MC 1.7.10 images 2015-01-04 00:58:06 -08:00
Andrew Miner 0d25ac723d Complete refactoring to move Recipes into Items
* Changed "version" to "dataVersion" in data format
* Changed the "modName" and "modVersion" fields on the ModVersion
  class to remove the "mod" prefix and changed the data format to
  match
* Change the Stack class to use the itemSlug instead of the item
  itself
* Update the ModVersion and ModPack classes to include methods for
  recording a correspondence between slugs and names. Update code
  which displays items from stacks to use these methods to determine
  display names.
* Add a reference from Recipe back to the item it creates
2015-01-03 20:08:11 -08:00
Andrew Miner 392c410df8 Add some missing recipes 2015-01-03 19:36:19 -08:00
Andrew Miner 343c27e68d Add more MC 1.7.10 images 2015-01-03 19:29:08 -08:00
Andrew Miner b642c51486 wip 2015-01-02 23:03:06 -08:00
Andrew Miner e389c01468 Add images for Minecraft items 2015-01-02 22:12:48 -08:00
Andrew Miner 1434533e92 Add Coal as a raw material 2015-01-01 20:39:55 -08:00
Andrew Miner f28a763b13 Rename RecipeBook to ModVersion 2015-01-01 20:12:27 -08:00
Andrew Miner 1a9ae1791e Require input as part of all recipes 2015-01-01 19:06:04 -08:00
Andrew Miner 0c781793c6 Move recipebooks to subdirs for each mod 2015-01-01 19:00:37 -08:00