diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..fe173c8 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,3 @@ +Add Discovery, Danger, Details, NPC, and Dungeons roll tables +Put the rollers in their own accordion slots +Make everything look nicer \ No newline at end of file diff --git a/public/debug.html b/public/debug.html new file mode 100644 index 0000000..33c7363 --- /dev/null +++ b/public/debug.html @@ -0,0 +1,22 @@ + + + + + + + + TPW Roller App + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/App.svelte b/src/App.svelte index 8594bae..a62b31f 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,4 +1,5 @@ + +
+

Random Creatures

+ + + {#each rollResults as result} +

{result.timestamp}: {result.value.description}

+ {/each} +
+ + diff --git a/src/rollers/DiscoveryRoller.svelte b/src/rollers/DiscoveryRoller.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/rollers/KingdomRoller.svelte b/src/rollers/KingdomRoller.svelte index 8579270..5abb5cb 100644 --- a/src/rollers/KingdomRoller.svelte +++ b/src/rollers/KingdomRoller.svelte @@ -3,7 +3,7 @@ import { format as formatDate } from "date-fns"; import { Button, Icon } from "sveltestrap"; - import { kingdoms } from "./data"; + import { kingdoms } from "./kingdoms"; let rollResults: { value: string; icon: string; timestamp: string }[] = []; let kingdom = "arpad"; diff --git a/src/rollers/PlaceRoller.svelte b/src/rollers/PlaceRoller.svelte index 82f2723..dcf5e6b 100644 --- a/src/rollers/PlaceRoller.svelte +++ b/src/rollers/PlaceRoller.svelte @@ -1,7 +1,7 @@