Anuken / Mindustry-Suggestions

Repository for Mindustry suggestions and feedback
129 stars 58 forks source link

Add @payload to sensor to get payload itself (not type or etc.) #5151

Closed StesNiash closed 1 month ago

StesNiash commented 1 month ago

Describe the content or mechanics you are proposing.

Add @payload to sensor block in logic that will return payload that in unit/block Access them through an index (0 - N), so that you can interact with certain ones, and not just the last one

So logic block will look like "myPayload sensor @payload @unit 0" and it will return first payload in unit

Describe how you think this content will improve the game. If you're proposing new content, mention how it may add more gameplay options or how it will fill a new niche.

this is allow some advanced logic things like better transpporting with megas and better attacking ais

Before making this issue, check the boxes below to confirm that you have acknowledged them.

github-actions[bot] commented 1 month ago

This suggestion is now stale, and will be automatically closed.