Anuken / Mindustry-Suggestions

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

Let "texture marker" could draw any texture. #5176

Closed CutePillow closed 3 months ago

CutePillow commented 3 months ago

Describe the content or mechanics you are proposing.

Let the "texture" in "Set marker" in world-processor could draw any texture in game. It can only draw such like "@blast-drill" but can't draw a "@blast-drill-top" now.

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 will let world-processor do more interesting things.

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

camelStyleUser commented 3 months ago

wdym it can draw a "blast-drill-top"

camelStyleUser commented 3 months ago

@blast-drill-top is not a real builtin content constant though

camelStyleUser commented 3 months ago

millions must string

CutePillow commented 3 months ago

wdym it can draw a "blast-drill-top"

Screenshot_2024-08-21-14-58-14-749_com github tinylake mindustryX be Screenshot_2024-08-21-14-58-18-845_com github tinylake mindustryX be If I write like the first picture,it can only draw like the second picture. It can't draw the part of the drill bit in this example.

ApsZoldat commented 3 months ago

It should work if you pass "blast-drill-top" instead of @blast-drill-top as argument.

This instruction actually requires a string argument, when you use @blast-drill game just converts a block type to string by getting block's name. And there's no such block as @blast-drill-top, obviously. At least this is how i rememeber it should work, let's pretend i didn't write the code of markers myself and then forget how it actually works later.

CutePillow commented 3 months ago

It should work if you pass "blast-drill-top" instead of @blast-drill-top as argument.

This instruction actually requires a string argument, when you use @blast-drill game just converts a block type to string by getting block's name. And there's no such block as @blast-drill-top, obviously. At least this is how i rememeber it should work, let's pretend i didn't write the code of markers myself and then forget how it actually works later.

Oh, I'm sorry to disturb you because of my misunderstanding.

ApsZoldat commented 3 months ago

Oh, don't feel sorry for this, i'm glad to explain something that can be counter-intuitive, especially since i was the one who added this feature through a PR and wrote those setmarker tooltips