Fixes IC photovoltaic cells (#22956)

- bugfix: "Fixes solar cells producing 1.5% of their intended output.
This was caused by light levels now being between 0-1, not 0-100."
This commit is contained in:
FenodyreeAv
2026-07-29 16:21:59 +00:00
committed by GitHub
parent 101f3f6f3d
commit 5a8e771dc3
2 changed files with 8 additions and 1 deletions
@@ -24,7 +24,7 @@
origin_tech = list(TECH_POWER = 3, TECH_ENGINEERING = 3, TECH_DATA = 2)
spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
var/power_factor = 15
var/power_factor = 100 //Light levels are 0-1, this gives a range of 0-100W.
/obj/item/integrated_circuit/passive/power/solar_cell/make_energy()
var/turf/T = get_turf(src)
@@ -0,0 +1,7 @@
author: Fenodyree
delete-after: True
changes:
- bugfix: "Fixes solar cells producing 1.5% of their intended output. This was caused by light levels now being between 0-1, not 0-100."