Skip to content

Commit 31f80e1

Browse files
committed
Fixing various lint issues
1 parent 8b8243e commit 31f80e1

File tree

11 files changed

+14
-24
lines changed

11 files changed

+14
-24
lines changed

src/engine/config/config-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
loadItemConfigurations,
88
translateItemConfig
99
} from '@engine/config/item-config';
10-
import { filestore} from '@server/game/game-server';
10+
import { filestore } from '@server/game/game-server';
1111
import {
1212
loadNpcConfigurations,
1313
NpcDetails,

src/engine/net/inbound-packets/item-on-object.packet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { logger } from '@runejs/core';
2-
import { filestore} from '@server/game/game-server';
2+
import { filestore } from '@server/game/game-server';
33
import { Position, world } from '@engine/world';
44
import { widgets } from '@engine/config';
55
import { getVarbitMorphIndex } from '@engine/util';

src/engine/net/inbound-packets/object-interaction.packet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { logger } from '@runejs/core';
22

3-
import { filestore} from '@server/game/game-server';
3+
import { filestore } from '@server/game/game-server';
44
import { PacketData } from '@engine/net';
55
import { getVarbitMorphIndex } from '@engine/util';
66
import { Position, world } from '@engine/world';

src/engine/world/actor/behaviors/auto-attack.behavior.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { Actor } from '../actor';
2-
import { regionChangeActionFactory } from '@engine/world/action/region-change.action';
3-
import { Subject } from 'rxjs';
4-
import { logger } from '@runejs/core';
52
import { Behavior, BehaviorType } from './behavior';
6-
import { Timestamp } from 'rxjs/dist/types/internal/types';
7-
import { timestamp } from 'rxjs/dist/types/operators';
83
import { Npc } from '../npc';
94
import { Player } from '../player/player';
105

src/engine/world/actor/behaviors/melee-combat.behavior.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import { Actor } from '../actor';
2-
import { regionChangeActionFactory } from '@engine/world/action/region-change.action';
3-
import { Subject } from 'rxjs';
4-
import { logger } from '@runejs/core';
52
import { Behavior, BehaviorType } from './behavior';
6-
import { Timestamp } from 'rxjs/dist/types/internal/types';
7-
import { timestamp } from 'rxjs/dist/types/operators';
83
import { Player } from '../player/player';
94
import { Npc } from '../npc';
105

src/engine/world/actor/npc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import uuidv4 from 'uuid/v4';
22
import EventEmitter from 'events';
33

4-
import { filestore} from '@server/game/game-server';
4+
import { filestore } from '@server/game/game-server';
55
import { Position, directionData, QuadtreeKey, WorldInstance, world } from '@engine/world';
66
import { findItem, findNpc, NpcCombatAnimations, NpcDetails, NpcSpawn } from '@engine/config';
77
import { soundIds, animationIds } from '@engine/world/config';

src/engine/world/map/collision-map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Chunk } from './chunk';
2-
import { filestore} from '@server/game/game-server';
2+
import { filestore } from '@server/game/game-server';
33
import { WorldInstance } from '@engine/world/instances';
44
import { LandscapeObject } from '@runejs/filestore';
55
import { world } from '@engine/world';

src/plugins/quests/goblin-diplomacy-tutorial/goblin-diplomacy-quest.plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defaultPlayerTabWidgets, Player } from '@engine/world/actor/player/player';
22
import { questDialogueActionFactory, QuestJournalHandler } from '@engine/config/quest-config';
3-
import { serverConfig} from '@server/game/game-server';
3+
import { serverConfig } from '@server/game/game-server';
44
import uuidv4 from 'uuid/v4';
55
import { logger } from '@runejs/core';
66
import { Position } from '@engine/world/position';

src/plugins/skills/crafting/spinning-wheel.plugin.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { buttonActionHandler, ButtonAction } from '@engine/world/action/button.a
33
import { soundIds } from '@engine/world/config/sound-ids';
44
import { itemIds } from '@engine/world/config/item-ids';
55
import { Skill } from '@engine/world/actor/skills';
6-
import { filestore} from '@server/game/game-server';
76
import { animationIds } from '@engine/world/config/animation-ids';
87
import { objectIds } from '@engine/world/config/object-ids';
98
import { findItem, widgets } from '@engine/config/config-handler';
@@ -26,10 +25,10 @@ const ballOfWool: Spinnable = { input: itemIds.wool, output: itemIds.ballOfWool,
2625
const bowString: Spinnable = { input: itemIds.flax, output: itemIds.bowstring, experience: 15, requiredLevel: 10 };
2726
const rootsCbowString: Spinnable = {
2827
input: [
29-
itemIds.oakRoots,
30-
itemIds.willowRoots,
31-
itemIds.mapleRoots,
32-
itemIds.yewRoots
28+
itemIds.roots.oak,
29+
itemIds.roots.willow,
30+
itemIds.roots.maple,
31+
itemIds.roots.yew
3332
],
3433
output: itemIds.crossbowString,
3534
experience: 15,
@@ -42,7 +41,7 @@ const sinewCbowString: Spinnable = {
4241
requiredLevel: 10
4342
};
4443
const magicAmuletString: Spinnable = {
45-
input: itemIds.magicRoots,
44+
input: itemIds.roots.magic,
4645
output: itemIds.magicString,
4746
experience: 30,
4847
requiredLevel: 19

src/plugins/skills/smithing/smelting.plugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { objectIds } from '@engine/world/config/object-ids';
44
import { objectInteractionActionHandler, ObjectInteractionAction } from '@engine/world/action/object-interaction.action';
55
import { buttonActionHandler, ButtonAction } from '@engine/world/action/button.action';
66
import { Skill } from '@engine/world/actor/skills';
7-
import { filestore} from '@server/game/game-server';
87
import { animationIds } from '@engine/world/config/animation-ids';
98
import { soundIds } from '@engine/world/config/sound-ids';
109
import { colors } from '@engine/util/colors';

0 commit comments

Comments
 (0)