Separated stable into dropped pets, quest pets, and rare pets, and made countPets only count the former. Made countMounts only count dropped and quest-hatched mounts, not rare mounts.
This commit is contained in:
+39
-1
@@ -506,6 +506,36 @@ _.each api.eggs, (egg,key) ->
|
||||
notes: "Find a hatching potion to pour on this egg, and it will hatch into a #{egg.adjective} #{egg.text}."
|
||||
mountText: egg.text
|
||||
|
||||
api.dropEggs =
|
||||
# value & other defaults set below
|
||||
Wolf: text: 'Wolf', adjective: 'loyal'
|
||||
TigerCub: text: 'Tiger Cub', mountText: 'Tiger', adjective: 'fierce'
|
||||
PandaCub: text: 'Panda Cub', mountText: 'Panda', adjective: 'gentle'
|
||||
LionCub: text: 'Lion Cub', mountText: 'Lion', adjective: 'regal'
|
||||
Fox: text: 'Fox', adjective: 'wily'
|
||||
FlyingPig: text: 'Flying Pig', adjective: 'whimsical'
|
||||
Dragon: text: 'Dragon', adjective: 'mighty'
|
||||
Cactus: text: 'Cactus', adjective: 'prickly'
|
||||
BearCub: text: 'Bear Cub', mountText: 'Bear', adjective: 'cuddly'
|
||||
_.each api.dropEggs, (egg,key) ->
|
||||
_.defaults egg,
|
||||
canBuy:true
|
||||
value: 3
|
||||
key: key
|
||||
notes: "Find a hatching potion to pour on this egg, and it will hatch into a #{egg.adjective} #{egg.text}."
|
||||
mountText: egg.text
|
||||
|
||||
api.questEggs =
|
||||
# value & other defaults set below
|
||||
Gryphon: text: 'Gryphon', adjective: 'regal', canBuy: false
|
||||
_.each api.questEggs, (egg,key) ->
|
||||
_.defaults egg,
|
||||
canBuy:false
|
||||
value: 3
|
||||
key: key
|
||||
notes: "Find a hatching potion to pour on this egg, and it will hatch into a #{egg.adjective} #{egg.text}."
|
||||
mountText: egg.text
|
||||
|
||||
api.specialPets =
|
||||
'Wolf-Veteran': true
|
||||
'Wolf-Cerberus': true
|
||||
@@ -513,6 +543,10 @@ api.specialPets =
|
||||
'Turkey-Base': true
|
||||
'BearCub-Polar': true
|
||||
|
||||
api.specialMounts =
|
||||
'BearCub-Polar': true
|
||||
'LionCub-Ethereal': true
|
||||
|
||||
api.hatchingPotions =
|
||||
Base: value: 2, text: 'Base'
|
||||
White: value: 2, text: 'White'
|
||||
@@ -527,7 +561,11 @@ api.hatchingPotions =
|
||||
_.each api.hatchingPotions, (pot,key) ->
|
||||
_.defaults pot, {key, value: 2, notes: "Pour this on an egg, and it will hatch as a #{pot.text} pet."}
|
||||
|
||||
api.pets = _.transform api.eggs, (m, egg) ->
|
||||
api.pets = _.transform api.dropEggs, (m, egg) ->
|
||||
_.defaults m, _.transform api.hatchingPotions, (m2, pot) ->
|
||||
m2[egg.key + "-" + pot.key] = true
|
||||
|
||||
api.questPets = _.transform api.questEggs, (m, egg) ->
|
||||
_.defaults m, _.transform api.hatchingPotions, (m2, pot) ->
|
||||
m2[egg.key + "-" + pot.key] = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user