mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 17:45:40 -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' }
|
||||
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:
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -54,6 +54,7 @@ module.exports = class InventoryModal extends ModalView
|
|||
'components'
|
||||
'original'
|
||||
'rasterIcon'
|
||||
'dollImages'
|
||||
'gems'
|
||||
'tier'
|
||||
'description'
|
||||
|
|
|
@ -23,6 +23,7 @@ ThangTypeHandler = class ThangTypeHandler extends Handler
|
|||
'raster'
|
||||
'rasterIcon'
|
||||
'featureImage'
|
||||
'dollImages'
|
||||
'spriteType'
|
||||
'i18nCoverage'
|
||||
'i18n'
|
||||
|
|
Loading…
Reference in a new issue