Ticket #41539

Extra rmreqs to enabler.

Open Date: 2021-02-10 19:51 Last Update: 2024-08-17 20:11

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

All rmreqs using actions are now enabler controlled. This should allow moving the requirements to the action enabler.

Ticket History (3/8 Histories)

2021-02-10 19:51 Updated by: kvilhaugsvik
  • New Ticket "Extra rmreqs to enabler." created
2021-02-10 20:45 Updated by: kvilhaugsvik
Comment

It isn't that simple. We can't specify what extra an enabler is about at the moment. (The local range of an extra requirements means "on this tile".)

2021-11-10 11:03 Updated by: cazfi
Comment

Reply To kvilhaugsvik

It isn't that simple. We can't specify what extra an enabler is about at the moment. (The local range of an extra requirements means "on this tile".)

I think this ticket would be impossible to implement in 3.1, and I don't think lack of it really breaks anything. Retargeting to 3.2.

2022-02-08 07:53 Updated by: alienvalkyrie
Comment

Reply To kvilhaugsvik

It isn't that simple. We can't specify what extra an enabler is about at the moment. (The local range of an extra requirements means "on this tile".)

There is now #43808 for this.

2023-09-07 02:07 Updated by: cazfi
Comment

Reply To alienvalkyrie

Reply To kvilhaugsvik

It isn't that simple. We can't specify what extra an enabler is about at the moment. (The local range of an extra requirements means "on this tile".)

There is now #43808 for this.

So that blocker is cleared from S3_2 and later.

2024-08-17 09:45 Updated by: cazfi
Comment

Reply To cazfi

and I don't think lack of it really breaks anything.

I still don't see why we would want to do this, even if it would now be possible -> not considering critical for 3.2.

2024-08-17 19:52 Updated by: alienvalkyrie
Comment

Reply To cazfi

I still don't see why we would want to do this

I do like the idea of unifying things, trimming unnecessary parts (and potential sources of bugs) from the code.

What I'm not happy about (and the main reason I didn't pick this up right after #43808 was done) is the quadratic (well, rectangular?) blowup in enablers that rulesets might need (and that rscompat needs to create) if a single remove action has both multiple different enablers, and removes multiple different extras with different rmreqs. I'm not convinced saddling ruleset authors with that is a good idea; we might want to at least keep rmreqs in place until we can replace it with a different (better) two-layer solution ruleset-side.

2024-08-17 20:11 Updated by: cazfi
Comment

Reply To alienvalkyrie

Reply To cazfi

I still don't see why we would want to do this

I do like the idea of unifying things, trimming unnecessary parts (and potential sources of bugs) from the code.

Yea, if this would allow deprecating extra rmreqs completely. But seems to me that we still need both ways to express things, and this ticket is only about changing how supplied rulesets are implemented wrt extra removal actions.

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login