From e7bb3e5a199c24c5a23788aa448f734b22d9b228 Mon Sep 17 00:00:00 2001 From: Dane Date: Mon, 7 Apr 2014 12:15:57 -0400 Subject: [PATCH] Add ::runes command. --- data/plugins/cmd-item/item.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/data/plugins/cmd-item/item.rb b/data/plugins/cmd-item/item.rb index 76dc8498..3c53cf19 100644 --- a/data/plugins/cmd-item/item.rb +++ b/data/plugins/cmd-item/item.rb @@ -41,4 +41,11 @@ end # Clears the player's own inventory. on :command, :empty, RIGHTS_MOD do |player, command| player.inventory.clear +end + +# Gives the player one thousand of each rune. +on :command, :runes, RIGHTS_ADMIN do |player, command| + (554..566).each do |i| + player.inventory.add(i, 1000) + end end \ No newline at end of file