mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 17:37:50 -05:00
fix: eggs, pets, minigames, themes, HQ facts and more
- egg stands sell an egg again; a bought egg hatches and is named at once - pets whose bits name no pet the game has no longer stop loading - the adopt-a-pet gift path opens with nothing adopted yet - Spider Zapper and Wind Rider start with their players: spiders can be shot, and Wind Rider is played; Spider Zapper's waves are answered - Phantom's Treasure can be left from its title screen and level choice - the Touch Pool's fact window always closes - the last key in Return of the Phantoms lies where it can be reached - the Alpha HQ's bios and relics open and close - a land animal in water (and a sea one on land) is drawn when it stands - a seasonal theme's room has today's shops in it (lib/themerooms.js) - the Forgotten Archive sells its own stock, not unfinished pieces - custom items whose def is gone stay out of trade lists - the captcha is always shown, and tried again when it fails - builds 85
This commit is contained in:
1 parent
c7efda7030
commit
4355994253
19 files changed
+4891
-28
No files matched your search
@@ -826,7 +826,22 @@ package avatar
|
||||
|
||||
public function getBaseIdle() : int
|
||||
{
|
||||
return _roomType == 1 ? 32 : 14;
|
||||
return drawnSwimming() ? 32 : 14;
|
||||
}
|
||||
|
||||
// whether the animal is drawn with its swimming animations: the
|
||||
// room's kind when it has art for both, else the one it has. a land
|
||||
// animal in water (or a sea one on land) asked for art it has none of,
|
||||
// and stood invisible until it did something it had art for.
|
||||
private function drawnSwimming() : Boolean
|
||||
{
|
||||
var _loc1_:Boolean = _avatar == null || Utility.isLand(_avatar.enviroTypeFlag);
|
||||
var _loc2_:Boolean = _avatar == null || Utility.isOcean(_avatar.enviroTypeFlag);
|
||||
if(_loc1_ == _loc2_)
|
||||
{
|
||||
return _roomType == 1;
|
||||
}
|
||||
return _loc2_;
|
||||
}
|
||||
|
||||
public function setPath(param1:Array) : void
|
||||
@@ -2679,7 +2694,7 @@ package avatar
|
||||
_lastMoveAngle = _loc7_;
|
||||
var _loc8_:Object = convertToIdle(_lastMoveAngle);
|
||||
_lastIdleAnim = _loc8_.anim;
|
||||
if(_roomType == 1)
|
||||
if(drawnSwimming())
|
||||
{
|
||||
_lastIdleAnim = getBaseIdle();
|
||||
}
|
||||
@@ -2746,7 +2761,7 @@ package avatar
|
||||
_loc9_ = 14;
|
||||
}
|
||||
}
|
||||
if(_roomType == 1)
|
||||
if(drawnSwimming())
|
||||
{
|
||||
_loc9_ = 29;
|
||||
}
|
||||
@@ -2839,7 +2854,7 @@ package avatar
|
||||
public function preload(param1:Function) : void
|
||||
{
|
||||
var _loc2_:Array = [];
|
||||
if(_roomType == 1)
|
||||
if(drawnSwimming())
|
||||
{
|
||||
_loc2_.push(29);
|
||||
_loc2_.push(32);
|
||||
|
||||
Reference in new issue
Block a user