equal
deleted
inserted
replaced
2 |
2 |
3 local ObjectList = {} |
3 local ObjectList = {} |
4 |
4 |
5 -- Overall padding for roping freedom |
5 -- Overall padding for roping freedom |
6 local Padding = 430 |
6 local Padding = 430 |
|
7 local TeamRope = false |
7 |
8 |
8 function onParameters() |
9 function onParameters() |
9 parseParams() |
10 parseParams() |
10 if params["pad"] ~= nil then |
11 if params["pad"] ~= nil then |
11 Padding = params["pad"] |
12 Padding = params["pad"] |
12 end |
13 end |
13 end |
14 if params["teamrope"] ~= nil then |
|
15 TeamRope = true |
|
16 end |
|
17 end |
|
18 |
|
19 function onGearAdd(gear) |
|
20 if GetGearType(gear) == gtRope and TeamRope then |
|
21 SetTag(gear,1) |
|
22 SetGearValues(gear,nil,nil,nil,nil,nil,nil,nil,nil,nil,nil,GetClanColor(GetHogClan(CurrentHedgehog))) |
|
23 end |
|
24 end |
|
25 |
14 |
26 |
15 -- This could probably use less points and more precision |
27 -- This could probably use less points and more precision |
16 -- 700x700 for object space |
28 -- 700x700 for object space |
17 function DrawStar(x, y, d, f) |
29 function DrawStar(x, y, d, f) |
18 -- default scale is 700x700 or so |
30 -- default scale is 700x700 or so |