Page 1 of 1

[Solved] Any Shortcut Documentation?

Posted: Wed Mar 06, 2019 10:35 pm
by Schallfalke
I am delighted to see the new shortcut toolbar and the ability to adds things to it.
However, I have not found much documentation about it yet. (See below, "shortcut" as search keyword often gave me something else...)
Can anyone provide links to documentation, if any?

The only documentation I found is here: https://wiki.factorio.com/Prototype/Shortcut.

Especially on the property "style", where can I find other options? The above link shows options: "red", "green", "blue". I cannot find where these options are coded or provided. Are they hard-coded?
I want to make an orange button, for example, but entering "orange" to it does not work.

Code: Select all

  {
    type = "shortcut",
    name = "give-blueprint-book",
    order = "b[blueprints]-f[book]",
    action = "create-blueprint-item",
    localised_name = {"item-name.blueprint-book"},
    technology_to_unlock = "construction-robotics",
    item_to_create = "blueprint-book",
    style = "blue", <- THIS OPTION

Re: Any Shortcut Documentation?

Posted: Wed Mar 06, 2019 11:13 pm
by Bilka
Schallfalke wrote: Wed Mar 06, 2019 10:35 pm Especially on the property "style", where can I find other options? The above link shows options: "red", "green", "blue". I cannot find where these options are coded or provided. Are they hard-coded?
Hardcoded.

Re: Any Shortcut Documentation?

Posted: Thu Mar 07, 2019 7:37 am
by Schallfalke
Bilka wrote: Wed Mar 06, 2019 11:13 pm
Schallfalke wrote: Wed Mar 06, 2019 10:35 pm Especially on the property "style", where can I find other options? The above link shows options: "red", "green", "blue". I cannot find where these options are coded or provided. Are they hard-coded?
Hardcoded.
It's sad. Hope there will be customized style in the future version, or support the Color type.