Stranded: Alien Dawn

Stranded: Alien Dawn

220 个评价
No Idle Power Consumption
3
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
标签: Activities, Gameplay
文件大小
发表于
更新日期
502.896 KB
2023 年 8 月 12 日 上午 11:41
2024 年 2 月 3 日 上午 6:03
9 项改动说明 ( 查看 )

订阅以下载
No Idle Power Consumption

描述
Powered crafting, research and relaxation devices consume electricity only when in use. Also supports DLC's Surgical automaton.

Should work out of the box for modded devices too if they are added similar to vanilla ones.

When added to already started game, the existing devices need to be used once to become idle.

Buy Me a Coffee[buymeacoffee.com]
Paypal Support[paypal.me]
72 条留言
helfisk 7 月 21 日 上午 9:45 
I think there's an issue with Medical Bed's not having power / in "idle".
After I started using this mod, survivors seems to not wanting to automatically choose to go to the medical beds. They can still be ordered just fine though.

I have almost no lua experience, so I might be wrong, but think the issue lies with the code in "UnitMedicalBed.lua", line 56:
if not power_consumption or power_consumption <= 0 or patient and patient.require_treatment <= 0 then return end

If I'm on to something, would it be possible to solve by assigning some "trickle" idle value, like 1 or something?

Hope it's helpful - and that I'm not misidentifying the root cause
lukeh_ro  [作者] 6 月 1 日 上午 3:54 
that's a bit more complicated technically...
also, for turrets you have sensors to enable them only on need
son-goku 6 月 1 日 上午 3:08 
Can you add turrets to this? Kiind of weird that towers use that much energy when not being in use
lukeh_ro  [作者] 4 月 12 日 上午 6:02 
@jeypee, what errors? I'm using it and no errors...
send me a log maybe
2024 年 9 月 23 日 上午 8:17 
DLC 수술 치료 작동 안 함 😡
Flabby AP 2024 年 8 月 13 日 下午 4:43 
I'd think devices should still take some power when idling, maybe like 5 or 10% of their normal consumption?
WarriorsLegacy 2024 年 8 月 1 日 上午 11:24 
Love the mod as it makes a lot of sense. No person with limited power is going to leave a appliance on all the time. One problem ive seen is that the Automated surgical bed wont heal automatically though as when someone lays in it, they act like it has no power even when laying there to heal and simply wait for someone to give them first aid while laying in the bed. If you can find some way to fix this that would be awesome. Thank you.
lukeh_ro  [作者] 2024 年 7 月 17 日 上午 11:13 
Yeah, since I made this mod I don't use circuits for production devices. I still use them for turrets+motion sensors, lights+light sensors, heating+termostats...
Anotubus 2024 年 7 月 17 日 上午 5:00 
> I think I kind of reproduced it when the power was limited - as in not enough to turn on the device(s)

yeah, I forgot the furnaces were on a circuit, that was powering them down when the charge was <70%. I took them out of the circuit and the behavior stopped.
Basically the native power saving through circuits mechanic and this mod are competing entities with the same goal. So maybe excluding the devices (from the mod processing) with configured circuits that are on Low Battery Sensor - is a good idea. But I also imagine it is lot of work or even impassible. So at the very least you could add a warning in the mod description.
lukeh_ro  [作者] 2024 年 7 月 16 日 下午 9:38 
@Anotubus
I understand what you mean but I didn't notice this problem while playing and I had used two furnaces like that placed nearby.
I think I kind of reproduced it when the power was limited - as in not enough to turn on the device(s). So, when the furnace is on idle mode (but not enough power surplus to start it) the mod does see it as possibly working and brings resources to it; once it has resources there is not enough power to start the job and the resources may be transported somewhere else.
Could this be your situation too?
If so, I would think about it but not sure how I could handle it better. As you noticed this is not a core mechanic and a lot of tricks were needed in order to hook it into a very core functionality which is not easy...