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:
parent
7800fab345
commit
2b7d0d0890
@ -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,
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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},
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user