issues on BlueprintEntity and related types [2]

User avatar
BrainGamer_
Fast Inserter
Fast Inserter
Posts: 108
Joined: Sun Nov 14, 2021 9:52 pm
Contact:

issues on BlueprintEntity and related types [2]

Post by BrainGamer_ »

I ran across another couple of doc issues in continuation of 131291.

LampBlueprintControlBehavior:
use_colors: boolean? - defaults to ??
color_mode: defines.control_behavior.lamp.color_mode? - defaults to color_mapping
red_signal: SignalID?
green_signal: SignalID?
blue_signal: SignalID?
rgb_signal: SignalID?

circuit_enabled: boolean? - defaults to false
circuit_condition: CircuitCondition?
connect_to_logistic_network: boolean? - defaults to false
logistic_condition: CircuitCondition?

The last 4 are used on a bunch of *BlueprintControlBehavior variants, so it could make sense to make it similar to the Lua*ControlBehavior variants by having a GenericOnOffBlueprintControlBehavior that the corresponding other *BlueprintControlBehavior types then extend from.
Which would effectively remove or rather rename PowerSwitchBlueprintControlBehavior.
Bilka
Factorio Staff
Factorio Staff
Posts: 3665
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: issues on BlueprintEntity and related types [2]

Post by Bilka »

Thanks for the detailed notes! I've adjusted the docs for the next doc release. I've also added LoaderBlueprintControlBehavior:
firefox_Iobn45YZ2w.png
firefox_Iobn45YZ2w.png (26.25 KiB) Viewed 55 times
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”