1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Removed automatic research unlock from player_create

This commit is contained in:
Lynn 2018-12-08 22:36:17 +01:00
parent 7800fab345
commit 2b7d0d0890
4 changed files with 0 additions and 11 deletions

View File

@ -136,9 +136,6 @@ global.config = {
-- a flat health bonus to the player force
character_health_bonus = 1000000,
-- unlock all research by default, only useful when testing
unlock_all_research = true,
-- starts with a fully slotted power armor mk2
start_with_power_armor = true,

View File

@ -86,10 +86,6 @@ local function player_created(event)
force.character_inventory_slots_bonus = cheats.character_inventory_slots_bonus
force.character_running_speed_modifier = cheats.character_running_speed_modifier
force.character_health_bonus = cheats.character_health_bonus
if cheats.unlock_all_research then
force.research_all_technologies()
end
end
end

View File

@ -46,9 +46,6 @@ local Config = {
-- a flat health bonus to the player force
character_health_bonus = 1000000,
-- unlock all research by default, only useful when testing
unlock_all_research = true,
-- adds additional items to the player force when starting in addition to defined in start_items above
starting_items = {
{name = 'power-armor-mk2', count = 1},

View File

@ -34,7 +34,6 @@ function SetupPlayer.register(config)
redmew_cheats.character_inventory_slots_bonus = cheats.character_inventory_slots_bonus
redmew_cheats.character_running_speed_modifier = cheats.character_running_speed_modifier
redmew_cheats.character_health_bonus = cheats.character_health_bonus
redmew_cheats.unlock_all_research = cheats.unlock_all_research
if #cheats.starting_items > 0 then
redmew_cheats.starting_items = cheats.starting_items