From a4e319b9d2a74aa49469069abb26d016751e8b47 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 25 Jun 2011 17:40:34 +1200 Subject: [PATCH] Define a specific harvest cursor. Use attack for cnc harvest. --- OpenRA.Mods.RA/Harvester.cs | 2 +- mods/cnc/cursors.yaml | 10 ++++++++++ mods/ra/cursors.yaml | 10 ++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/OpenRA.Mods.RA/Harvester.cs b/OpenRA.Mods.RA/Harvester.cs index 044378a38e..2df3b0c3a0 100644 --- a/OpenRA.Mods.RA/Harvester.cs +++ b/OpenRA.Mods.RA/Harvester.cs @@ -233,7 +233,7 @@ namespace OpenRA.Mods.RA if( res == null ) return false; if( !info.Resources.Contains( res.info.Name ) ) return false; - cursor = "attackmove"; + cursor = "harvest"; IsQueued = forceQueued; return true; diff --git a/mods/cnc/cursors.yaml b/mods/cnc/cursors.yaml index 7bcd0de4e1..a566ef647b 100644 --- a/mods/cnc/cursors.yaml +++ b/mods/cnc/cursors.yaml @@ -98,6 +98,16 @@ Cursors: length:8 x:12 y:12 + harvest: + start:18 + length:8 + x:12 + y:12 + harvest-minimap: + start:140 + length:8 + x:12 + y:12 enter: start:119 length:3 diff --git a/mods/ra/cursors.yaml b/mods/ra/cursors.yaml index 4f295e39dc..24842a8825 100644 --- a/mods/ra/cursors.yaml +++ b/mods/ra/cursors.yaml @@ -119,6 +119,16 @@ Cursors: length: 8 x: 12 y: 12 + harvest: + start:21 + length: 8 + x: 12 + y: 12 + harvest-minimap: + start:134 + length: 8 + x: 12 + y: 12 enter: start:113 length: 3