Back to "snippet" tags

Spin to win and rotate torches [Outdated] by initsu

Related: Snippet torch

Description: Outdated: The walk command no longer exists.

1removelist torches_to_rotate
2createlist torches_to_rotate
3
4@clearignore
5while findtype 30580 backpack as torch
6    pushlist torches_to_rotate torch
7    @ignore torch
8endwhile
9@clearignore
10
11if findlayer self lightsource as lightsource
12    getlabel lightsource desc
13    if 'torch' in desc
14        pushlist torches_to_rotate lightsource
15    endif
16endif
17
18while not dead
19    foreach torch in torches_to_rotate
20        dclick torch
21        walk Up
22        walk North
23        walk Right
24        walk East
25        walk Down
26        walk South
27        walk Left
28        walk West
29    endfor
30endwhile
31