Skip to content

Commit 17e4eb3

Browse files
authored
Added test file for syntax highlight
Probably should make it nicer
1 parent b55954e commit 17e4eb3

File tree

1 file changed

+176
-0
lines changed

1 file changed

+176
-0
lines changed

test_file.txt

+176
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
//stonescript
2+
3+
>f4,23,#4af55b,Asd FSD @item.left.id@
4+
>c4,23,#4af55b,Asd FSD @item.left.id@
5+
>`4,23,#4af55b,Asd FSD @item.left.id@
6+
>o4,23,#4af55b,Asd FSD @item.left.id@
7+
8+
>hasjdghahdsasd
9+
>(#546da3,askdjhaksjdhasd
10+
11+
// Equips the Shovel for Rocky Plateau.
12+
// In Caves of Fear it equips loadout 1,
13+
// except against the boss, where the
14+
// Grappling Hook and a 7 star War Hammer
15+
// are used instead.
16+
// For Haunted Halls it uses two Wands,
17+
// specifying Poison for left hand and
18+
// Vigor for the right hand. However,
19+
// if the difficulty is over 5 stars it
20+
// uses an enchanted +13 Vigor Staff.
21+
// Potion activates if hitpoints fall
22+
// below 10
23+
?loc.destinations = asd
24+
activate potion
25+
26+
?loc.isQuest = 1
27+
brew molly vini
28+
29+
?loc=rocky
30+
equip shovel
31+
?loc=cave
32+
loadout 1
33+
equipR ice wand aP 8*
34+
?foe=bolesh
35+
equip grap
36+
equip hammer D 7*
37+
?loc.stars > 5
38+
equip vigor staff 13+
39+
?loc=halls
40+
equipL poison wand
41+
equipR vigor wand ai 4-
42+
43+
?hp < 10
44+
activate potion
45+
46+
?loc.name = "asdasd"
47+
out.asd
48+
49+
foe.debuffs.count < 34
50+
asdasd
51+
52+
?loc.id=loc.bestTime
53+
activate potion
54+
55+
?foe.armor < 456
56+
activate potion
57+
58+
?foe.name == foe.hp
59+
activate potion
60+
61+
?foe.asdasd.count
62+
activate potion
63+
64+
?foe.asd = 67
65+
activate potion
66+
67+
?foe.buffs.count > 1
68+
activate potion
69+
70+
?foe.buffs.string > 1
71+
activate potion
72+
73+
?foe.buffs.strings > 1
74+
activate potion
75+
76+
#aa44dd
77+
#cyan
78+
#yellaw
79+
#rain54
80+
#red
81+
82+
func quarterstaff()
83+
?item.GetCooldown("quarterstaff") = 0
84+
equipL quarter staff
85+
activate R
86+
87+
88+
89+
?loc.name = "asdasd"
90+
91+
hp
92+
time
93+
94+
?item.hand <> 32
95+
activate potion f
96+
97+
?item.left
98+
activate potion
99+
100+
?item.left.id= knife
101+
activate R au
102+
103+
?item.potion = 1
104+
activate potion
105+
106+
import Garage\Poppy
107+
108+
var asd = asd
109+
110+
var fsd = new Data\DClass
111+
112+
func asd(asdasd)
113+
>@asdasd.msg@
114+
115+
asd(12, fff, ff.gg)
116+
equip shovel =6 a
117+
118+
ascii
119+
asdasdasdasd
120+
asd d a
121+
asd sd d @asd.fds@
122+
asd a da
123+
asd @das@ sd
124+
asd
125+
asciiend
126+
127+
screen.x
128+
129+
?harvest.distance < 54
130+
equip fire shovel dL
131+
>f4,23,#4af55b,Asd FSD @item.left.id@
132+
133+
>`4,23,Asd [email protected]@
134+
>o#4af55b,Asd FSD @item.left.id@
135+
136+
?pickup.distance > 12
137+
equip shovel dF
138+
139+
?armor.f = 3
140+
equip shovel ah 2~
141+
142+
?armor.sdf != asd
143+
equip ice shovel A
144+
145+
time & pos.x
146+
147+
?armor.f = 3 | res.ki > 4
148+
equip shovel
149+
150+
?armor < 4 & loc.name = asd
151+
equip aether shovel
152+
153+
?armor.string === asd
154+
equip shovel au 1+
155+
156+
?maxarmor < 10 & ai.walking
157+
activate R
158+
159+
?armor.f = 3
160+
equipL shovel 3* dP
161+
equipR ice staff D 10*
162+
163+
?foe ! spawner
164+
var spawnerCount = 0
165+
?foe = spawner & loc = icy_ridge & spawnerCount = 0
166+
spawnerCount = foe.count
167+
WeapMele() // Your normal attack
168+
:?foe = spawner & loc = icy_ridge & foe.count > spawnerCount
169+
spawnerTime = time
170+
equip @bardiche@
171+
:?time < spawnerTime + 26
172+
equip @bardiche@
173+
174+
?foe.distance < 17 & foe.distance > 10
175+
equipL big vigor sword
176+
equipR dashing shield

0 commit comments

Comments
 (0)