mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +00:00
Add ::runes command.
This commit is contained in:
@@ -41,4 +41,11 @@ end
|
|||||||
# Clears the player's own inventory.
|
# Clears the player's own inventory.
|
||||||
on :command, :empty, RIGHTS_MOD do |player, command|
|
on :command, :empty, RIGHTS_MOD do |player, command|
|
||||||
player.inventory.clear
|
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
|
end
|
||||||
Reference in New Issue
Block a user