Limit rule placement in editor to one per rule type

qteditor
Sven Eberhardt 2016-08-06 10:27:56 -04:00
parent 7aaa581908
commit 7825931c95
8 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,6 @@
@author Maikel, Sven2
*/
// Determines whether the inventory of the crew member is transfered upon respawn.
local inventory_transfer = false;
@ -173,3 +172,4 @@ public func SaveScenarioObject(props, ...)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -20,3 +20,4 @@ protected func Activate(int iByPlayer)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -62,3 +62,4 @@ protected func Activate(int iByPlayer)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -96,3 +96,4 @@ func OnClonkDeathEx(object clonk, int plr, int killed_by)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -42,3 +42,4 @@ protected func Activate(int plr)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -111,3 +111,4 @@ public func FxIntFadeOutTimerEffect(string new_effect_name)
local Name = "Object Fade";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -36,3 +36,4 @@ public func SetRemoveContents(bool do_removal)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once

View File

@ -90,3 +90,4 @@ protected func Activate(int byplr)
local Name = "$Name$";
local Description = "$Description$";
local Visibility = VIS_Editor;
local EditorPlacementLimit = 1; // Rules are to be placed only once