feat(eggQuest): add april egg quest
8748
dist/customizer.css
vendored
2
dist/habitrpg-shared.css
vendored
66
dist/habitrpg-shared.js
vendored
|
|
@ -10815,6 +10815,11 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
|
|||
text: 'Deer',
|
||||
adjective: 'elegant',
|
||||
canBuy: false
|
||||
},
|
||||
Egg: {
|
||||
text: 'Egg',
|
||||
adjective: 'colorful',
|
||||
canBuy: false
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -11261,6 +11266,65 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
|
|||
gp: 100,
|
||||
exp: 1000
|
||||
}
|
||||
},
|
||||
egg: {
|
||||
text: "Egg Hunt",
|
||||
notes: "Overnight, strange plain eggs have appeared everywhere: in Matt's stables, behind the counter at the Tavern, and even among the pet eggs at the Marketplace! What a nuisance! \"Nobody knows where they came from, or what they might hatch into,\" says @Megan, \"but we can't just leave them laying around! Work hard and search hard to help me gather up these mysterious eggs. Maybe if you collect enough, there will be some extras left over for you...\"",
|
||||
completion: "You did it! In gratitude, @Megan gives you ten of the eggs. \"I don't think they hatch, exactly,\" she says, \"and they certainly won't grow into mounts. But that doesn't mean you can't dye them beautiful colors!\"",
|
||||
value: 4,
|
||||
collect: {
|
||||
plainEgg: {
|
||||
text: 'Plain Egg',
|
||||
count: 100
|
||||
}
|
||||
},
|
||||
drop: {
|
||||
items: [
|
||||
{
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Egg',
|
||||
text: "Plain Egg"
|
||||
}
|
||||
],
|
||||
gp: 0,
|
||||
exp: 0
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -12331,7 +12395,7 @@ var process=require("__browserify_process");(function() {
|
|||
message: ":food not found in user.items.food"
|
||||
}) : void 0;
|
||||
}
|
||||
if (content.specialPets[pet]) {
|
||||
if (content.specialPets[pet] || (egg === "Egg")) {
|
||||
return typeof cb === "function" ? cb({
|
||||
code: 401,
|
||||
message: "Can't feed this pet."
|
||||
|
|
|
|||
12264
dist/spritesmith.css
vendored
BIN
dist/spritesmith.png
vendored
|
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 545 KiB |
BIN
img/sprites/spritesmith/inventory/Pet_Egg_Egg.png
Normal file
|
After Width: | Height: | Size: 332 B |
BIN
img/sprites/spritesmith/quests/quest_egg_plainEgg.png
Normal file
|
After Width: | Height: | Size: 332 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Base.png
Normal file
|
After Width: | Height: | Size: 691 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-CottonCandyBlue.png
Normal file
|
After Width: | Height: | Size: 755 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-CottonCandyPink.png
Normal file
|
After Width: | Height: | Size: 748 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Desert.png
Normal file
|
After Width: | Height: | Size: 732 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Golden.png
Normal file
|
After Width: | Height: | Size: 674 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Red.png
Normal file
|
After Width: | Height: | Size: 699 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Shade.png
Normal file
|
After Width: | Height: | Size: 636 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Skeleton.png
Normal file
|
After Width: | Height: | Size: 620 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-White.png
Normal file
|
After Width: | Height: | Size: 864 B |
BIN
img/sprites/spritesmith/stable/pets/Pet-Egg-Zombie.png
Normal file
|
After Width: | Height: | Size: 669 B |
|
|
@ -558,6 +558,7 @@ api.questEggs =
|
|||
Gryphon: text: 'Gryphon', adjective: 'proud', canBuy: false
|
||||
Hedgehog: text: 'Hedgehog', adjective: 'spiky', canBuy: false
|
||||
Deer: text: 'Deer', adjective: 'elegant', canBuy: false
|
||||
Egg: text: 'Egg', adjective: 'colorful', canBuy: false
|
||||
_.each api.questEggs, (egg,key) ->
|
||||
_.defaults egg,
|
||||
canBuy:false
|
||||
|
|
@ -780,6 +781,29 @@ api.quests =
|
|||
gp: 100
|
||||
exp: 1000
|
||||
|
||||
egg:
|
||||
text: "Egg Hunt"
|
||||
notes: "Overnight, strange plain eggs have appeared everywhere: in Matt's stables, behind the counter at the Tavern, and even among the pet eggs at the Marketplace! What a nuisance! \"Nobody knows where they came from, or what they might hatch into,\" says @Megan, \"but we can't just leave them laying around! Work hard and search hard to help me gather up these mysterious eggs. Maybe if you collect enough, there will be some extras left over for you...\""
|
||||
completion: "You did it! In gratitude, @Megan gives you ten of the eggs. \"I don't think they hatch, exactly,\" she says, \"and they certainly won't grow into mounts. But that doesn't mean you can't dye them beautiful colors!\""
|
||||
value: 1
|
||||
collect:
|
||||
plainEgg: text: 'Plain Egg', count: 100
|
||||
drop:
|
||||
items: [
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
{type: 'eggs', key: 'Egg', text: "Plain Egg"}
|
||||
]
|
||||
gp: 0
|
||||
exp: 0
|
||||
|
||||
|
||||
_.each api.quests, (v,key) ->
|
||||
_.defaults v, {key,canBuy:true}
|
||||
|
|
|
|||
|
|
@ -575,7 +575,7 @@ api.wrap = (user, main=true) ->
|
|||
|
||||
return cb?({code:404, message:":pet not found in user.items.pets"}) unless userPets[pet]
|
||||
return cb?({code:404, message:":food not found in user.items.food"}) unless user.items.food?[food.key]
|
||||
return cb?({code:401, message:"Can't feed this pet."}) if content.specialPets[pet]
|
||||
return cb?({code:401, message:"Can't feed this pet."}) if content.specialPets[pet] or (egg is "Egg")
|
||||
return cb?({code:401, message:"You already have that mount. Try feeding another pet."}) if user.items.mounts[pet]
|
||||
|
||||
message = ''
|
||||
|
|
|
|||