From ade436f06f222d728a27bb25a1f12edc4cc19949 Mon Sep 17 00:00:00 2001 From: PreLeyZero Date: Wed, 6 Apr 2022 22:08:00 +0200 Subject: [PATCH] added lights to machines --- changelog.txt | 8 ++++++ prototypes/electronic/el_arc_furnace.lua | 6 +++++ prototypes/electronic/el_ki/el_ki_core.lua | 27 +++++++++++++++++++ prototypes/fusion/fu_fusor.lua | 11 ++++++++ prototypes/fusion/fu_laser.lua | 6 +++++ prototypes/fusion/fu_magnet.lua | 10 +++++++ prototypes/fusion/fu_plasma.lua | 6 +++++ prototypes/fusion/fu_reactor.lua | 17 ++++++++++++ .../fu_star_engine/fu_star_engine_core.lua | 6 +++++ prototypes/gravitation/gr_black_hole.lua | 10 +++++++ prototypes/gravitation/gr_white_hole.lua | 10 +++++++ 11 files changed, 117 insertions(+) diff --git a/changelog.txt b/changelog.txt index 904b314..4d069b8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,12 @@ --------------------------------------------------------------------------------------------------- +Version: 1.0.8 +Date: 6.4.2022 + Features: + - updated korean locale by x2605 + - added circuit connections to tank + - updated mod settings to be more organized and added some info + - added light effects to arc furnace, KI cores, star engine, Fusion reactors, White/Black hole and fu stage machines +--------------------------------------------------------------------------------------------------- Version: 1.0.7 Date: 6.4.2022 Features: diff --git a/prototypes/electronic/el_arc_furnace.lua b/prototypes/electronic/el_arc_furnace.lua index eedaa3c..57d3ce1 100644 --- a/prototypes/electronic/el_arc_furnace.lua +++ b/prototypes/electronic/el_arc_furnace.lua @@ -134,6 +134,12 @@ data:extend({ frame_count = 3, animation_speed = 0.2, shift = {0,-0.1} + }, + light = { + type = "basic", + intensity = 1, + size = 15, + color = {r=0.78 ,g=0.5 ,b=0.09 }, } } }, diff --git a/prototypes/electronic/el_ki/el_ki_core.lua b/prototypes/electronic/el_ki/el_ki_core.lua index a0b92db..56e9e1b 100644 --- a/prototypes/electronic/el_ki/el_ki_core.lua +++ b/prototypes/electronic/el_ki/el_ki_core.lua @@ -162,6 +162,15 @@ data:extend({ frame_count = 9, scale = 0.2, }, + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 15, + } + } + }, working_sound = { sound = { filename ='__base__/sound/nuclear-reactor-1.ogg'}, apparent_volume = 2.5, @@ -322,6 +331,15 @@ data:extend({ frame_count = 9, scale = 0.2, }, + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 15, + } + } + }, working_sound = { sound = { filename ='__base__/sound/nuclear-reactor-1.ogg'}, apparent_volume = 2.5, @@ -508,6 +526,15 @@ data:extend({ frame_count = 9, scale = 0.2, }, + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 15, + } + } + }, working_sound = { sound = { filename ='__base__/sound/nuclear-reactor-1.ogg'}, apparent_volume = 2.5, diff --git a/prototypes/fusion/fu_fusor.lua b/prototypes/fusion/fu_fusor.lua index 16ae9f4..1bda9ea 100644 --- a/prototypes/fusion/fu_fusor.lua +++ b/prototypes/fusion/fu_fusor.lua @@ -129,6 +129,17 @@ data:extend({ shift = {0,-1}, }, }, + + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 12, + color = {r=0.08 ,g=0.51 ,b=0.87 }, + } + } + }, working_sound = { sound = { filename = '__base__/sound/nuclear-reactor-1.ogg'}, diff --git a/prototypes/fusion/fu_laser.lua b/prototypes/fusion/fu_laser.lua index 13a0137..b5d8a23 100644 --- a/prototypes/fusion/fu_laser.lua +++ b/prototypes/fusion/fu_laser.lua @@ -127,6 +127,12 @@ data:extend({ frame_count = 3, animation_speed = 0.2, shift = {0,-0.3} + }, + light = { + type = "basic", + intensity = 1, + size = 15, + color = {r=0.87 ,g=0.25 ,b=0.08 }, } } }, diff --git a/prototypes/fusion/fu_magnet.lua b/prototypes/fusion/fu_magnet.lua index 179fd4a..0806811 100644 --- a/prototypes/fusion/fu_magnet.lua +++ b/prototypes/fusion/fu_magnet.lua @@ -147,6 +147,16 @@ data:extend({ shift = {0,-0.3} }, }, + + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 15 + } + } + }, working_sound = { sound = {filename = "__base__/sound/chemical-plant-3.ogg" }, diff --git a/prototypes/fusion/fu_plasma.lua b/prototypes/fusion/fu_plasma.lua index 3a73016..495dfb7 100644 --- a/prototypes/fusion/fu_plasma.lua +++ b/prototypes/fusion/fu_plasma.lua @@ -127,6 +127,12 @@ data:extend({ frame_count = 4, animation_speed = 0.2, shift = {0,-0.3} + }, + light = { + type = "basic", + intensity = 1, + size = 15, + color = {r=0.79 ,g=0.08 ,b=0.87 }, } } }, diff --git a/prototypes/fusion/fu_reactor.lua b/prototypes/fusion/fu_reactor.lua index b31ccf3..0c926a5 100644 --- a/prototypes/fusion/fu_reactor.lua +++ b/prototypes/fusion/fu_reactor.lua @@ -132,6 +132,12 @@ data:extend({ frame_count = 9, animation_speed = 0.3, shift = {2.4,-1.7} + }, + light = { + type = "basic", + intensity = 1, + size = 26, + color = {r=0.79 ,g=0.08 ,b=0.87 }, } } }, @@ -226,6 +232,17 @@ data:extend({ animation_speed = 0.3, shift = {2.4,-1.7} }, + + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 26, + color = {r=0.79 ,g=0.08 ,b=0.87 }, + } + } + }, working_sound = { sound = { filename = '__base__/sound/nuclear-reactor-1.ogg'}, diff --git a/prototypes/fusion/fu_star_engine/fu_star_engine_core.lua b/prototypes/fusion/fu_star_engine/fu_star_engine_core.lua index 93ed7ab..521bf4a 100644 --- a/prototypes/fusion/fu_star_engine/fu_star_engine_core.lua +++ b/prototypes/fusion/fu_star_engine/fu_star_engine_core.lua @@ -160,6 +160,12 @@ data:extend({ frame_count = 9, animation_speed = 0.3, shift = {0,2.6} + }, + light = { + type = "basic", + intensity = 1, + size = 24, + color = {r=0.87 ,g=0.64 ,b=0.08 }, } } }, diff --git a/prototypes/gravitation/gr_black_hole.lua b/prototypes/gravitation/gr_black_hole.lua index 93e3a0f..41060cd 100644 --- a/prototypes/gravitation/gr_black_hole.lua +++ b/prototypes/gravitation/gr_black_hole.lua @@ -73,6 +73,16 @@ data:extend({ animation_speed = 0.5, shift = {0,0.5} }, + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 18, + color = {r=0.08 ,g=0.70 ,b=0.87 }, + } + } + }, continuous_animation = true } }) diff --git a/prototypes/gravitation/gr_white_hole.lua b/prototypes/gravitation/gr_white_hole.lua index 865e8ca..8847c80 100644 --- a/prototypes/gravitation/gr_white_hole.lua +++ b/prototypes/gravitation/gr_white_hole.lua @@ -50,6 +50,16 @@ data:extend({ frame_count = 4, animation_speed = 0.1 }, + working_visualisations = { + { + light = { + type = "basic", + intensity = 1, + size = 18, + color = {r=0.08 ,g=0.70 ,b=0.87 }, + } + } + }, } })