daviscook477 / ONI-Mods

Mods for Oxygen Not Included
7 stars 31 forks source link

Automation pack fixes #7

Closed wideopenspaces closed 4 years ago

wideopenspaces commented 4 years ago

(This PR includes #2 and #4 from other contributors, as at least the kanim change was required to get the mod to load)

Banhi's Automation Pack release adds new logic components and capabilities, and specifically changes the method for adding a single logic input port, from:

GeneratedBuildings.RegisterLogicPorts(go, LogicOperationalController.INPUT_PORTS_0_1)

to

GeneratedBuildings.RegisterSingleLogicInputPort(go)

I have not yet placed these in-game as I'm at work 😈 but the game no longer crashes on startup with the mod install. I will test it working in-game sometime today.

daviscook477 commented 4 years ago

I'm going to just merge this and then do the cleanup