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] No rearm and reload in EMP or temporal #1471

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

  • Now you can make technos unable to rearm and reload when they are in EMP or locked by a temporal weapon. Defaults to [General] -> NoRearmInEMPState or NoRearmInTemporal.

In rulesmd.ini:

[General]
NoRearmInEMPState=false   ; boolean
NoRearmInTemporal=false   ; boolean

[SOMETECHNO]              ; TechnoType
NoRearmInEMPState=        ; boolean
NoRearmInTemporal=        ; boolean

Copy link

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.

@CrimRecya
Copy link
Contributor Author

Using a simple and crude method in Update to achieve the goal. This method can also be adapted to the digital display of the prompt ROF in the form of RearmTimer.GetTimeLeft() / ChargeTurretDelay. And there is also an uncertain idea about whether it is necessary to use AttachEffect to make more general-purpose functions?

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.

1 participant