-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Moved more traits to Mods.Common #7570
Conversation
5ca401e
to
ebcc8f8
Compare
@@ -67,8 +67,6 @@ Chrome: | |||
Assemblies: | |||
./mods/common/OpenRA.Mods.Common.dll | |||
./mods/ra/OpenRA.Mods.RA.dll | |||
./mods/cnc/OpenRA.Mods.Cnc.dll |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break the custom RA maps that port the Ion Cannon and other TD things into RA.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are quite a few on the resource center, unfortunately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So keep that DLL or move the Ion Cannon to Mods.Common?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My preference would be to keep the DLL for now, and then later replace the overly specific Ion Cannon and Nuke support powers with a more general "Fire an armament" power in mods.common (with their special missile / beam behaviour implemented as projectiles).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
Looks ok to me, didn't notice any regression in-game. 👍 Needs a rebase. |
Rebased. |
namespace OpenRA.Mods.RA.Scripting | ||
{ | ||
[ScriptPropertyGroup("Paradrop")] | ||
public class ParadropPowers : ScriptActorProperties, Requires<CargoInfo>, Requires<ParaDropInfo> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not familiar with how the Lua API works, but shouldn't this be called ParadropProperties
?
Either that or the file name needs to be changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with penev here, please rename for consistency, and then let's get this merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. Forgot about this one. Updated.
Looks good and noticed no issues on RA and TD shellmaps. 👍 |
Moved more traits to Mods.Common
Tried to see how far I could come regarding #7526.