mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Allowing upload of paper doll images for items.
This commit is contained in:
parent
fc18ed0153
commit
53c6da5ef8
4 changed files with 15 additions and 0 deletions
|
@ -133,6 +133,15 @@ _.extend ThangTypeSchema.properties,
|
||||||
rasterIcon: { type: 'string', format: 'image-file', title: 'Raster Image Icon' }
|
rasterIcon: { type: 'string', format: 'image-file', title: 'Raster Image Icon' }
|
||||||
containerIcon: { type: 'string' }
|
containerIcon: { type: 'string' }
|
||||||
featureImage: { type: 'string', format: 'image-file', title: 'Feature Image' }
|
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
|
colorGroups: c.object
|
||||||
title: 'Color Groups'
|
title: 'Color Groups'
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
|
|
@ -39,3 +39,7 @@ module.exports = class HomeView extends RootView
|
||||||
|
|
||||||
afterInsert: ->
|
afterInsert: ->
|
||||||
super(arguments...)
|
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()
|
||||||
|
|
|
@ -54,6 +54,7 @@ module.exports = class InventoryModal extends ModalView
|
||||||
'components'
|
'components'
|
||||||
'original'
|
'original'
|
||||||
'rasterIcon'
|
'rasterIcon'
|
||||||
|
'dollImages'
|
||||||
'gems'
|
'gems'
|
||||||
'tier'
|
'tier'
|
||||||
'description'
|
'description'
|
||||||
|
|
|
@ -23,6 +23,7 @@ ThangTypeHandler = class ThangTypeHandler extends Handler
|
||||||
'raster'
|
'raster'
|
||||||
'rasterIcon'
|
'rasterIcon'
|
||||||
'featureImage'
|
'featureImage'
|
||||||
|
'dollImages'
|
||||||
'spriteType'
|
'spriteType'
|
||||||
'i18nCoverage'
|
'i18nCoverage'
|
||||||
'i18n'
|
'i18n'
|
||||||
|
|
Loading…
Reference in a new issue