This is a tiny workaround to fix the vanilla issue with engineers not using Construction URVs that are not marked available upon docking, or that fail to dock.
It works simply by having Engineers count Construction URVs that are in usage by the ship or station in which they work, regardless of whether the drones are marked available or unavailable.
_____
18.Feb.2015 - v0.04 is up!
3 updates in twenty minutes! Really should stop doing this until after I've gotten at least two pots of coffee in me.
Another slight change to improve compatibility. (Thanks, Marvin Martian!)
........
18.Feb.2015 - v0.03 is up!
Slightly changed the code resulting in slightly fatter code but much improved compatibility, better than that in v0.02. (Thanks, Marvin Martian!)
........
18.Feb.2015 - v0.02 is up!
Slightly changed the code resulting in slightly fatter code but much improved compatibility. (Thanks, Marvin Martian!)
_____
The mod, in its entirety, as of v0.04 is:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<add sel="/aiscript/attention/actions/do_if[@value='$repairratefactor == 0']">
<do_if value="($repairratefactor lt 1) and ($Defensible.units.{unitcategory.welder}.count ge 1)">
<set_value name="$repairratefactor" exact="$Defensible.units.{unitcategory.welder}.count" />
</do_if>
</add>
</diff>
_____
The file is available for download here:
http://www.nexusmods.com/xrebirth/mods/444/?
_____
Note on Compatibility: denison10 (angel618 on Steam) recently incorporated this code into his mod, Engineer 100%, with my permission. This effectively breaks compatibility between Engineer Drone Fix and Engineer 100%. Please do not install both of them at the same time.
This mod is current, but likely unnecessary, as of X:R 4.00
Compatible with X:R 3.61
Compatible with Windows, Linux, and Mac versions of X Rebirth.
_____
Check out my other mods for X Rebirth:
MarineRebalance,
BetterAutoAim,
SmalltalkHack,
Epic Capital Ship Shields,
Station Engineers,
Slightly More Useful Plot Station,
DockAllDrones,
Miscellaneous OOZ Combat Tweaks,
Miscellaneous IZ Combat Tweaks,
DifficultyHack