Page 1 of 1
Light source
Posted: Mon Dec 08, 2014 10:13 am
by NightHawk
Hey, guys,
has anybody discovered a way to get lamps to stay on during day, or how to get a stable light source?
I've seen some prototypes using definiton:
Code: Select all
...
light = {
minimum_darkness = 0.3,
intensity = 0.4,
size = 25,
},
...
I've tried to use
minimum_darkness = 0 with lamp type entity with no effect.
For now I'm using explosion type entity with long empty animation, but this way I have to create new light source regularly, and energy consumption is inconsistent with light state.
Alternatively can you recommend me another base entity type with constant energy consumption?
Re: Light source
Posted: Mon Dec 08, 2014 12:31 pm
by L0771
you needs a light in the day?
Re: Light source
Posted: Mon Dec 08, 2014 3:00 pm
by NightHawk
Yes, I'd like to use it as an effect regardless of the daytime.
Plus I wanted to try to use it as an signal light - e.g. to connect it to some circuit network and have it light green if some condition is met, red otherwise. Now I realize would require swapping entities around for different type, since we can't change light color on entity, only in definition, right?
Re: Light source
Posted: Mon Dec 08, 2014 7:27 pm
by L0771
assembler machine? maybe you can make a new item without ingredients and without results XD This emits light when it work
Re: Light source
Posted: Wed Dec 10, 2014 11:09 am
by NightHawk
Thanks. Much better, but it's still not perfect - the assembling machine stops for a moment between after it finishes crafting and start another. How do I set recipe crafting time?
Re: Light source
Posted: Wed Dec 10, 2014 7:56 pm
by L0771
in energy_required in recipe.
I think 1 energy_required is 60 ticks = 1 second
... 416 energy is a day defends of crafting speed of assembler
Re: Light source
Posted: Wed Dec 10, 2014 9:01 pm
by berni1212
L0771 wrote:in energy_required in recipe.
I think 1 energy_required is 60 ticks = 1 second
... 416 energy is a day defends of crafting speed of assembler
IF you can make that with the Lights on at Day too can u make an SENSOR for the Trains ? then u can use the train to signalse a TRAiN IS COMMING NO CROSSING RAILS !
That would be sooo coool
Re: Light source
Posted: Wed Dec 10, 2014 9:38 pm
by L0771
I have no idea about trains and cars

Re: Light source
Posted: Sat Dec 13, 2014 1:22 pm
by NightHawk
L0771 wrote:in energy_required in recipe.
I think 1 energy_required is 60 ticks = 1 second
... 416 energy is a day defends of crafting speed of assembler
This will help a ton. Thanks.