Skip to content

Comments

Diggy: add blueprint tools#1548

Merged
RedRafe merged 6 commits intoRefactorio:developfrom
RedRafe:updates/diggy
Feb 20, 2026
Merged

Diggy: add blueprint tools#1548
RedRafe merged 6 commits intoRefactorio:developfrom
RedRafe:updates/diggy

Conversation

@RedRafe
Copy link
Contributor

@RedRafe RedRafe commented Feb 19, 2026

This PR adds Blueprint tools for Diggy scenario.

Context & feature explanation

Support beams (tiles and special entities) cannot be marked for deconstruction by default (antigrief/safety feature)
Regulars and above will have access to this new feature to turn On/Off the safety measure however they prefer.
The feature will automatically popup whenever the player is about to perform a "blueprint action", which is:

  • using a blueprint record
  • using a blueprint book
  • setting up a blueprint from map
  • holding a blueprintable item-entity in hand

Players can:

  • turn On/Off the safety measure all together
  • turn On/Off tiles in bulk
  • Show/Hide the popup window (from this window or RedMew "Settings > Show blueprint tools")
  • turn On/Off individual entities

Here's a quick demo that goes through the various settings/cases:

Demo video

Changes:

  • moved support beams definition from presets to template
  • moved on_marked_for_deconstruction handler from diggy_cave_collapse to BP Tool module
  • BP Tool is now responsible for the antigrief feature all together

Arguably, diggy_cave_collapse module could force require this module or I could have included this logic in diggy_cave_collapse to begin with, but I thought if would have been cleaner to detach the antigrief/tool logic on its own module as it handles a lot of Gui events rather than game actions.

@RedRafe
Copy link
Contributor Author

RedRafe commented Feb 19, 2026

I solved the edge case of demotion with player still being able to still decon stuff, fixed it and tested it again.

I also implemented a quick admin GUI /blueprint-tools that lists all the players' settings and can act as a master toggle for them (per-entity mask is included as well, On/Off switch should be enough to quiet any doubt) .

This command is available to Moderators+ as per new rank system

Screenshot from 2026-02-19 23-57-40

From MP game (obviously everything is On since nobody hasnt played with it yet)

Screenshot from 2026-02-20 10-05-03

Copy link
Collaborator

@grilledham grilledham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@RedRafe RedRafe merged commit 56c5d25 into Refactorio:develop Feb 20, 2026
1 check passed
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.

2 participants