UserAction particles: Add fire and ring particles

Also sort particle type list by name.
console-destruction
Sven Eberhardt 2016-08-27 17:45:01 -04:00
parent 0e3b1865ea
commit b339db9ea7
3 changed files with 8 additions and 2 deletions

View File

@ -161,14 +161,16 @@ func Definition(def)
FadeOut=true, FadeOut=true,
CollisionFunc="bounce" CollisionFunc="bounce"
}, { Type="proplist", Display="{{Amount}}x{{Name}}", EditorProps = { }, { Type="proplist", Display="{{Amount}}x{{Name}}", EditorProps = {
Name = { Name="$ParticleName$", EditorHelp="$ParticleNameHelp$", Type="enum", Priority=50, Options = [ Name = { Name="$ParticleName$", EditorHelp="$ParticleNameHelp$", Type="enum", Priority=50, Sorted=true, Options = [
{ Name="$Dust$", Value="Dust" }, { Name="$Dust$", Value="Dust" },
{ Name="$Flash$", Value="Flash" }, { Name="$Flash$", Value="Flash" },
{ Name="$Magic$", Value="Magic" }, { Name="$Magic$", Value="Magic" },
{ Name="$Smoke$", Value="Smoke" }, { Name="$Smoke$", Value="Smoke" },
{ Name="$Sphere$", Value="Sphere" }, { Name="$Sphere$", Value="Sphere" },
{ Name="$StarFlash$", Value="StarFlash" }, { Name="$StarFlash$", Value="StarFlash" },
{ Name="$StarSpark$", Value="StarSpark" } { Name="$StarSpark$", Value="StarSpark" },
{ Name="$Fire$", Value="MagicFire" },
{ Name="$Ring$", Value="MagicRing" }
] }, ] },
Position = new Evaluator.Position { EditorHelp="$CastObjectsPositionHelp$" }, Position = new Evaluator.Position { EditorHelp="$CastObjectsPositionHelp$" },
Amount = new Evaluator.Integer { Name="$Amount$", EditorHelp="$CastParticlesAmountHelp$" }, Amount = new Evaluator.Integer { Name="$Amount$", EditorHelp="$CastParticlesAmountHelp$" },

View File

@ -345,6 +345,8 @@ Smoke=Rauch
Sphere=Kreis Sphere=Kreis
StarFlash=Stern StarFlash=Stern
StarSpark=Sonne StarSpark=Sonne
Fire=Feuer
Ring=Ring
LastUsePosition=Aktivierungsposition LastUsePosition=Aktivierungsposition
LastUsePositionHelp=Fuer aktivierbare Gegenstaende wie den Zauberstab: Mausposition, an der der Spieler das Objekt aktiviert hat. LastUsePositionHelp=Fuer aktivierbare Gegenstaende wie den Zauberstab: Mausposition, an der der Spieler das Objekt aktiviert hat.
PlrKnowledge=Bauplan geben PlrKnowledge=Bauplan geben

View File

@ -345,6 +345,8 @@ Smoke=Smoke
Sphere=Sphere Sphere=Sphere
StarFlash=Star StarFlash=Star
StarSpark=Sun StarSpark=Sun
Fire=Fire
Ring=Ring
LastUsePosition=Activation position LastUsePosition=Activation position
LastUsePositionHelp=Valid for activated items such as the magic wand: Mouse position where the player activated the item. LastUsePositionHelp=Valid for activated items such as the magic wand: Mouse position where the player activated the item.
PlrKnowledge=Give knowledge PlrKnowledge=Give knowledge