update developer commentary

for weapon traits, crates and palettes
clarify that you don't need to update the wiki page manually
This commit is contained in:
Matthias Mailänder
2013-03-27 08:22:07 +01:00
parent fc1a3f9916
commit a682670b97
22 changed files with 63 additions and 17 deletions

View File

@@ -9,13 +9,15 @@
#endregion
using System.Linq;
using OpenRA.FileFormats;
using OpenRA.Traits;
namespace OpenRA.Mods.RA
{
public class ConquestVictoryConditionsInfo : ITraitInfo
{
public int NotificationDelay = 1500; // Milliseconds
[Desc("Milliseconds")]
public int NotificationDelay = 1500;
public object Create(ActorInitializer init) { return new ConquestVictoryConditions(this); }
}
@@ -85,13 +87,11 @@ namespace OpenRA.Mods.RA
}
}
/* tag trait for things that must be destroyed for a short game to end */
[Desc("Tag trait for things that must be destroyed for a short game to end.")]
public class MustBeDestroyedInfo : TraitInfo<MustBeDestroyed> { }
public class MustBeDestroyed { }
// Provides game mode information for players/observers
// Goes on WorldActor - observers don't have a player it can live on
[Desc("Provides game mode information for players/observers. Goes on WorldActor - observers don't have a player it can live on.")]
public class ConquestObjectivesPanelInfo : ITraitInfo
{
public string ObjectivesPanel = null;