You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Vanilla Enhancement] Customize which parasite can remove by warhead (#2135)
In `rulesmd.ini`:
```ini
[SOMEWARHEAD] ; WarheadType
RemoveParasite.Allow= ; List of TechnoTypes
RemoveParasite.Disallow= ; List of TechnoTypes
```
---------
Co-authored-by: Noble_Fish <1065703286@qq.com>
Copy file name to clipboardExpand all lines: docs/New-or-Enhanced-Logics.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2644,11 +2644,15 @@ Due to the nature of some superweapon types, not all superweapons are suitable f
2644
2644
### Parasite removal
2645
2645
2646
2646
- By default if unit takes negative damage from a Warhead (before `Verses` are calculated), any parasites infecting it are removed and deleted. This behaviour can now be customized to disable the removal for negative damage, or enable it for any arbitrary warhead.
2647
+
-`RemoveParasite.Allow` can be used to define which parasites can be removed.
2648
+
-`RemoveParasite.Disallow` can be used to define which parasites cannot be removed.
- [SHP turret vehicles support the use of `*tur.shp` files](New-or-Enhanced-Logics.md#independent-shp-vehicle-turret-files) (by FlyStar)
553
553
- [Implement `CurleyShuffle` for AircraftTypes](Fixed-or-Improved-Logics.md#implement-curleyshuffle-for-aircrafttypes) (ported from Vinifera by Noble_Fish)
554
+
- Customize which parasite can remove by warhead (by NetsuNegi)
554
555
555
556
Vanilla fixes:
556
557
- Fixed sidebar not updating queued unit numbers when adding or removing units when the production is on hold (by CrimRecya)
0 commit comments