mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09: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
@@ -702,11 +702,17 @@ package gui
|
||||
{
|
||||
_loc2_.txt.text = "";
|
||||
}
|
||||
if(_loc2_.title != null)
|
||||
// the Alpha HQ's bios have no title (string 0), and an id with no
|
||||
// string throws: the popup stayed on screen with nothing able to
|
||||
// close it. none is left as it is.
|
||||
if(_loc2_.title != null && param1.title > 0)
|
||||
{
|
||||
LocalizationManager.translateId(_loc2_.title.txt,param1.title);
|
||||
}
|
||||
LocalizationManager.translateId(_loc2_.txt,param1.description);
|
||||
if(param1.description > 0)
|
||||
{
|
||||
LocalizationManager.translateId(_loc2_.txt,param1.description);
|
||||
}
|
||||
if(param1.media && param1.media != 0)
|
||||
{
|
||||
_loc3_ = new MediaHelper();
|
||||
@@ -724,7 +730,13 @@ package gui
|
||||
}
|
||||
}
|
||||
_loc2_.addEventListener("mouseDown",factMouseDownHandler,false,0,true);
|
||||
if(_loc2_.nextBtn)
|
||||
// one fact on its own (not one of a list) has no next or previous
|
||||
if(_loc2_.nextBtn && (_genericFactDefIndexList == null || isNaN(param1.index)))
|
||||
{
|
||||
_loc2_.nextBtn.visible = false;
|
||||
_loc2_.prevBtn.visible = false;
|
||||
}
|
||||
else if(_loc2_.nextBtn)
|
||||
{
|
||||
_loc2_.nextBtn.addEventListener("mouseDown",factNextPrevBtnHandler,false,0,true);
|
||||
_loc2_.prevBtn.addEventListener("mouseDown",factNextPrevBtnHandler,false,0,true);
|
||||
|
||||
Reference in new issue
Block a user