From 6c1d14c6ed5c30bff8d3521e577cb76dca9d9c9f Mon Sep 17 00:00:00 2001 From: Zandor Smith <info@zsinfo.nl> Date: Mon, 8 Oct 2018 20:19:08 +0200 Subject: [PATCH] Main files. --- .tags | 14 ++++++++++++++ data.lua | 43 +++++++++++++++++++++++++++++++++++++++++++ info.json | 10 ++++++++++ 3 files changed, 67 insertions(+) create mode 100644 .tags create mode 100644 data.lua create mode 100644 info.json diff --git a/.tags b/.tags new file mode 100644 index 0000000..e29393c --- /dev/null +++ b/.tags @@ -0,0 +1,14 @@ +!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ +!_TAG_FILE_SORTED 0 /0=unsorted, 1=sorted, 2=foldcase/ +!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ +!_TAG_PROGRAM_NAME Exuberant Ctags // +!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ +!_TAG_PROGRAM_VERSION 5.8 // +name E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "name": "arumbalights",$/;" function line:2 +version E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "version": "0.14.2",$/;" function line:3 +factorio_version E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "factorio_version": "0.14",$/;" function line:4 +title E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "title": "Arumba Lights",$/;" function line:5 +author E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "author": "Arumba",$/;" function line:6 +homepage E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "homepage": "",$/;" function line:7 +dependencies E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "dependencies": ["base"],$/;" function line:8 +description E:\Games\Factorio_Web\mods\mods.devel\arumbalights_0.14.2\info.json /^ "description": "Significantly boosts player and vehicle light radius for better viewing on YouTube"$/;" function line:9 diff --git a/data.lua b/data.lua new file mode 100644 index 0000000..76922f0 --- /dev/null +++ b/data.lua @@ -0,0 +1,43 @@ +data.raw["player"]["player"].light = +{ + { + intensity = 0.9, + size = 150, + } +} +for _, vehicle in pairs(data.raw["car"]) do + vehicle.light = + { + { + intensity = 0.9, + size = 150 + } + } +end + +for _, loco in pairs(data.raw["locomotive"]) do + loco.front_light = + { + { + intensity = 0.9, + size = 150, + }, + { + intensity = 0.9, + size = 150, + } + } + loco.stand_by_light = + { + { + color = {b=1}, + shift = {-0.6, -3.5}, + size = 2, + intensity = 0.5 + }, + { + intensity = 0.9, + size = 60, + } + } +end diff --git a/info.json b/info.json new file mode 100644 index 0000000..d0fca7b --- /dev/null +++ b/info.json @@ -0,0 +1,10 @@ +{ + "name": "lightingboost", + "version": "0.1", + "factorio_version": "0.16", + "title": "Lighting Boost", + "author": "Zandor300", + "homepage": "", + "dependencies": ["base"], + "description": "Significantly boosts player and vehicle light radius." +} -- GitLab