Skip to content

Commit

Permalink
Change default keybinds, clean up readme, bump to 1.0.0.5
Browse files Browse the repository at this point in the history
Default keybinds were running into my other 2 inspectors.  Fixed.
  • Loading branch information
jtsage committed Feb 22, 2022
1 parent 92efa42 commit 58bcd9d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
Binary file modified FS22_ProductionInspector.zip
Binary file not shown.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ No idea. I left the flag on for now, but I can't imagine it will work flawlessl
## Default Input Bindings

* `Left Ctrl` + `Left Alt` + `Num Pad 8` : Reload configuration file from disk
* `Left Ctrl` + `Left Alt` + `Num Pad 7` : Toggle display on and off
* `Left Alt` + `Num Pad 8` : Toggle display on and off

## Options

All options are set via a xml file your savegame folder - simpleInspector.xml
All options are set via a xml file in `modSettings/FS22_ProductionInspector/savegame##/productionInspector.xml`

Most view options can be set in the in-game settings menu (scroll down)

Expand All @@ -51,10 +51,16 @@ Most view options can be set in the in-game settings menu (scroll down)
* __isEnabledOnlyOwned__ - Show only owned production points
* __isEnabledShowInactivePoint__ - Show inactive production points
* __isEnabledShowInactiveProd__ - Show inactive production lines
* __isEnabledShowPercent__ - Show fill percentages
* __isEnabledShowInputs__ - Show inputs
* __isEnabledShowOutputs__ - Show outputs
* __isEnabledShowEmptyOutput__ - Show outputs when empty
* __isEnabledShowOutPercent__ - Show output level percentages
* __isEnabledShowOutFillLevel__ - Show output level fill (liters)
* __isEnabledShowInPercent__ - Show input level percentages
* __isEnabledShowInFillLevel__ - Show input level fill (liters)
* __isEnabledShowEmptyInput__ - Show empty inputs
* __isEnabledShortEmptyOutput__ - Shorten display of empty outputs
* __isEnabledShowOutputMode__ - Show output destination marker

### colors

Expand All @@ -79,6 +85,9 @@ Fill type levels are color coded from empty (green) to full (red) unless it is a
* __setValueTextMarginX__ - text margin height, default "15"
* __setValueTextMarginY__ - text margin width, default "10"
* __setValueTextSize__ - text size, default "12"
* __setStringTextSelling__ - text string for output mode selling , default "↑"
* __setStringTextStoring__ - text string for output mode storing, default "↓"
* __setStringTextDistribute__ - text string for output mode distributing, default "→"

### dev, debug and extras

Expand Down
2 changes: 1 addition & 1 deletion src/ProductionInspector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ProductionInspector.displayMode = 1 -- 1: top left, 2: top right (default),
ProductionInspector.displayMode5X = 0.2
ProductionInspector.displayMode5Y = 0.2

ProductionInspector.debugMode = true
ProductionInspector.debugMode = false

ProductionInspector.isEnabledVisible = true
ProductionInspector.isEnabledOnlyOwned = true
Expand Down
12 changes: 8 additions & 4 deletions src/modDesc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Options:
Default Input Bindings:
Left Ctrl + Left Alt + Num Pad 8 : Reload configuration file from disk
Left Ctrl + Left Alt + Num Pad 7 : Toggle display on and off
Left Alt + Num Pad 8 : Toggle display on and off
Changelog:
Expand All @@ -31,6 +31,8 @@ v1.0.0.4
- Add optional indicators for output product destination (selling, storing, or distributing)
- Save config when using the visibility toggle key
- Hide on construction screen
v1.0.0.5
- Change default key binds
]]></en>
<de><![CDATA[Production Inspector zeigt Ihre laufenden Produktionen auf einen Blick
Expand All @@ -41,7 +43,7 @@ Optionen:
Standard-Eingabebindungen:
Left Ctrl + Left Alt + Num Pad 8 : Konfigurationsdatei von der Festplatte neu laden
Left Ctrl + Left Alt + Num Pad 7 : Anzeige ein- und ausschalten
Left Alt + Num Pad 8 : Anzeige ein- und ausschalten
Changelog:
Expand All @@ -55,10 +57,12 @@ v1.0.0.4
- Fügen Sie optionale Indikatoren für den Bestimmungsort des Ausgangsprodukts (Verkauf, Lagerung oder Verteilung) hinzu.
- Speichern der Konfiguration bei Verwendung der Sichtbarkeitsumschalttaste
- Auf dem Konstruktionsbildschirm ausblenden
v1.0.0.5
- Standardtastenbelegungen ändern
]]></de>
</description>
<author>JTSage</author>
<version>1.0.0.4</version>
<version>1.0.0.5</version>
<iconFilename>modIcon.dds</iconFilename>
<multiplayer supported="true"/>
<extraSourceFiles>
Expand All @@ -75,7 +79,7 @@ v1.0.0.4
<binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_lalt KEY_KP_8" axisComponent="+" neutralInput="0" index="1" />
</actionBinding>
<actionBinding action="ProductionInspector_toggle_visible">
<binding device="KB_MOUSE_DEFAULT" input="KEY_lctrl KEY_lalt KEY_KP_7" axisComponent="+" neutralInput="0" index="1" />
<binding device="KB_MOUSE_DEFAULT" input="KEY_lalt KEY_KP_8" axisComponent="+" neutralInput="0" index="1" />
</actionBinding>
</inputBinding>
</modDesc>

0 comments on commit 58bcd9d

Please sign in to comment.