mirror of
https://github.com/Xevion/project-cybersyn.git
synced 2025-12-06 07:15:58 -06:00
removed hotkey
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.2.9
|
||||
Date: 2022-1-7
|
||||
Bugfixes:
|
||||
- Fixed a bug with deliveries sometimes failing to be removed
|
||||
- Updated flib dependency to the correct version
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.2.8
|
||||
Date: 2022-1-5
|
||||
Features:
|
||||
|
||||
@@ -20,11 +20,5 @@ data:extend({
|
||||
locked_slots_signal,
|
||||
missing_train_icon,
|
||||
lost_train_icon,
|
||||
nonempty_train_icon,
|
||||
{
|
||||
type = "custom-input",
|
||||
name = "cybersyn-toggle-planner",
|
||||
key_sequence = "",
|
||||
consuming = "game-only"
|
||||
}
|
||||
nonempty_train_icon
|
||||
})
|
||||
|
||||
@@ -28,9 +28,6 @@ cybersyn-stuck-train-time=After this many seconds from a train's dispatch, an al
|
||||
cybersyn-allow-cargo-in-depot=If checked, trains will be allowed to have cargo in depots; no alerts will be generated and the train will not be held. In addition, trains with orders to visit requester stations with "Inactivity condition" checked will wait for inactivity instead of waiting for empty cargo. Useful for creating train systems where depots handle excess cargo. For advanced users only.
|
||||
cybersyn-invert-sign=Flip the sign of the output of cybernetic combinators to be the same as it is in LTN or in earlier versions of Project Cybersyn.
|
||||
|
||||
[controls]
|
||||
cybersyn-toggle-planner=Toggle central planner
|
||||
|
||||
[item-name]
|
||||
cybersyn-combinator=Cybernetic combinator
|
||||
|
||||
|
||||
@@ -865,12 +865,6 @@ local function main()
|
||||
script.on_nth_tick(nil)
|
||||
end
|
||||
|
||||
script.on_event("cybersyn-toggle-planner", function(event)
|
||||
local setting = settings.global["cybersyn-enable-planner"]
|
||||
setting.value = not setting.value
|
||||
settings.global["cybersyn-enable-planner"] = setting
|
||||
end)
|
||||
|
||||
script.on_init(function()
|
||||
local setting = settings.global["cybersyn-invert-sign"]
|
||||
setting.value = false
|
||||
|
||||
Reference in New Issue
Block a user