mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 00:01:54 +08:00
Made events/room.js and state_manager.js jshinthint compliant
This commit is contained in:
@@ -292,8 +292,8 @@ Events.Room = [
|
||||
text: [
|
||||
_('the wanderer leaves, cart loaded with wood')
|
||||
],
|
||||
action: function(delay) {
|
||||
var delay = delay || false;
|
||||
action: function(inputDelay) {
|
||||
var delay = inputDelay || false;
|
||||
Events.saveDelay(function() {
|
||||
$SM.add('stores.wood', 300);
|
||||
Notifications.notify(Room, _('the mysterious wanderer returns, cart piled high with wood.'));
|
||||
@@ -315,8 +315,8 @@ Events.Room = [
|
||||
text: [
|
||||
_('the wanderer leaves, cart loaded with wood')
|
||||
],
|
||||
action: function(delay) {
|
||||
var delay = delay || false;
|
||||
action: function(inputDelay) {
|
||||
var delay = inputDelay || false;
|
||||
Events.saveDelay(function() {
|
||||
$SM.add('stores.wood', 1500);
|
||||
Notifications.notify(Room, _('the mysterious wanderer returns, cart piled high with wood.'));
|
||||
@@ -371,8 +371,8 @@ Events.Room = [
|
||||
text: [
|
||||
_('the wanderer leaves, cart loaded with furs')
|
||||
],
|
||||
action: function(delay) {
|
||||
var delay = delay || false;
|
||||
action: function(inputDelay) {
|
||||
var delay = inputDelay || false;
|
||||
Events.saveDelay(function() {
|
||||
$SM.add('stores.fur', 300);
|
||||
Notifications.notify(Room, _('the mysterious wanderer returns, cart piled high with furs.'));
|
||||
@@ -394,8 +394,8 @@ Events.Room = [
|
||||
text: [
|
||||
_('the wanderer leaves, cart loaded with furs')
|
||||
],
|
||||
action: function(delay) {
|
||||
var delay = delay || false;
|
||||
action: function(inputDelay) {
|
||||
var delay = inputDelay || false;
|
||||
Events.saveDelay(function() {
|
||||
$SM.add('stores.fur', 1500);
|
||||
Notifications.notify(Room, _('the mysterious wanderer returns, cart piled high with furs.'));
|
||||
|
||||
Reference in New Issue
Block a user