Page 1 of 1

issues on BlueprintEntity and related types [2]

Posted: Tue Oct 14, 2025 1:57 pm
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.

Re: issues on BlueprintEntity and related types [2]

Posted: Thu Oct 16, 2025 3:40 pm
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 63 times