AutoDeath based on player power status and player credits#2276
Open
Flactine wants to merge 13 commits into
Open
AutoDeath based on player power status and player credits#2276Flactine wants to merge 13 commits into
Flactine wants to merge 13 commits into
Conversation
|
To Chinese users:
|
|
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. |
TaranDahl
approved these changes
Jun 29, 2026
Contributor
|
Note: You can use AI skill for generating Chinese docs. |
TaranDahl
reviewed
Jun 29, 2026
Coronia
reviewed
Jun 29, 2026
Coronia
left a comment
Contributor
There was a problem hiding this comment.
would be better to rename the tag to none/low/full since it's been widely used in many places already
TaranDahl
reviewed
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add new auto-death conditions based on the owner's power status and credits.
PlayerPowerStatus: The object will die if its owner's power status matches the configured state.low/consumer: Trigger when the owner is in low power.normal: Trigger when the owner is not in low power.PlayerMoney.Max/PlayerMoney.Min: The object will die based on the owner's available credits.PlayerMoney.Maxis set, triggers when money is not above this value.PlayerMoney.Minis set, triggers when money is not below this value.PlayerPowerStatus:当对象所属方的电力状态符合设定条件时,则对象死亡。low/consumer:当对象所属方处于电力不足状态时触发。normal:当对象所属方未处于电力不足状态时触发。PlayerMoney.Max/PlayerMoney.Min:根据对象所属方的资金决定对象是否死亡。PlayerMoney.Max时,当资金不高于该值时触发。PlayerMoney.Min时,当资金不低于该值时触发。In
rulesmd.ini: