Preparing new campaign levels for migration to new campaign editor.

This commit is contained in:
Nick Winter 2014-12-23 17:14:09 -08:00
parent 759e193f29
commit f0826c865e
3 changed files with 10 additions and 10 deletions

View file

@ -151,7 +151,7 @@
background-position: (-6 * $iconSize) 0px
&.prop-label-icon-maxSpeed
background-position: (-7 * $iconSize) 0px
&.prop-label-icon-gold, &.prop-label-icon-bountyGold
&.prop-label-icon-gold, &.prop-label-icon-bountyGold, &.prop-label-icon-value
background-position: (-8 * $iconSize) 0px
.prop[name="health"]

View file

@ -1058,7 +1058,7 @@ desert = [
type: 'hero'
id: 'sarven-sentry'
original: '548cef7f0ffdc235e80ef0cc'
description: 'Coming Soon'
description: 'Work with your scouts to corral yaks and trap ogres.'
nextLevels:
continue: 'keeping-time'
x: 51.48
@ -1072,7 +1072,7 @@ desert = [
type: 'hero'
id: 'keeping-time'
original: '548cf1a90ffdc235e80ef0d1'
description: 'Coming Soon'
description: 'Raise funds to support your allies in time to fight off the ogre horde!'
nextLevels:
continue: 'hoarding-gold'
x: 58.42
@ -1085,8 +1085,8 @@ desert = [
name: 'Hoarding Gold'
type: 'hero'
id: 'hoarding-gold'
original: ''
description: 'Coming Soon'
original: '549875268e52573b10d3bcd7'
description: 'You can get lost forever in the desert if you let the mirage of greed lead you.'
nextLevels:
continue: 'decoy-drill'
x: 61.73
@ -1099,8 +1099,8 @@ desert = [
name: 'Decoy Drill'
type: 'hero'
id: 'decoy-drill'
original: ''
description: 'Coming Soon'
original: '549875428e52573b10d3bcd9'
description: 'Gather gold to field test a new buildable unit: the decoy.'
nextLevels:
continue: 'yakstraction'
x: 62.05
@ -1113,8 +1113,8 @@ desert = [
name: 'Yakstraction'
type: 'hero'
id: 'yakstraction'
original: ''
description: 'Coming Soon'
original: '5498cf468e52573b10d3bd15'
description: 'Thirsty yaks are stampeding towards a vulnerable peasant sunning herself at an oasis, but you\'ve got decoys to distract the yaks out of the way.'
nextLevels:
continue: 'sarven-brawl'
x: 66.46

View file

@ -130,7 +130,7 @@ module.exports = class LevelHUDView extends CocoView
return null # included in the bar
context =
prop: prop
hasIcon: prop in ['health', 'pos', 'target', 'collectedThangIDs', 'gold', 'bountyGold', 'visualRange', 'attackDamage', 'attackRange', 'maxSpeed', 'attackNearbyEnemyRange']
hasIcon: prop in ['health', 'pos', 'target', 'collectedThangIDs', 'gold', 'bountyGold', 'value', 'visualRange', 'attackDamage', 'attackRange', 'maxSpeed', 'attackNearbyEnemyRange']
hasBar: prop in ['health']
$(prop_template(context))