mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 16:49:11 +00:00
Remove message filtering
This commit is contained in:
@@ -56,10 +56,10 @@ class HerbIdentificationAction < Action
|
||||
identified = @herb.item
|
||||
|
||||
inventory.add(identified)
|
||||
|
||||
|
||||
article = LanguageUtil.getIndefiniteArticle(identified.definition.name)
|
||||
player.skill_set.add_experience(Skill::HERBLORE, @herb.experience)
|
||||
player.send_message("This herb is #{article} #{identified.definition.name}.", true)
|
||||
player.send_message("This herb is #{article} #{identified.definition.name}.")
|
||||
end
|
||||
|
||||
stop
|
||||
|
||||
@@ -153,7 +153,7 @@ class GrindingAction < Action
|
||||
item = inventory.get(@slot)
|
||||
|
||||
name = item.definition.name.downcase
|
||||
player.send_message("You grind the #{name} to dust.", true)
|
||||
player.send_message("You grind the #{name} to dust.")
|
||||
|
||||
inventory.reset(@slot)
|
||||
inventory.add(@ingredient.item)
|
||||
|
||||
@@ -227,7 +227,7 @@ class UnfinishedMixingAction < MixingAction
|
||||
|
||||
created = name.sub(/ leaf$/, '')
|
||||
message = "You put the #{name} in the water to make an unfinished #{created} potion."
|
||||
player.send_message(message, true)
|
||||
player.send_message(message)
|
||||
|
||||
@slots.each do |slot, amount|
|
||||
unless inventory.remove_slot(slot, amount)
|
||||
@@ -279,7 +279,7 @@ class FinishedMixingAction < MixingAction
|
||||
ingredient = name_of(@ingredient).downcase
|
||||
name = @potion.item.definition.name.sub('(3)', '')
|
||||
|
||||
player.send_message("You add the #{ingredient} to the mixture to make an #{name}.", true)
|
||||
player.send_message("You add the #{ingredient} to the mixture to make an #{name}.")
|
||||
player.skill_set.add_experience(HERBLORE_SKILL_ID, @potion.experience)
|
||||
|
||||
inventory = player.inventory
|
||||
|
||||
Reference in New Issue
Block a user