Skip to content

Commit

Permalink
Use hyphens for the morsecode
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler committed Jan 18, 2025
1 parent be0b558 commit 3b827f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mods_2.0/053_greedy-inserter/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Date: ????
- Initial attempt at automated sampling
- Get the expected 360 numbers
- Illustrate how often it is ticking
- Use hyphens for the morsecode
---------------------------------------------------------------------------------------------------
Version: 2.0.0
Date: 2025. 01. 14
Expand Down
4 changes: 2 additions & 2 deletions mods_2.0/053_greedy-inserter/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ script.on_event(defines.events.on_tick, function(event)
local struct = storage.structs[struct_id]
if struct then
game.get_player(1).create_local_flying_text{
text = "tick",
position = {struct.inserter.position.x + math.random() - 0.5, struct.inserter.position.y},
text = "-",
position = struct.inserter.position,
}
local tick_offset = states[struct.state](struct, event.tick)
game.print(string.format("%d %s %s +%d", event.tick, struct_id, struct.state, tick_offset))
Expand Down

0 comments on commit 3b827f0

Please sign in to comment.