Customizations for Endemol Shine's show

This commit is contained in:
Nick Winter 2016-07-22 18:16:27 -07:00
parent ea61499a10
commit 100bdf6bad
3 changed files with 6 additions and 2 deletions
app
lib
styles/play/level/tome
views/play/level

View file

@ -77,6 +77,8 @@ module.exports = class LevelSetupManager extends CocoClass
if @level.isType('course', 'course-ladder', 'game-dev', 'web-dev') or window.serverConfig.picoCTF
@onInventoryModalPlayClicked()
return
# Hero is fixed as DanTDM
return
@heroesModal = new PlayHeroesModal({supermodel: @supermodel, session: @session, confirmButtonI18N: 'play.next', level: @level, hadEverChosenHero: @options.hadEverChosenHero})
@inventoryModal = new InventoryModal({supermodel: @supermodel, session: @session, level: @level})
@heroesModalDestroy = @heroesModal.destroy

View file

@ -59,7 +59,8 @@
width: 94%
position: relative
background-color: transparent
line-height: 20px
font-size: 32px
line-height: 36px
overflow: visible
// https://github.com/codecombat/codecombat/issues/1411#issuecomment-60492750 -- trying to make sure system defaults don't mess up our monospace font.
font-family: Monaco, Menlo, Ubuntu Mono, Consolas, "source-code-pro", monospace !important
@ -74,7 +75,7 @@
background-color: transparent
border-right: 1px solid rgb(195, 178, 156)
//background-color: rgba(255, 255, 255, 0.25)
width: 47px
width: 72px
margin-left: 4px
// override ace visible to get the experimental large current line executing arrow visible

View file

@ -300,6 +300,7 @@ module.exports = class PlayLevelView extends RootView
return if @session
Backbone.Mediator.publish "ipad:language-chosen", language: e.session.get('codeLanguage') ? "python"
# Just the level and session have been loaded by the level loader
return e.session.set 'heroConfig', {thangType: '578674c3a6c641350091b645', inventory: {feet: "53e237bf53457600003e3f05", 'right-hand': "54eaa9622b7506e891ca71b1"}} # Fix hero as DanTDM
if e.level.get('slug') is 'zero-sum'
sorcerer = '52fd1524c7e6cf99160e7bc9'
if e.session.get('creator') is '532dbc73a622924444b68ed9' # Wizard Dude gets his own avatar