Script action for repairing destroyed bridges - #791
Open
FS-21 wants to merge 41 commits into
Open
Conversation
With the Bridge validation check
Now the script action argument can be used to select a mode: 0: Closest Repair Hut with destroyed bridge. 1: Farthest Repair Hut with destroyed bridge. -1: Random Repair Hut with destroyed bridge. Important: now Engineers will pick only Repair Huts that can be reached.
Now is the action 10104 and added documentation.
…ion-repair-destroyed-bridge
|
Nightly build for this pull request:
|
chaserli
reviewed
Jan 16, 2023
Starkku
force-pushed
the
develop
branch
2 times, most recently
from
June 3, 2023 10:14
aae92fd to
a32076e
Compare
Script action number moved from 10104 to 10105.
Contributor
Author
|
Internal rewrite of the feature. Thanks to Starkku I don't need to do a pathfinding routine, simplifying the code doing the same. |
|
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. |
…ion-repair-destroyed-bridge
…ion-repair-destroyed-bridge
It is big enough. Also removed the struct MapPathCellElement because it was from an older obsolete feature.
DeathFishAtEase
force-pushed
the
develop
branch
from
February 28, 2025 16:36
2128644 to
799ea22
Compare
TaranDahl
approved these changes
Mar 20, 2025
Starkku
force-pushed
the
develop
branch
2 times, most recently
from
June 29, 2025 19:13
b429215 to
280b1c8
Compare
…/script-action-repair-destroyed-bridge
…em to the corresponding locations in the document
DeathFishAtEase
force-pushed
the
feature/script-action-repair-destroyed-bridge
branch
from
December 21, 2025 14:35
c1b444d to
6ee3115
Compare
…ion-repair-destroyed-bridge
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.
In aimd.ini:
[SOMESCRIPTTYPE] ; ScriptType
x=10105,n ; integer, mode for selecting Bridge Repair Huts
0 -> Pick the closest
1 -> Pick the Farthest
-1 -> Pick Random