Skip to content

Commit 5fef25b

Browse files
author
Spencer Carlson
committed
Remove:
Unnecessary debug messages.
1 parent 1f0b8ed commit 5fef25b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/plugins/dungeons/stronghold-of-security/stronghold-of-security-objects.plugin.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ObjectInteractionAction, ObjectInteractionActionHook } from '@engine/world/action/object-interaction.action';
22
import { TaskExecutor } from '@engine/world/action';
33
import { schedule } from '@engine/world/task';
4-
import { dialogue, execute } from '@engine/world/actor/dialogue';
4+
import { dialogue, Emote, execute } from '@engine/world/actor/dialogue';
55
import { Position } from '@engine/world/position';
66
import { objectIds } from '@engine/world/config/object-ids';
77
import { animationIds } from '@engine/world/config/animation-ids';
@@ -26,9 +26,7 @@ const activateDescendingLadders = async (task: TaskExecutor<ObjectInteractionAct
2626
})
2727
],
2828
`No thanks, I don't want to die!`, [
29-
execute(() => {
30-
player.sendMessage(`Hey2!`)
31-
})
29+
player => [Emote.SHOCKED, `No thanks, I don't want to die!`]
3230
]
3331
],
3432
],

src/plugins/dungeons/stronghold-of-security/stronghold-of-security-quiz.plugin.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { JSON_SCHEMA, safeLoad } from 'js-yaml';
22
import { readFileSync } from 'fs';
3-
import { LandscapeObject } from '@runejs/filestore';
43
import { logger } from '@runejs/core';
54

65
export interface StrongholdOfSecurityQuiz {
@@ -27,8 +26,6 @@ export function loadStrongholdOfSecurityQuizData(path: string): StrongholdOfSecu
2726
if(!quiz) {
2827
throw new Error('Unable to read stronghold of security quiz data.');
2928
}
30-
31-
logger.info(`Loaded stronghold of security quiz data! Total questions: ` + quiz.questions.length)
3229
return quiz;
3330
} catch(error) {
3431
logger.error('Error parsing stronghold of security quiz data: ' + error);

0 commit comments

Comments
 (0)