diff options
Diffstat (limited to 'Items.c4d/Extractor.c4d/Script.c')
| -rw-r--r-- | Items.c4d/Extractor.c4d/Script.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Items.c4d/Extractor.c4d/Script.c b/Items.c4d/Extractor.c4d/Script.c index 05a1fc6..7dddbc8 100644 --- a/Items.c4d/Extractor.c4d/Script.c +++ b/Items.c4d/Extractor.c4d/Script.c @@ -120,9 +120,9 @@ func AddQueue(array args) }
else
{
- produceQueue[GetLength(produceQueue)] = args;
+ produceQueue[] = args;
}
-
+
if(GetLength(produceQueue) == 1 || !GetCommand(worker))
{
ContinueQueue();
@@ -153,7 +153,7 @@ func ShowQueue() for(var i = 1; i <= GetLength(produceQueue); ++i)
{
var id = produceQueue[i] && produceQueue[i][0];
-
+
if(lastID == id)
{
++cnt;
@@ -174,7 +174,7 @@ func ShowQueue() }
cnt = 0;
}
-
+
lastID = id;
}
if(i < GetLength(produceQueue))
@@ -264,7 +264,7 @@ func GetProducableIDs() {
if(GetDefCollectible(type) && GetHomebaseMaterial(plr, type) && GetWealth(plr) >= GetValue(0, type, attached, plr))
{
- ret[GetLength(ret)] = type;
+ ret[] = type;
}
}
}
@@ -276,7 +276,7 @@ func GetProducableIDs() {
if(attached->~IsProducerOf(worker, type))
{
- ret[GetLength(ret)] = type;
+ ret[] = type;
}
}
}
@@ -306,7 +306,7 @@ func SensorCallbacks() {
for(var id in part)
{
- ret[GetLength(ret)] = [Format("$SendObjectType$", GetName(0, id)), BindCallback("SendObjectThroughTube", [Bind(id), 2]), id];
+ ret[] = [Format("$SendObjectType$", GetName(0, id)), BindCallback("SendObjectThroughTube", [Bind(id), 2]), id];
}
}
}
|
