Working... in progress

This commit is contained in:
Daniel Saewitz 2013-03-08 12:55:04 -05:00
parent 510bcda47c
commit f71e2fbade
4 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,6 @@ module.exports.app = (appExports, model) ->
user = model.at '_user'
user.on 'set', 'flags.dropsEnabled', (captures, args) ->
console.log 'hi!'
return unless captures == true
# do drops enabled stuff
$('#dropsEnabled-modal').show()

View file

@ -3,6 +3,7 @@
<app:avatar:modals />
<app:settings:modals />
<app:party:modals />
<app:pets:modals />
<!-- Game Over Modal -->
<div style="{#unless equal(_user.stats.lvl,0)}display:none;{/}">

View file

@ -1,4 +1,4 @@
<modal:>
<modals:>
<app:modals:modal modalId='dropsEnabled-modal' header="Drops Enabled!">
<app:userTokens/>
<p>Highly discouraged because red tasks provide good incentive to improve (<a target="_blank" href="https://github.com/lefnire/habitrpg#all-my-tasks-are-red-im-dying-too-fast">read more</a>). However, this becomes necessary after long bouts of bad habits.</p>