Skip to content

Commit

Permalink
Updated Getting Start help section
Browse files Browse the repository at this point in the history
  • Loading branch information
Helfima committed Jun 21, 2024
1 parent 2c7ffc9 commit 3eb5fd1
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 26 deletions.
2 changes: 2 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.12
Date: 2024-06-09
Changes:
- Updated Getting Start help section
Bugfixes:
- Fix flow value per minute in tooltip of product
- Fix remove linked product if not exist in block products
Expand Down
8 changes: 4 additions & 4 deletions dialog/HelpPanel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ help_data.getting_start.content.getting_start = {
localised_text = "getting-start-panel",
desc = false,
list = "number",
count = 4
count = 5
}
help_data.getting_start.content.quick_start = {
sprite = "quick-start",
localised_text = "quick-start",
desc = true,
list = "number",
count = 8
count = 9
}
help_data.mod_settings = {
name = "mod-settings",
Expand Down Expand Up @@ -389,7 +389,7 @@ function HelpPanel:updateContent(event)
GuiElement.add(section_panel, GuiLabel("header"):caption({"", "[font=heading-1]", section_caption_name, "[/font]"}):style("helmod_label_help"))
local section_title = GuiElement.add(section_panel, GuiLabel(section.name, "desc"):caption({"", " ",section_caption_desc}):style("helmod_label_help"))
for key,content in pairs(section.content) do
local content_panel = GuiElement.add(section_panel, GuiFrameV(section.name, "panel", key):style("helmod_inside_frame"))
local content_panel = GuiElement.add(section_panel, GuiFrameV(section.name, "panel", key))
content_panel.style.horizontally_stretchable = true

local content_title_name = {string.format("helmod_help.%s", content.localised_text)}
Expand All @@ -398,7 +398,7 @@ function HelpPanel:updateContent(event)
GuiElement.add(content_panel, GuiLabel(section.name, "desc", key):caption({string.format("helmod_help.%s-desc", content.localised_text)}):style("helmod_label_help_text"))
end
if content.sprite then
GuiElement.add(content_panel, GuiSprite():sprite("helmod_"..content.sprite))
local sprite = GuiElement.add(content_panel, GuiSprite():sprite("helmod_"..content.sprite))
end

local column = 1
Expand Down
Binary file modified graphics/help/getting-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/help/quick-start.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 14 additions & 12 deletions locale/en/help.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,24 @@ getting-start=Getting Started
getting-start-desc=Consult Mod Settings Help before using this mod.

quick-start=Quick Start
quick-start-desc=You can make your first Production Block in the Production Line.\nBeware if your recipe does not appear, activate the different filters, it is certainly hidden.
quick-start-1=Click Add Recipe button.
quick-start-2=Choose a recipe in the recipe selector.
quick-start-3=Click on a output icon to open Edit Product Panel.
quick-start-4=Set your product quantity, use ENTER or OK button to validate.
quick-start-5=Click on a yellow icon in the Ingredients column to add next recipe.
quick-start-6=Click on a gray icon in the Recipe line to open Recipe Editor.
quick-start-7=Click on a block icon to switch the current block of Production Line.
quick-start-8=Click on the Back button to return to Production Line.
quick-start-desc=You can build your first Production Block in the Production Line.\nIf your recipe does not appear, activate the different filters, it is certainly hidden.
quick-start-1=Click Add Production Line button.
quick-start-2=Click Add Recipe button.
quick-start-3=Choose a recipe in the recipe selector.
quick-start-4=Click on a output icon to open Edit Product Panel.
quick-start-5=Set your product quantity, use ENTER or OK button to validate.
quick-start-6=Click on a yellow icon in the Ingredients column to add next recipe.
quick-start-7=Click on the button to manage a row.
quick-start-8=Click on a gray icon in the Recipe line to open Recipe Editor or blue icon to open sub-block.
quick-start-9=Click on icon to navigate in the sub-blocks.

getting-start-panel=Description of helmod panel
getting-start-panel-desc=
getting-start-panel-1=Header panel and special menus
getting-start-panel-2=Main panel
getting-start-panel-3=Spreadsheet selector known as "production line"
getting-start-panel-4=Main data panel
getting-start-panel-2=Spreadsheet menu
getting-start-panel-3=Spreadsheet selector (production line)
getting-start-panel-4=Sub-block navigator
getting-start-panel-5=Spreadsheet Data Row

mod-settings=Mod Settings
mod-settings-desc=To open Mod Settings, push [ESC], click Options and click Mod
Expand Down
17 changes: 9 additions & 8 deletions locale/fr/help.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@ getting-start-desc=Consulter l'aide sur "Paramètres des mods" avant d'utiliser

quick-start=Démarrage rapide
quick-start-desc=Vous pouvez ajouter votre premier bloc de poduction dans votre ligne de production.\nAttention si votre recette n'apparait pas, activer les différents filtres, elle est certainement cachée
quick-start-1=Utiliser l'icon Ajouter une recette.
quick-start-2=Cliquer une recette dans le Sélecteur de recette.
quick-start-3=Utiliser l'icon vert dans la Sortie pour modifier la quantité.
quick-start-4=Modifier la quantité du produit, utilser ENTER ou le bouton OK pour valider.
quick-start-5=Utiliser un des icons jaunes dans la colonne Ingrédients pour ajouter la recette suivante.
quick-start-6=Utiliser un des icons gris sur une ligne de recette pour ouvrir l'Edition de recette.
quick-start-7=Utiliser un des icons de la colonne pour editer un bloc de la ligne de production.
quick-start-8=Utiliser le bouton Back pour revenir sur la ligne de production.
quick-start-1=Utiliser l'icon Ajouter une ligne de production.
quick-start-2=Utiliser l'icon Ajouter une recette.
quick-start-3=Cliquer une recette dans le Sélecteur de recette.
quick-start-4=Utiliser l'icon vert dans la Sortie pour modifier la quantité.
quick-start-5=Modifier la quantité du produit, utilser ENTER ou le bouton OK pour valider.
quick-start-6=Utiliser un des icons jaunes dans la colonne Ingrédients pour ajouter la recette suivante.
quick-start-7=Utiliser les boutons pour manipuler une ligne.
quick-start-8=Utiliser un des icons gris pour editer un bloc de la ligne de production ou un des icons bleu foncé pour ouvrir le sous-bloc.
quick-start-9=Utiliser le bouton pour naviguer dans les sous-blocs.

getting-start-panel=Description de l'interface du mod
getting-start-panel-desc=
Expand Down
4 changes: 2 additions & 2 deletions prototypes/sprites.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function sprite_help(name,width,height)
end

data:extend({
sprite_help("getting-start", 798, 359),
sprite_help("quick-start", 800, 506),
sprite_help("getting-start", 800, 423),
sprite_help("quick-start", 800, 423),
sprite_help("mod-settings-map", 478, 524),
sprite_help("mod-settings-player", 415, 524),
sprite_help("preferences-general", 500, 567),
Expand Down

0 comments on commit 3eb5fd1

Please sign in to comment.