forked from Mirrors/openclonk
Add editor prop for neutral flagpoles
parent
8ac9a1e2bf
commit
4a31ce0fd8
|
@ -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$";
|
||||
|
|
|
@ -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.
|
|
@ -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.
|
Loading…
Reference in New Issue