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

[Customized] Undeploy building on impact #1468

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

@CrimRecya CrimRecya commented Dec 28, 2024

  • Warheads with BuildingSell can now sell buildings with build up image. It has a higher priority than BuildingUndeploy.
  • Warheads with BuildingUndeploy can now undeploy buildings with UndeploysInto.
    • BuildingUndeploy.Leave controls whether need to let them move to low threat locations nearby. The threat degree here is calculated using the technos' cost. If a nearby techno has no primary weapons or is owned by your allies, it will not be included.

In rulesmd.ini:

[SOMEWARHEAD]                  ; Warhead
BuildingSell=false             ; boolean
BuildingUndeploy=false         ; boolean
BuildingUndeploy.Leave=false   ; boolean

Copy link

github-actions bot commented Dec 28, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Coronia
Copy link
Contributor

Coronia commented Jan 15, 2025

For more generic usage I would suggest to make it also support selling a building when impact. Shouldn't take much effort to edit with the base of current implementation.

@CrimRecya
Copy link
Contributor Author

For more generic usage I would suggest to make it also support selling a building when impact. Shouldn't take much effort to edit with the base of current implementation.

Thank you for your suggestions. I will update it later.

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.

3 participants