Rename Events to Messages.

This commit is contained in:
Major-
2014-08-08 13:50:56 +01:00
parent 1ecdedd2e8
commit 3931b9eb48
467 changed files with 5032 additions and 5057 deletions
+4 -4
View File
@@ -42,11 +42,11 @@ class BuryBoneAction < Action
end
# Intercepts the first item option event,
on :event, :first_item_option do |ctx, player, event|
bone = BONES[event.id]
# Intercepts the first item option message,
on :message, :first_item_option do |ctx, player, message|
bone = BONES[message.id]
unless bone == nil
player.start_action(BuryBoneAction.new(player, event.slot, bone))
player.start_action(BuryBoneAction.new(player, message.slot, bone))
ctx.break_handler_chain
end
end