diff --git a/script/events/global.js b/script/events/global.js index 04037d1..8178b9e 100644 --- a/script/events/global.js +++ b/script/events/global.js @@ -28,15 +28,15 @@ Events.Global = [ }, 'hang': { text: [ - _('the villagers hang the thief high in front of the store room.'), - _('the point is made. in the next few days, the missing supplies are returned.') - ], - onLoad: function() { - $SM.set('game.thieves', 2); - $SM.remove('income.thieves'); - $SM.addM('stores', $SM.get('game.stolen')); - }, - buttons: { + _('the villagers hang the thief high in front of the store room.'), + _('the point is made. in the next few days, the missing supplies are returned.') + ], + onLoad: function() { + $SM.set('game.thieves', 2); + $SM.remove('income.thieves'); + $SM.addM('stores', $SM.get('game.stolen')); + }, + buttons: { 'leave': { text: _('leave'), nextScene: 'end' @@ -45,21 +45,21 @@ Events.Global = [ }, 'spare': { text: [ - _("the man says he's grateful. says he won't come around any more."), - _("shares what he knows about sneaking before he goes.") - ], - onLoad: function() { - $SM.set('game.thieves', 2); - $SM.remove('income.thieves'); - $SM.addPerk('stealthy'); - }, - buttons: { - 'leave': { - text: _('leave'), - nextScene: 'end' - } - } + _("the man says he's grateful. says he won't come around any more."), + _("shares what he knows about sneaking before he goes.") + ], + onLoad: function() { + $SM.set('game.thieves', 2); + $SM.remove('income.thieves'); + $SM.addPerk('stealthy'); + }, + buttons: { + 'leave': { + text: _('leave'), + nextScene: 'end' + } + } } } } -]; \ No newline at end of file +];