Improve food drop notification phrasing

This commit is contained in:
Sabe Jones 2013-12-21 22:01:14 -06:00
parent b5c7f554ab
commit 3209ceca65
2 changed files with 4 additions and 4 deletions

View file

@ -460,10 +460,10 @@ _.each api.hatchingPotions, (pot,k) ->
api.food =
Meat: text: 'Meat', target: 'Base'
Milk: text: 'Milk', target: 'White'
Potatoe: text: 'Potato', target: 'Desert'
Strawberry: text: 'Strawberry', target: 'Red'
Potatoe: text: 'Potato', target: 'Desert', article: 'a '
Strawberry: text: 'Strawberry', target: 'Red', article: 'a '
Chocolate: text: 'Chocolate', target: 'Shade'
Fish: text: 'Fish', target: 'Skeleton'
Fish: text: 'Fish', target: 'Skeleton', article: 'a '
RottenMeat: text: 'Rotten Meat', target: 'Zombie'
CottonCandyPink: text: 'Pink Cotton Candy', target: 'CottonCandyPink'
CottonCandyBlue: text: 'Blue Cotton Candy', target: 'CottonCandyBlue'

View file

@ -893,7 +893,7 @@ api.wrap = (user) ->
user.items.food[drop.name] ?= 0
user.items.food[drop.name]+= 1
drop.type = 'Food'
drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}"
drop.dialog = "You've found #{drop.article}#{drop.text}! #{drop.notes}"
# Eggs: 30% chance
else if rarity > .3