habitica-self-host/common
Phillip Thelen 24d25026cf Add API calls for shop inventories (#7810)
* Add API call for market inventory

* changes to shop api calls

* optimize shop categories

* add API call for quests

* add api call for time travelers shop

* fic buying items in shops

* fix linting errors

* shop adjustments for iOS app

* add tests to shops

* fix syntax issues

* Code formatting

* correct indentation

* add tests for api routes

* fix time travelers and seasonal

* Increase test coverage for shop routes

* refactor: Pull out trinket count in time traveler route

* refactor: Clarify instructions for seasonal shop script

* lint: Remove extra new line

* Adjust shops common test
2016-07-26 14:36:55 -05:00
..
audio Adding new basic audio theme rosstavoTheme (#7766) 2016-07-12 12:30:44 +10:00
css feat(event): Summer Splash 2016 (#7705) 2016-06-21 19:22:50 -05:00
dist/sprites chore(news): Comic-Con announcements 2016-07-19 19:04:28 +00:00
img feat(content): July 2016 Subscriber (#7833) 2016-07-26 14:20:50 -05:00
locales Add API calls for shop inventories (#7810) 2016-07-26 14:36:55 -05:00
script Add API calls for shop inventories (#7810) 2016-07-26 14:36:55 -05:00
.eslintrc chore: merge in develop 2016-04-15 10:11:54 -05:00
browserify.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
index.js API v3 [WIP] (#6144) 2016-05-23 13:58:31 +02:00
README.md chore(sprites): Update readme 2015-12-12 17:17:04 -06:00

Common

Shared resources useful for the multiple Habitica repositories, that way all the repositories remain in-sync with common characteristics. Includes things like:

  • Assets - sprites, images, etc
  • CSS - especially, esp. sprite-sheet mapping
  • Algorithms - level up algorithm, scoring functions, etc
  • View helper functions that may come in handy for multiple client MVCs
  • Item definitions - weapons, armor, pets

Compiling spritesheets

Because of some wonkiness with Heroku, the spritesheet compilation is not part of the production build process and must be done manually when new images are added by running:

npm run sprites