Add editor prop for neutral flagpoles

directional-lights
Sven Eberhardt 2016-11-19 21:16:31 -05:00
parent 8ac9a1e2bf
commit 4a31ce0fd8
3 changed files with 15 additions and 0 deletions

View File

@ -109,6 +109,17 @@ public func SaveScenarioObject(props)
return true;
}
/* Editor */
public func Definition(def, ...)
{
_inherited(def, ...);
if (!def.EditorProps) def.EditorProps = {};
def.EditorProps.neutral = { Name="$Neutral$", EditorHelp="$NeutralHelp$", Set="SetNeutral", Type="bool" };
}
/*-- Properties --*/
local Name = "$Name$";

View File

@ -3,3 +3,5 @@ NameNeutral=Respawn
Description=Markiert dein Herrschaftsgebiet, in dem du in Gebäuden Gegenstände kaufen kannst.
MsgBuy=Einkaufen
YourWealth=Dein Kontostand
Neutral=Neutral
NeutralHelp=Neutrale Flaggen sind Respawnpunkte fuer alle Spieler.

View File

@ -3,3 +3,5 @@ NameNeutral=Respawn
Description=Marks your reign, where you are able to buy items in buildings.
MsgBuy=Buy Stuff
YourWealth=Your wealth
Neutral=Neutral
NeutralHelp=Neutral flags are respawn points for all players.