Enforce stricter resource API
This commit is contained in:
committed by
Matthias Mailänder
parent
7779d0c27c
commit
5aa7ee43db
@@ -22,8 +22,8 @@ namespace OpenRA.Mods.Common.Warheads
|
||||
[Desc("Size of the area. The resources are removed within this area.", "Provide 2 values for a ring effect (outer/inner).")]
|
||||
public readonly int[] Size = [0, 0];
|
||||
|
||||
[Desc("Amount of resources to be removed. If negative or zero, all resources within the area will be removed.")]
|
||||
public readonly int ResourceAmount = 0;
|
||||
[Desc("Amount of resources to be removed. If zero, all resources within the area will be removed.")]
|
||||
public readonly byte ResourceAmount = 0;
|
||||
|
||||
[Desc("Resource types to remove with this warhead.", "If empty, all resource types will be removed.")]
|
||||
public readonly HashSet<string> ResourceTypes = [];
|
||||
|
||||
Reference in New Issue
Block a user