Add Dune 2000 Saboteur Logic
In Dune 2000 Ordos Saboteurs can enter buildings. Destroys building and unlike RA2 C4's himself too. I wanna use this on Cuban Terrorists. Also D2K Saboteurs have a timed cloaking feature.
[InfantryType]
Saboteur=yes,no ;Is this unit a Saboteur.
Cloak.ChargeTime= ;Time before Saboteur can start cloak.
Cloak.DechargeTime= ;How long cloak last.
Pip=TimedCloak ;A vertical bar that looks like D2K saboteur.
[CombatDamage]
SaboteurWarhead= ;Defaults to Super. Warhead of Saboteur's explodives.
SaboteurDelay= ;Minutes to delay after Saboteur Enters building before building will explode.
[BuildingType]
ImmuneToSaboteurs: ;Can saboteurs enter this building, defaults to no.
Blueprint information
Whiteboard
Currently only the building destruction part is implemented, with Saboteur= and ImmuneToSaboteur=. The timed cloak feature is more difficult, as it touches deploy, pips and cloak.
[InfantryType]
Whether this infantry can blow up one sabotagable building. The building will be destroyed as if C4 was placed, and the Saboteur is consumed in this process. Requires Infiltrate=yes. Not supported together with vehicle hijacking, CanDrive=yes, C4 and Occupier=yes logics.
Sabotage does give the "enter" cursor, not the "sabotage" one. This cannot be changed easily without changing the implementation. The reason is that the unit is consumed by the process, like a spy, thief, or engineer.
[BuildingType]
Whether this building cannot be sabotaged. If yes, Saboteurs cannot enter this structure. By default, unbuildable occupiable structures cannot be sabotaged. This prevents saboteurs from blowing up civilian structures when selected in a group with occupiers.