Add a lint check for cursor definitions.
This commit is contained in:
committed by
reaperrr
parent
cefb2e7cc6
commit
bbbed49f82
@@ -20,9 +20,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Add to a building to expose a move cursor that triggers Transforms and issues an enter tunnel order to the transformed actor.")]
|
||||
public class TransformsIntoEntersTunnelsInfo : ConditionalTraitInfo, Requires<TransformsInfo>
|
||||
{
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when able to enter target tunnel.")]
|
||||
public readonly string EnterCursor = "enter";
|
||||
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when unable to enter target tunnel.")]
|
||||
public readonly string EnterBlockedCursor = "enter-blocked";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user