From 85f1c714f7263e9ae38f2e2b7bef5075d402acc5 Mon Sep 17 00:00:00 2001 From: Maikel de Vries Date: Fri, 26 Jan 2018 08:32:25 +0100 Subject: [PATCH] add material costs to cable car components --- .../CableCars.ocd/Items.ocd/CableReel.ocd/Script.c | 3 ++- .../CableCars.ocd/Structures.ocd/Crossing.ocd/Script.c | 3 ++- .../CableCars.ocd/Vehicles.ocd/Hoist.ocd/Script.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Items.ocd/CableReel.ocd/Script.c b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Items.ocd/CableReel.ocd/Script.c index 24dd484d6..e8c0b5b36 100644 --- a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Items.ocd/CableReel.ocd/Script.c +++ b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Items.ocd/CableReel.ocd/Script.c @@ -65,4 +65,5 @@ private func Find_CableLine(object obj) local Name = "$Name$"; local Description = "$Description$"; -local Collectible = 1; \ No newline at end of file +local Collectible = 1; +local Components = {Metal = 1}; \ No newline at end of file diff --git a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Structures.ocd/Crossing.ocd/Script.c b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Structures.ocd/Crossing.ocd/Script.c index 90d8d19ec..8dd8937a1 100644 --- a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Structures.ocd/Crossing.ocd/Script.c +++ b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Structures.ocd/Crossing.ocd/Script.c @@ -331,4 +331,5 @@ public func SetManual() { manual_setting = true; return true; } local Name = "$Name$"; local BlastIncinerate = 50; -local LineAttach = [6,-9]; \ No newline at end of file +local LineAttach = [6,-9]; +local Components = {Metal = 1, Wood = 1}; diff --git a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Vehicles.ocd/Hoist.ocd/Script.c b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Vehicles.ocd/Hoist.ocd/Script.c index 44611901b..12c5453f0 100644 --- a/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Vehicles.ocd/Hoist.ocd/Script.c +++ b/planet/Experimental.ocf/CableLorrys.ocs/CableCars.ocd/Vehicles.ocd/Hoist.ocd/Script.c @@ -219,4 +219,5 @@ func Definition(def) local Name = "$Name$"; local Description = "$Description$"; local Touchable = 1; -local BorderBound = C4D_Border_Sides; \ No newline at end of file +local BorderBound = C4D_Border_Sides; +local Components = {Metal = 2};