New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom sell cursors #14364

Merged
merged 2 commits into from Nov 19, 2017

Conversation

Projects
None yet
3 participants
@pchote
Member

pchote commented Nov 15, 2017

Reimplements #14292 in a simpler/cleaner way.
Closes #14283.

Simple test case:

diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml
index 5434d0b8a6..fc1e8437df 100644
--- a/mods/ra/rules/defaults.yaml
+++ b/mods/ra/rules/defaults.yaml
@@ -281,6 +281,9 @@
        HitShape:
        EditorTilesetFilter:
                Categories: Vehicle
+       Sellable:
+               Cursor: sell2
+               SellSounds: cashturn.aud
 
 ^Tank:
        Inherits: ^Vehicle

@pchote pchote requested a review from MustaphaTR Nov 15, 2017

@MustaphaTR

👍

@pchote pchote added the PR: Needs +2 label Nov 15, 2017

@reaperrr reaperrr merged commit 4cbc2ee into OpenRA:bleed Nov 19, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@pchote pchote deleted the pchote:sell-cursor branch Apr 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment