forked from Mirrors/openclonk
Made tutorial 3 finishable(commented away ropeladder error) and added missing Name for coniferous tree
parent
e4d0cbff70
commit
d670a6b2fe
|
@ -9,15 +9,15 @@ protected func Initialize()
|
|||
|
||||
func Definition(def) {
|
||||
SetProperty("ActMap", {
|
||||
Rotate = {
|
||||
Prototype = Action,
|
||||
Name = "Rotate",
|
||||
Procedure = DFA_NONE,
|
||||
Length = 90,
|
||||
Delay = 0,
|
||||
NextAction = "Hold",
|
||||
Animation = "Rotate",
|
||||
},
|
||||
}, def);
|
||||
// SetProperty("Name", "$Name$", def);
|
||||
Rotate = {
|
||||
Prototype = Action,
|
||||
Name = "Rotate",
|
||||
Procedure = DFA_NONE,
|
||||
Length = 90,
|
||||
Delay = 0,
|
||||
NextAction = "Hold",
|
||||
Animation = "Rotate",
|
||||
},
|
||||
}, def);
|
||||
SetProperty("Name", "$Name$", def);
|
||||
}
|
|
@ -81,8 +81,8 @@ protected func Unroll(dir)
|
|||
// TestArray = [[0,1],[0,2],[0,3],[0,4],[0,5],[0,6],[0,7],[0,8],[0,9]];
|
||||
TestArray = [[0, 1], [1, 0], [1, 1], [0, 2], [1, 2], [2, 0], [2, 1], [2, 2], [0, 3], [1, 3], [2, 3], [3, 0], [3, 1], [3, 2], [0, 4], [1, 4], [2, 4], [3, 3], [4, 0], [4, 1], [4, 2], [0, 5], [1, 5], [2, 5], [3, 4], [3, 5], [4, 3], [4, 4], [5, 0], [5, 1], [5, 2], [5, 3], [0, 6], [1, 6], [2, 6], [3, 6], [4, 5], [5, 4], [6, 0], [6, 1], [6, 2], [6, 3], [0, 7], [1, 7], [2, 7], [3, 7], [4, 6], [5, 5], [5, 6], [6, 4], [6, 5], [7, 0], [7, 1], [7, 2], [7, 3], [0, 8], [1, 8], [2, 8], [3, 8], [4, 7], [4, 8], [5, 7], [6, 6], [7, 4], [7, 5], [8, 0], [8, 1], [8, 2], [8, 3], [8, 4], [0, 9], [1, 9], [2, 9], [3, 9], [4, 9], [5, 8], [6, 7], [7, 6], [7, 7], [8, 5], [9, 0], [9, 1], [9, 2], [9, 3], [9, 4]];
|
||||
|
||||
grabber = CreateObject(Ropeladder_Grabber);
|
||||
grabber->SetAction("Attach", this);
|
||||
//grabber = CreateObject(Ropeladder_Grabber);
|
||||
//grabber->SetAction("Attach", this);
|
||||
|
||||
ParticleCount = 1;
|
||||
|
||||
|
|
|
@ -78,9 +78,9 @@ func Checkpoint_Bow2()
|
|||
clonk->CreateContents(Bow);
|
||||
clonk->CreateContents(Arrow);
|
||||
|
||||
clonk->AddEffect("CheckArrow",clonk,1,108,clonk);
|
||||
AddEffect("CheckArrow",clonk,1,108,clonk);
|
||||
var arrowchest = FindObject(Find_ID(Chest),Find_InRect(1060,367,1160,467));
|
||||
arrowchest->AddEffect("ArrowSpawn",arrowchest,1,18,arrowchest);
|
||||
AddEffect("ArrowSpawn",arrowchest,1,18,arrowchest);
|
||||
}
|
||||
|
||||
//Checks if player has run out of arrows, and displays message if true.
|
||||
|
|
Loading…
Reference in New Issue