Resolve redundant config locals

This commit is contained in:
badgamernl
2020-09-03 02:04:39 +02:00
parent 58a23a901a
commit ecadbd6534

View File

@@ -3,36 +3,23 @@
local table = require 'overrides.table' --- @dep overrides.table local table = require 'overrides.table' --- @dep overrides.table
local ammo = 'ammo'
local fuel = 'fuel'
local shell = 'shell'
local car = 'car'
local tank = 'tank'
local spidertron = 'spidertron'
local locomotive = 'locomotive'
local gun_turret = 'gun-turret'
local burner_mining_drill = 'burner-mining-drill'
local stone_furnace = 'stone-furnace'
local steel_furnace = 'steel-furnace'
local config = { local config = {
-- General config -- General config
icon = 'item/piercing-rounds-magazine', --- @setting icon that will be used for the toolbar icon = 'item/piercing-rounds-magazine', --- @setting icon that will be used for the toolbar
categories = { categories = {
ammo = ammo, ammo = 'ammo',
fuel = fuel, fuel = 'fuel',
shell = shell shell = 'shell'
}, },
entities = { entities = {
car = car, car = 'car',
tank = tank, tank = 'tank',
spidertron = spidertron, spidertron = 'spidertron',
locomotive = locomotive, locomotive = 'locomotive',
gun_turret = gun_turret, gun_turret = 'gun-turret',
burner_mining_drill = burner_mining_drill, burner_mining_drill = 'burner-mining-drill',
stone_furnace = stone_furnace, stone_furnace = 'stone-furnace',
steel_furnace = steel_furnace steel_furnace = 'steel-furnace'
}, },
default_entities = {} default_entities = {}
} }