Powered by Jitbit .Net Forum free trial version.

HomeFallen London » The Bazaar

This is the place to discuss playing the game. Find tips, debate the best places to find certain items and share advice.

FL resizer for 5-card lodgings (browser extension) Messages in this topic - RSS

Furak
Furak
Posts: 16

2/18/2015
Hello delicious friends,
since many people got their 5-carders in recent Sackmas lacre extravaganza and since some of them (including me) expressed their dislike to having the card hand broken to two lines I made my friend develop a tiny user script that modifies the default user interface slightly in following fashion:

Fallen London resizer for 5-card lodgings (https://greasyfork.org/en/scripts/7366-fallen-london-resizer)
- resizes main body of Fallen London game page to fir all 5 opportunity cards on single line
- to keep the uniform look of the wider body, other tabs (Messages, Myself, Bazaar, Nex, Help are also resized)
- to prevent Dangerous and Persuasive stat being broken into 2 lines with long numbers, font in the left frame of the game was slightly decreased in size

...and that's it. If you have any questions of ideas, let me know (here, in FL or in IRC, i have the same nick everywhere).

Just first thing before anyone asks, the inventory is not extended to have more items on each line... It would be possible (and quite easy) to do, but due to mechanics of the game that dynamically add new lines there would be empty lines even with previous lines would not be full and i didn't see a benefit in that (fixing that would be more like a hack than anything else or so i was told by the maker (no i don't mean The Maker)).

I hope there will be people enjoying this tiny script as much as i do.

Fallen London without the extension: http://prntscr.com/66t92v
Fallen London with the extension: http://prntscr.com/66t8p8

If you do not know how to install script to your browser, please click the question mark next to the "install this script button".


Regards,
Furak
edited by Furak on 2/18/2015
edited by Furak on 2/18/2015
+16 link
yetanotherone
yetanotherone
Posts: 135

1/6/2016
Another alternative is just to apply some simple custom CSS:

ul#cards.hand-size5 li { width: 86px; }

This makes the cards overlap, but keeps all the column widths - like this:

edited by yetanotherone on 1/6/2016

--
https://www.fallenlondon.com/profile/AncientDrunkard
https://www.fallenlondon.com/Profile/ModernDrunkard
+5 link
Travers
Travers
Posts: 98

1/7/2016
Lomias wrote:
Oh that's pretty neat too. Could you tell us how to use custom CSS in firefox or chrome? Thanks.
There may be other ways but I use the Stylish addon (i.e., using the "Write new style > For fallenlondon.storynexus.com..." option).

