From ad43a1d3313bcb07e8a005a1dbab7deb82381165 Mon Sep 17 00:00:00 2001 From: Thaum Date: Wed, 15 Apr 2015 06:53:39 +0000 Subject: [PATCH] Loading screen now has hints --- rpg-docs/client/views/loading/loading.html | 1 + rpg-docs/client/views/loading/loading.js | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 rpg-docs/client/views/loading/loading.js diff --git a/rpg-docs/client/views/loading/loading.html b/rpg-docs/client/views/loading/loading.html index 02b2bd56..c767b37f 100644 --- a/rpg-docs/client/views/loading/loading.html +++ b/rpg-docs/client/views/loading/loading.html @@ -4,5 +4,6 @@
+
{{randomHint}}
diff --git a/rpg-docs/client/views/loading/loading.js b/rpg-docs/client/views/loading/loading.js new file mode 100644 index 00000000..808a6ead --- /dev/null +++ b/rpg-docs/client/views/loading/loading.js @@ -0,0 +1,11 @@ +var hints = [ + "Drag and drop items to move them between containers", + "Hold Ctrl while dragging items around to only move some of them", + "Magic items are considered priceless, don't give them a gold value", +]; + +Template.loading.helpers({ + randomHint: function(){ + return Random.choice(hints); + } +}); \ No newline at end of file