Skip to content

Commit

Permalink
feat(script): add room id to look output
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 16, 2021
1 parent 7a1c5de commit 201e28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/script/common/ActorStep.ts
Expand Up @@ -113,7 +113,7 @@ export async function ActorStepHit(this: Actor, scope: ScriptScope): Promise<voi

export async function ActorStepLook(this: Actor, scope: ScriptScope): Promise<void> {
if (doesExist(scope.room)) {
await scope.render.show(`${this.meta.name} is in ${scope.room.meta.name}: ${scope.room.meta.desc}`);
await scope.render.show(`${this.meta.name} is in ${scope.room.meta.name} (${scope.room.meta.id}): ${scope.room.meta.desc}`);

for (const item of this.items) {
await scope.render.show(`You are holding a ${item.meta.name} (${item.meta.id})`);
Expand Down

0 comments on commit 201e28e

Please sign in to comment.