Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please read the forum rules before posting.



Check if you are posting in the correct category.



The Off Topic section is not meant for discussing Cookie Clicker.
⚠️ The DashNet forums will be shut down on September 12th 2019.⚠️

Please see here for more information.

Mod Support: Dropdown menu (or similar)

AuroyaNovoAuroyaNovo Posts: 5,493Member, Friendly, Helpful, Cool ✭✭✭✭✭
edited February 2017 in Suggestions
As all of you, who use mods like CookieMaster or Frozen Cookie, might have noticed, the menu button of every mod goes in the upper right corner of the middle section of CC.
That is slightly annoying, because almost only one mod at a time is accessible this way. I personally use 2 mods at the same time, and now Zyzzyzus made a new custom stats mod which looks useful, too.

Wouldn't it be nice to have something like a predefined dropdownmenu in that corner?

Basically, that every modder could use a specified way to send the menu button for his mod into that new menu.

I don't know that much about programming, but that should be possible. And pretty useful, too.
Post edited by Chisako on

Comments

  • TFU_SatronTFU_Satron Posts: 12,680Member, Friendly, Cool, Flagger, Conversationalist, Funny ✭✭✭✭✭
    cant see anything wrong with this.
    What is life? Is it nothing more than the endless search for a cutie mark? And what is a cutie mark but a constant reminder that we're all only one bugbear attack away from oblivion? And what of the poor gator? Flank forever blank, destined to an existential swim down the river of life to... an unknowable destiny?
  • toweratortowerator Posts: 137Member
    Definitely, everyone would like it. Definitely +1,25.
    Je plussoie.
    This post was offered to you by Towerator.

    Ceci est une signature.
  • [Deleted User][Deleted User] Posts: 4,188
    edited June 2014
    The user and all related content has been deleted.
    I had a dream my life would be
    So different from this hell I'm living
    So different now, from what it seemed
    Now life has killed the dream I dreamed
  • AuroyaNovoAuroyaNovo Posts: 5,493Member, Friendly, Helpful, Cool ✭✭✭✭✭
    edited August 2014
    Bump, because that might be important, now, that the last place in the title bar gets covered by a new button.
  • MatryoshkaMatryoshka Posts: 1,045Member ✭✭
    i don't code

  • OldMammalOldMammal Posts: 7,448Member ✭✭✭✭✭
    Doesn't seem hard, just something along the lines of the html <select> tag.
  • [Deleted User][Deleted User] Posts: 4,188
    edited August 2014
    The user and all related content has been deleted.
    I had a dream my life would be
    So different from this hell I'm living
    So different now, from what it seemed
    Now life has killed the dream I dreamed
  • OldMammalOldMammal Posts: 7,448Member ✭✭✭✭✭
    Zyzzyzus said:

    It'd be better to code a proper list. If it were me I'd create a list that shows up when that 4th button is moused over where it shows all of the 'buttons' in a vertical list. We'd then have to give the button a name and a function to run when it is clicked.

    Zyzzyzus said:

    Game.custombutton.push([buttonname,clickfunction])

    That could be the code we would use to add our custom button. For actually displaying the stats you use the already existing Game.customDraw.push(code for showing stats)

    In mine I used Game.customDraw.push(addnewstats) then the addnewstats function calculates the stats then writes the HTML to display it.

    There is a bit more stuff and I had to use 'hacky' methods a bit since I am still a novice really.
    we would use to add our custom button?
  • [Deleted User][Deleted User] Posts: 4,188
    The user and all related content has been deleted.
    I had a dream my life would be
    So different from this hell I'm living
    So different now, from what it seemed
    Now life has killed the dream I dreamed
Sign In or Register to comment.