Page 1 of 1

Energy usage of custom lamps

Posted: Thu Feb 13, 2014 6:25 am
by immibis
Is there a way to change the amount of power used by a lamp type?
The small lamps have:

Code: Select all

energy_usage_per_tick = 0.1
but changing this doesn't do anything.

I also tried adding:

Code: Select all

energy_usage = "250W",
just in case that was it (it's not).

Re: Energy usage of custom lamps

Posted: Thu Feb 13, 2014 10:38 pm
by slpwnd
The energy_usage_per_tick is the correct field. I tested it and works as expected (at least in 0.9). The only trick is that during the day the lamps take just some standby energy (1/30 of regular consumption).

Re: Energy usage of custom lamps

Posted: Fri Feb 14, 2014 4:43 am
by immibis
Okay, I'm just stupid.

Somehow I thought small lamps use 60W, and adding

Code: Select all

energy_usage_per_tick = 1.0,
makes it 60W (1 J/t * 60 t/s), so I thought it didn't do anything.

Re: Energy usage of custom lamps

Posted: Fri Feb 14, 2014 11:04 am
by kovarex
Note, that for 0.9, the energy definition will be standartised.
So instead of 0.1 (energy per tick), it has to be "6W"