diff --git a/planet/Objects.ocd/Structures.ocd/SteamEngine.ocd/DefCore.txt b/planet/Objects.ocd/Structures.ocd/SteamEngine.ocd/DefCore.txt index 667e57f94..7306bc2de 100644 --- a/planet/Objects.ocd/Structures.ocd/SteamEngine.ocd/DefCore.txt +++ b/planet/Objects.ocd/Structures.ocd/SteamEngine.ocd/DefCore.txt @@ -12,7 +12,6 @@ VertexFriction=50,50,100,100 Value=180 Mass=4000 Components=Rock=6;Metal=3 -Collection=-31,9,10,10 Exclusive=1 Construction=1 ContainBlast=1 diff --git a/planet/Objects.ocd/Structures.ocd/ToolsWorkshop.ocd/DefCore.txt b/planet/Objects.ocd/Structures.ocd/ToolsWorkshop.ocd/DefCore.txt index 10eecb151..af51ac5d6 100644 --- a/planet/Objects.ocd/Structures.ocd/ToolsWorkshop.ocd/DefCore.txt +++ b/planet/Objects.ocd/Structures.ocd/ToolsWorkshop.ocd/DefCore.txt @@ -12,7 +12,6 @@ VertexFriction=50,50,100,100 Value=200 Mass=4500 Components=Wood=6;Metal=3 -Collection=2,5,20,10 Exclusive=1 Construction=1 ContainBlast=1 diff --git a/planet/Objects.ocd/Structures.ocd/Windmill.ocd/DefCore.txt b/planet/Objects.ocd/Structures.ocd/Windmill.ocd/DefCore.txt index 59a2f6f21..5996f1897 100644 --- a/planet/Objects.ocd/Structures.ocd/Windmill.ocd/DefCore.txt +++ b/planet/Objects.ocd/Structures.ocd/Windmill.ocd/DefCore.txt @@ -12,7 +12,6 @@ VertexFriction=50,50,100,100,50 Value=150 Mass=2500 Components=Rock=6;Wood=2; -Collection=-18,35,15,15 Exclusive=1 Construction=1 ContainBlast=1 diff --git a/planet/Objects.ocd/Structures.ocd/Windmill.ocd/Script.c b/planet/Objects.ocd/Structures.ocd/Windmill.ocd/Script.c index b232088d4..d96fc473e 100644 --- a/planet/Objects.ocd/Structures.ocd/Windmill.ocd/Script.c +++ b/planet/Objects.ocd/Structures.ocd/Windmill.ocd/Script.c @@ -31,6 +31,7 @@ protected func Construction(object creator) // uses functions of the wind generator this.Wind2TurnEx = WindGenerator.Wind2Turn; this.GetWeightedWind = WindGenerator.GetWeightedWind; + AddTimer("CollectionZone", 1); return _inherited(creator, ...); } @@ -42,7 +43,6 @@ protected func Initialize() // Set initial position wind_anim = PlayAnimation(TurnAnimation(), 5, this.wheel->Anim_R(GetAnimationLength(TurnAnimation()), 0), Anim_Const(1000)); - AddTimer("CollectionZone", 1); return _inherited(...); }