Based on the Resizer, I am currently using the following CSS changes for Fallen London:
[spoiler]
@namespace url(http://www.w3.org/1999/xhtml);

@-moz-document domain("fallenlondon.storynexus.com")
{
.outer_wrapper {width: 1080px;}
.rhs_col {width: 950px;}
.content_lhs {width: 820px;}
.tab_content_bg {width: 785px}
.tab_content {width: 750px}
.toggle-map {margin-right: 7px}
.you_lhs p {font-size: 0.7em}
img#mainContentLoading {margin-left: 343px !important}
div#topMap {margin-left: 40px}
ul#cards {width: 610px}
.storylet {width: 741px}
.storylet-select
.storylet_rhs {width: 645px}
.storylet_flavour_text {width: 728px}
.quality_update_box {width: 748px}
.quality_update_rank {width: 600px}
.quality_update_box p {width: 670px; margin-left: 6px}
.quality_update_box .score {margin: 0 6px}
input.standard_btn {height: 30px}
a.standard_btn {padding: 5px 6px !important}
.site-message {width: 736px;}
div.landingPageColumn {width: 365px;}
.shop-items {width: 555px;}
.me-page-inventory {width: 425px}
ul.me-profile-slot-items {width: 360px}
ul.me-profile-slot-items li {margin: 0 8px 10px 0;}
ul.me-profile-slot-items li.slot-item-empty,
ul.me-profile-slot-items li.slot-item-empty:hover,
ul.me-profile-slot-items li.slot-item-empty:focus {margin: 2px 10px 10px 2px;}
}
[/spoiler]
edited by Travers on 1/7/2016

--
http://fallenlondon.storynexus.com/Profile/Professor~Travers~Durward
+2 link
Lady Taimi Felix
Lady Taimi Felix
Posts: 202

1/6/2017
TeslaWalker wrote:
. I'd use stylish but I've been told it's been used as spyware by the developer.


Well, not to sound all tinfoil-hatted, but the entirely of the internet is being used as spyware, so I personally wouldn't be overly concerned about a highly-rated official add-on like stylish. However, as an alternative, if you use Firefox, there's a version of Tampermonkey for FF as well. I use the Chrome version and it handles loading the scripts for you. Hope that helps!

Edit: Ah, I see that just a few days ago, the developer of stylish announced his "partnership" with an analytics company.
https://forum.userstyles.org/discussion/53233/announcement-to-the-community

Well, that's unfortunate.
edited by Lady Taimi Felix on 1/6/2017

--
Lady Taimi Felix: Devoted Wife. Invisible Eminence. Patron of the Shadowy Arts. Monster Hunter. Lady of Adventure. Exceptionally Lethal. Loves a Good Chat over Coffee.
+2 link
Sara Hysaro
Sara Hysaro
Moderator
Posts: 4514

1/8/2018
The game itself is being laggy - it's not the extension itself that's making it so. FBG will address it when they can.

--
http://fallenlondon.storynexus.com/Profile/Sara%20Hysaro
Please do not send SMEN, cat boxes, or Affluent Reporter requests. All other social actions are welcome.

Are you a Scarlet Saint? Send a message my way to be added to the list.
+2 link
malthaussen
malthaussen
Posts: 1060

1/6/2016
Unfortunately, this extension will remove all of the left margin and make the layout not fit in a standard window at low resolution (1024X768). Which is somewhat problematic for those whose eyes do not adjust well to higher resolutions. Good idea, though.

-- Mal

--
"Of two choices, I always take the third."
Will do all socials except Loitering or Private Evenings (all my Free Evenings are accounted for), and Affluent Photographer Betrayals only, please. I am not currently accepting calling cards.
http://fallenlondon.storynexus.com/Profile/malthaussen
+2 link
Luminen Walker
Luminen Walker
Posts: 172

1/6/2017
yetanotherone wrote:
ul#cards.hand-size5 li { width: 86px; }


I was wondering if anyone could tell me how to automate such an alteration to the style? It seems to remove itself upon reloading the page. I'd use stylish but I've been told it's been used as spyware by the developer.

--
1 - Cpt. Martin Walker, a Paramount and Marvellous Dreamer.
2 - Ariana Crivelli, a silent and sagacious lady.
+1 link
Furak
Furak
Posts: 16

2/18/2015
Lady Taimi Ward-Felix wrote:
Fair enough. For those Chrome users who don't wish to install Tampermonkey for whatever reason, I installed it by clicking the link to the script, rolling my eyes after Chrome gave its dire message, and then dragging the resulting .js file over to the extensions tab. YMMV if that seems easier than just installing Tampermonkey, but hey, options! smile

although you may face a problem where chrome decides to disable the extension because it does not come from chrome market... tampermonkey prevents this
+1 link
fitz
fitz
Posts: 91

9/9/2015
I was wondering if it was possible to consolidate some of the sidebar qualities. Since certain qualities, such as BDR and K&C, do not use a progress bar, I was curious how feasible it would be to condense them up.

Such as:
- BDR as a set of cards with no progress bar
- K&C as a set of cards with no progress bar
- MW with a progress bar, and Notability and Influence in the second chance card slots.

eg:
[Scandal_4][_][_]
=scandal progress bar=

[MW_16][Not_8][Inf_44]
=making waves progress bar=
[Biz_4][Dre_4][Res_12]
break
[Sav_60][Elu_60][Bar_100]
break
[A Turncoat_3][_][_]
break
edited by fitz on 9/9/2015

--
Ô fitzGwahir
+1 link
Erika
Erika
Posts: 528

9/9/2015
fitz wrote:
I was wondering if it was possible to consolidate some of the sidebar qualities. Since certain qualities, such as BDR and K&C, do not use a progress bar, I was curious how feasible it would be to condense them up.

This was discussed in another extension thread, IIRC what you're suggesting isn't really possible at the moment. However! I believe it's been mentioned that FBG is working towards adding this functionality into the game as part of their port to iOS.

I also feel like this was probably the wrong place to suggest that, considering this specific browser extension is vastly different than what you're suggesting. But hey, I could be wrong. I've been known to be wrong before.

--
Where the sun is hot, the moon is beautiful, and mysterious lights pass overhead while we all pretend to sleep.
                           Going on a fate expedition? I'm collecting data! Help me?
               "Bottles of Oblivion" drunk in the name of content: 57
              Catboxes (send more!) opened in the name of science: 1093
                    Fancy a friend?
+1 link




Powered by Jitbit Forum 8.0.2.0 © 2006-2013 Jitbit Software