diff --git a/script/helpers.coffee b/script/helpers.coffee index cb1d2083ea..903118badb 100644 --- a/script/helpers.coffee +++ b/script/helpers.coffee @@ -353,9 +353,7 @@ module.exports = countPets: (originalCount, pets) -> count = if originalCount? then originalCount else _.size(pets) - count-- if pets["Wolf-Veteran"] - count-- if pets["Wolf-Cerberus"] - count-- if pets["Dragon-Hydra"] + count-- for pet,info in items.items.specialPets if pets[pet] count ### diff --git a/script/items.coffee b/script/items.coffee index e7c9bbae22..f949cbc498 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -70,6 +70,12 @@ items = module.exports.items = CottonCandyBlue: value: 4, text: 'Cotton Candy Blue' Golden: value: 5, text: 'Golden' + specialPets: + 'Wolf-Veteran': true + 'Wolf-Cerberus': true + 'Dragon-Hydra': true + 'Turkey-Base': true + food: Meat: text: 'Meat', target: 'Base' Milk: text: 'Milk', target: 'White'