Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
pindab0ter committed Jan 28, 2025
2 parents 1596000 + be66cda commit 4a1b303
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 10 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This is a fork of Santa's Nixie Tubes [mod](https://mods.factorio.com/mod/SantasNixieTubeDisplay) that has better performance and other improvements.

Download the mod from the [Factorio Mods Portal](https://mods.factorio.com/mod/UPSFriendlyNixieTubeDisplay)
Download the mod from the [Factorio Mod Portal](https://mods.factorio.com/mod/UPSFriendlyNixieTubeDisplay).

## Features

Expand All @@ -9,19 +9,19 @@ Download the mod from the [Factorio Mods Portal](https://mods.factorio.com/mod/U
- Has a simple GUI to choose the signal
- Performance improvements
- It doesn't rerender numbers that haven't changed
- It doesn't use tanks as sprites for the numbers, so it will even show up nice on the mini map.
- It doesn't use tanks as sprites for the numbers, so it will even show up nice on the mini map
- It doesn't use characters for colors, so no ups drops from lots of characters on the map
- No colors (Nixies are orange from the heated filament)

## Usage

- Research the technology
- Place one or multiple Nixie Tubes in a row to display larger numbers
- Connect a wire to the rightmost Nixie Tube in a row and choose a signal
1) Research the respective technologies (Classic Nixie Tubes, Reinforced Nixie Tubes)
2) Place one or multiple Nixie Tubes in a row to display larger numbers
3) Connect a wire to the rightmost Nixie Tube in a row and choose a signal

## Changelog

[changelog.txt](changelog.txt)
Refer to [changelog.txt](changelog.txt)

## Contributing

Expand All @@ -34,17 +34,21 @@ This project is licensed under the MIT License.
## Credits

[RedWizard](https://mods.factorio.com/user/RedWizard) for making an even more UPS friendly fork (this mod) of
[lovely_santa](https://mods.factorio.com/user/lovely_santa)s
[lovely_santa](https://mods.factorio.com/user/lovely_santa)'s
[fork](https://mods.factorio.com/mod/SantasNixieTubeDisplay) of
[justarandomgeek](https://mods.factorio.com/user/justarandomgeek)s
[justarandomgeek](https://mods.factorio.com/user/justarandomgeek)'s
[original mod](https://mods.factorio.com/mod/nixie-tubes).

[pindab0ter](https://github.com/pindab0ter) for improving this mod and making it compatible with Factorio 2.0.

[n00mkrad](https://github.com/n00mkrad) for Remote View fix and localization.

### Translations

- Dutch
- [pindab0ter](https://github.com/pindab0ter)
- German
- [n00mkrad](https://github.com/n00mkrad)
- Polish
- [skill3472](https://github.com/skill3472)
- Russian
Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.2.9
Date: 2025-01-27
Bugfixes:
- Fixed nixie tubes not updating when viewed through remote view [fork by nmkd]
---------------------------------------------------------------------------------------------------
Version: 0.2.8
Date: 2024-12-09
Translation:
Expand Down
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "UPSFriendlyNixieTubeDisplay",
"version": "0.2.8",
"version": "0.2.9",
"factorio_version": "2.0",
"title": "UPS Friendly Nixie Tubes",
"author": "Red_Wizard, pindab0ter",
Expand Down
27 changes: 27 additions & 0 deletions locale/de/de.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[entity-name]
nixie-tube=Nixie-Röhre
classic-nixie-tube=Klassische Nixie-Röhre
classic-nixie-tube-sprite=__ENTITY__classic-nixie-tube__
reinforced-nixie-tube=Verstärkte Nixie-Röhre
reinforced-nixie-tube-sprite=__ENTITY__reinforced-nixie-tube__
small-reinforced-nixie-tube=Kleine Verstärkte Nixie-Röhre
small-reinforced-nixie-tube-sprite=__ENTITY__small-reinforced-nixie-tube__

[entity-description]
classic-nixie-tube=Zeigt Signalwerte aus dem Schaltungsnetz an. Mehrere können nebeneinander platziert werden, um größere Zahlen darzustellen.
reinforced-nixie-tube=Zeigt Signalwerte aus dem Schaltungsnetz an. Mehrere können nebeneinander platziert werden, um größere Zahlen darzustellen.
small-reinforced-nixie-tube=Zeigt Signalwerte aus dem Schaltungsnetz an. Mehrere können nebeneinander platziert werden, um größere Zahlen darzustellen.

[technology-name]
classic-nixie-tubes=Klassische Nixie-Röhren
reinforced-nixie-tubes=Verstärkte Nixie-Röhren

[technology-description]
classic-nixie-tubes=Klassische Nixie-Röhren zum anzeigen von Signalwerten aus dem Schaltungsnetz. Mehrere können nebeneinander platziert werden, um größere Zahlen darzustellen.
reinforced-nixie-tubes=Verstärkte sowie Kleine Verstärkte Nixie-Röhren zum anzeigen von Signalwerten aus dem Schaltungsnetz. Mehrere können nebeneinander platziert werden, um größere Zahlen darzustellen.

[mod-setting-name]
nixie-tube-group-updates-per-tick=Nixie-Gruppen-Updates pro Tick

[mod-setting-description]
nixie-tube-group-updates-per-tick=Die maximale Anzahl an Nixie-Gruppen, die pro Tick aktualisiert werden. Eine höhere Zahl führt zu schnelleren Aktualisierungen, erhöht jedoch den Ressourcenverbrauch.
2 changes: 1 addition & 1 deletion scripts/nixie_tube.lua
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ local function on_tick(_)
local eyes_on_surface = {}
for i = 1, #game.connected_players do
local player = game.connected_players[i]
if player.render_mode == defines.render_mode.game then
if player.render_mode == defines.render_mode.game or player.render_mode == defines.render_mode.chart_zoomed_in then
eyes_on_surface[player.surface_index] = (eyes_on_surface[player.surface_index] or 0) + 1
end
end
Expand Down

0 comments on commit 4a1b303

Please sign in to comment.