diff --git a/src/App.vue b/src/App.vue
index 0491f56..60f2255 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -19,6 +19,7 @@ import { Place, Direction, World, Choice } from '@/game/world'
import { Encounter, Side } from './game/combat'
import { LogLine, nilLog } from './game/interface'
import { InstantKillEffect } from './game/combat/effects'
+import moment from 'moment'
@Component({
components: {
diff --git a/src/components/Combat.vue b/src/components/Combat.vue
index b068526..6b8d678 100644
--- a/src/components/Combat.vue
+++ b/src/components/Combat.vue
@@ -199,7 +199,6 @@ export default class Combat extends Vue {
const pos = (element.offsetLeft - element.parentElement.offsetLeft)
const width = element.getBoundingClientRect().width / 2
const offset = element.parentElement.getBoundingClientRect().width / 2
- console.log(pos, offset)
element.parentElement.scrollTo({ left: pos + width - offset, behavior: "smooth" })
}
diff --git a/src/components/Explore.vue b/src/components/Explore.vue
index fe65ad9..15a4d31 100644
--- a/src/components/Explore.vue
+++ b/src/components/Explore.vue
@@ -4,8 +4,8 @@
-
{{ world.time.format("MMMM Do yyy") }}
-
{{ world.time.format("h:mm A")}}
+
{{ world.time.format("MMMM Do Y") }}
+
{{ world.time.format("hh:mm:ss a") }}
@@ -13,8 +13,8 @@
{{ location.desc }}
@@ -147,6 +147,8 @@ export default class Explore extends Vue {
"Southwest South Southeast";
grid-template-rows: 1fr 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr;
+ width: 100%;
+ height: 100%;
}
.nav-filler {
diff --git a/src/components/Statblock.vue b/src/components/Statblock.vue
index 98727b8..c736858 100644
--- a/src/components/Statblock.vue
+++ b/src/components/Statblock.vue
@@ -128,7 +128,6 @@ export default class Statblock extends Vue {
icons.map(elem => {
const tooltip = elem.querySelector(".tooltip-template") as HTMLElement
- console.log(elem, tooltip)
return tippy(elem, {
content: tooltip
diff --git a/src/game/creatures/kenzie.ts b/src/game/creatures/kenzie.ts
index 1b26a61..813a2db 100644
--- a/src/game/creatures/kenzie.ts
+++ b/src/game/creatures/kenzie.ts
@@ -22,7 +22,6 @@ class StompAttack extends AttackAction {
const targetResult = target.takeDamage(damage)
const ownResult = this.successLine(user, target, { damage: damage })
const effResult = target.applyEffect(new StunEffect(3))
- console.log(target.effects)
return new LogLines(ownResult, targetResult, effResult)
} else {
return this.failLine(user, target)
diff --git a/src/game/world.ts b/src/game/world.ts
index bc708e6..0fa98d7 100644
--- a/src/game/world.ts
+++ b/src/game/world.ts
@@ -47,7 +47,7 @@ export class Connection {
}
- travel (traveler: Creature, world: World) {
+ travel (world: World, traveler: Creature) {
world.advance(moment.duration(5, "minutes"))
traveler.location = this.dst
}