mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user