forked from Mirrors/openclonk
Limit rule placement in editor to one per rule type
parent
7aaa581908
commit
7825931c95
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue