diff --git a/app/schemas/models/thang_type.coffee b/app/schemas/models/thang_type.coffee index 75a8a6d6b..8375ef5e5 100644 --- a/app/schemas/models/thang_type.coffee +++ b/app/schemas/models/thang_type.coffee @@ -133,6 +133,15 @@ _.extend ThangTypeSchema.properties, rasterIcon: { type: 'string', format: 'image-file', title: 'Raster Image Icon' } containerIcon: { type: 'string' } featureImage: { type: 'string', format: 'image-file', title: 'Feature Image' } + dollImages: c.object { title: 'Paper Doll Images' }, + male: { type: 'string', format: 'image-file', title: ' Male' } + female: { type: 'string', format: 'image-file', title: ' Female' } + maleThumb: { type: 'string', format: 'image-file', title: 'Thumb (Male)' } + femaleThumb: { type: 'string', format: 'image-file', title: 'Thumb (Female)' } + maleRanger: { type: 'string', format: 'image-file', title: 'Glove (Male Ranger)' } + maleRangerThumb: { type: 'string', format: 'image-file', title: 'Thumb (Male Ranger)' } + femaleRanger: { type: 'string', format: 'image-file', title: 'Glove (Female Ranger)' } + femaleRangeThumbr: { type: 'string', format: 'image-file', title: 'Thumb (Female Ranger)' } colorGroups: c.object title: 'Color Groups' additionalProperties: diff --git a/app/views/HomeView.coffee b/app/views/HomeView.coffee index fd6abd2df..e8773a24e 100644 --- a/app/views/HomeView.coffee +++ b/app/views/HomeView.coffee @@ -39,3 +39,7 @@ module.exports = class HomeView extends RootView afterInsert: -> super(arguments...) + if me.isAdmin() and me.get('slug') is 'nick' + LevelSetupManager = require 'lib/LevelSetupManager' + setupManager = new LevelSetupManager levelID: 'dungeons-of-kithgard', hadEverChosenHero: true, parent: @ + setupManager.open() diff --git a/app/views/game-menu/InventoryModal.coffee b/app/views/game-menu/InventoryModal.coffee index b47f93f9a..0b2fafcb4 100644 --- a/app/views/game-menu/InventoryModal.coffee +++ b/app/views/game-menu/InventoryModal.coffee @@ -54,6 +54,7 @@ module.exports = class InventoryModal extends ModalView 'components' 'original' 'rasterIcon' + 'dollImages' 'gems' 'tier' 'description' diff --git a/server/levels/thangs/thang_type_handler.coffee b/server/levels/thangs/thang_type_handler.coffee index 088d6a454..1386fb08e 100644 --- a/server/levels/thangs/thang_type_handler.coffee +++ b/server/levels/thangs/thang_type_handler.coffee @@ -23,6 +23,7 @@ ThangTypeHandler = class ThangTypeHandler extends Handler 'raster' 'rasterIcon' 'featureImage' + 'dollImages' 'spriteType' 'i18nCoverage' 'i18n'