Skip to content

Controller MCL support#15

Open
CodingMantisUA wants to merge 1 commit into
LunaSquee:masterfrom
CodingMantisUA:controller-mcl-support
Open

Controller MCL support#15
CodingMantisUA wants to merge 1 commit into
LunaSquee:masterfrom
CodingMantisUA:controller-mcl-support

Conversation

@CodingMantisUA

Copy link
Copy Markdown
Contributor

Added MCL-family specific fields. Added dropping of inventory on controller braking. Explosion support. Hopper support. Screwdriver support.
Added mesecon support for VL. Now comparator emits redstone signal, if inventory is non empty. MCLA has their own redstone implementation, and it does not provide API.
Look at it as a template to add support for other nodes in the future. I made apply_controller_game_fields function to fill definition with game specific fields/methods.
Given that it's hard to differentiate between VL and MCLA, I think I won't differentiate between them much. Unless it is actively harmful.
If general principal is OK, I'll move apply same to other nodes.

While on the subject of compatibility, do you have thoughts on material compatibility? Given that MTG is not developed any more, most of new features won't be available there. Should I convert definitions to be MCL first and derive MTG values from there? Seems like there are no derived mods yet.

@CodingMantisUA CodingMantisUA force-pushed the controller-mcl-support branch from da8b4cb to aa5694f Compare June 12, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant