Added setings left container

- Changed toolbar button to left flow toggle;
- Added Ammo section;
- Added Fuel section;
- Added default config settings;
- Added autofill item toggle button and textboxes;
This commit is contained in:
badgamernl
2020-08-19 01:35:03 +02:00
parent 0900fe13ea
commit c2ea0bf590
3 changed files with 150 additions and 17 deletions

View File

@@ -4,4 +4,42 @@
return {
-- General config
icon = 'item/piercing-rounds-magazine', --- @setting icon that will be used for the toolbar
default_settings = {
{
type = 'ammo',
item = 'uranium-rounds-magazine',
amount = 100,
enabled = false
},
{
type = 'ammo',
item = 'piercing-rounds-magazine',
amount = 100,
enabled = false
},
{
type = 'ammo',
item = 'firearm-magazine',
amount = 100,
enabled = false
},
{
type = 'fuel',
item = 'nuclear-fuel',
amount = 100,
enabled = false
},
{
type = 'fuel',
item = 'solid-fuel',
amount = 100,
enabled = false
},
{
type = 'fuel',
item = 'coal',
amount = 100,
enabled = false
}
}
}