summaryrefslogtreecommitdiffstats
path: root/Items.c4d/Sender.c4d/Script.c
blob: ef4ddaa09f846dea52e097efd053663a66f62f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#strict 2

func IsTubeTarget() { return true; }

func Collection2(object obj)
{
	var line = FindObject2(Find_Tube(), Find_Func("CanSendObject", this, obj));
	if(!line || !line->SendObject(this, obj))
	{
		Exit(obj);
	}
}

func RejectCollect(id id, object obj)
{
	return obj && !FindObject2(Find_Tube(), Find_Func("CanSendObject", this, obj));
}

func IsAnvilProduct() { return true; }