1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-03-03 14:53:01 +02:00

Merge pull request #833 from plague006/remove/all-tech

Remove all-tech command
This commit is contained in:
Matthew 2019-02-28 17:21:24 -05:00 committed by GitHub
commit 6e5b1291a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,12 +71,6 @@ local function toggle_cheat_mode(_, player)
Game.player_print('Cheat mode set to ' .. tostring(player.cheat_mode))
end
--- Enables all researches for a player's force
local function all_tech(_, player)
player.force.research_all_technologies()
Game.player_print('Your force has been granted all technologies')
end
--- Promote someone to regular
local function add_regular(args)
local target_name = args['player']
@ -401,17 +395,6 @@ Command.add(
toggle_cheat_mode
)
Command.add(
'all-tech',
{
description = 'researches all technologies',
required_rank = Ranks.admin,
debug_only = true,
cheat_only = true
},
all_tech
)
Command.add(
'regular',
{