Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building structures on top of structures queued for removal #3767

Conversation

past-due
Copy link
Member

@past-due past-due commented Apr 27, 2024

To enable the common script pattern of removeObject+addStructure to upgrade on-map structures.

Example: camUpgradeOnMapStructures in Fractured Kingdom: https://github.com/DARwins1/fractured-kingdom/blob/1a547e4fe642434a144d2d8ee78953d1955d6bf9/script/campaign/libcampaign_includes/production.js#L373-L385

src/wzapi.cpp Outdated Show resolved Hide resolved
Copy link
Member

@ManManson ManManson left a comment

Choose a reason for hiding this comment

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

Have a single nitpick, otherwise looks good!

To enable the common script pattern of removeObject+addStructure to upgrade on-map structures.
@past-due past-due force-pushed the 2024_04_further_script_object_removal_improvements_1 branch from 61d4044 to 5896640 Compare April 27, 2024 19:10
@past-due past-due merged commit 53301e1 into Warzone2100:master Apr 27, 2024
30 checks passed
@past-due past-due deleted the 2024_04_further_script_object_removal_improvements_1 branch April 27, 2024 19:38
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