From 3410fa2dd0a83b925ba36841cd7589ec63e1a5c4 Mon Sep 17 00:00:00 2001 From: Matthew Heguy Date: Thu, 28 Feb 2019 14:48:08 -0500 Subject: [PATCH] Remove all-tech command --- features/admin_commands.lua | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/features/admin_commands.lua b/features/admin_commands.lua index 251f7fb7..0ce26d13 100644 --- a/features/admin_commands.lua +++ b/features/admin_commands.lua @@ -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'] @@ -403,17 +397,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', {