forked from Crimso777/Factorio-Access
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
15,681 additions
and
10,878 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,71 @@ | ||
|
||
|
||
|
||
for name, proto in pairs(data.raw.container) do | ||
proto.open_sound = proto.open_sound or { filename = "__base__/sound/metallic-chest-open.ogg" , volume = 0.43 } | ||
proto.open_sound = proto.open_sound or { filename = "__base__/sound/metallic-chest-open.ogg", volume = 0.43 } | ||
proto.close_sound = proto.close_sound or { filename = "__base__/sound/metallic-chest-close.ogg", volume = 0.43 } | ||
end | ||
|
||
data.raw.character.character.has_belt_immunity = true | ||
|
||
for _,item in pairs(vanilla_tip_and_tricks_item_table) do | ||
remove_tip_and_tricks_item(item); | ||
for _, item in pairs(vanilla_tip_and_tricks_item_table) do | ||
remove_tip_and_tricks_item(item) | ||
end | ||
|
||
--Modifications to Kruise Kontrol inputs | ||
local alt_input = | ||
{ | ||
name = "klient-alt-move-to", | ||
type = "custom-input", | ||
key_sequence = "CONTROL + ALT + RIGHTBRACKET", | ||
consuming = "game-only" | ||
--Modifications to Kruise Kontrol inputs | ||
local alt_input = { | ||
name = "klient-alt-move-to", | ||
type = "custom-input", | ||
key_sequence = "CONTROL + ALT + RIGHTBRACKET", | ||
consuming = "game-only", | ||
} | ||
local cancel_enter = | ||
{ | ||
name = "klient-cancel-enter", | ||
type = "custom-input", | ||
linked_game_control = "toggle-driving", | ||
consuming = "none", | ||
key_sequence = "" | ||
local cancel_enter = { | ||
name = "klient-cancel-enter", | ||
type = "custom-input", | ||
linked_game_control = "toggle-driving", | ||
consuming = "none", | ||
key_sequence = "", | ||
} | ||
data:extend{alt_input, cancel_enter} | ||
data:extend({ alt_input, cancel_enter }) | ||
|
||
--Modifications to Pavement Driving Assist Continued inputs | ||
data:extend({ | ||
{ | ||
type = "custom-input", | ||
name = "toggle_drive_assistant", | ||
key_sequence = "L", | ||
consuming = "game-only" | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "toggle_cruise_control", | ||
key_sequence = "O", | ||
consuming = "game-only" | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "set_cruise_control_limit", | ||
key_sequence = "CONTROL + O", | ||
consuming = "game-only" | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "confirm_set_cruise_control_limit", | ||
key_sequence = "", | ||
linked_game_control = "confirm-gui" | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "toggle_drive_assistant", | ||
key_sequence = "L", | ||
consuming = "game-only", | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "toggle_cruise_control", | ||
key_sequence = "O", | ||
consuming = "game-only", | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "set_cruise_control_limit", | ||
key_sequence = "CONTROL + O", | ||
consuming = "game-only", | ||
}, | ||
{ | ||
type = "custom-input", | ||
name = "confirm_set_cruise_control_limit", | ||
key_sequence = "", | ||
linked_game_control = "confirm-gui", | ||
}, | ||
}) | ||
|
||
--Modify base prototypes to remove their default descriptions | ||
for name, pack in pairs(data.raw.tool) do | ||
if pack.localised_description and pack.localised_description[1] == "item-description.science-pack" then | ||
pack.localised_description = nil | ||
--Modify base prototypes to remove their default descriptions | ||
for name, pack in pairs(data.raw.tool) do | ||
if pack.localised_description and pack.localised_description[1] == "item-description.science-pack" then | ||
pack.localised_description = nil | ||
end | ||
end | ||
|
||
for name, mod in pairs(data.raw.module) do | ||
if mod.localised_description and mod.localised_description[1] == "item-description.effectivity-module" | ||
or mod.localised_description and mod.localised_description[1] == "item-description.productivity-module" | ||
or mod.localised_description and mod.localised_description[1] == "item-description.speed-module" then | ||
mod.localised_description = nil | ||
for name, mod in pairs(data.raw.module) do | ||
if | ||
mod.localised_description and mod.localised_description[1] == "item-description.effectivity-module" | ||
or mod.localised_description and mod.localised_description[1] == "item-description.productivity-module" | ||
or mod.localised_description and mod.localised_description[1] == "item-description.speed-module" | ||
then | ||
mod.localised_description = nil | ||
end | ||
end | ||
|
||
end |
Oops, something went wrong.