· 2 years ago · Apr 09, 2023, 07:10 PM
1<?xml version="1.0" encoding="UTF-8" ?>
2<!-- Based on Sublime Text autocomplete https://github.com/Eforen/sublime-syntax-sprak
3A lot has been added, mainly return types, some descriptions, some overloads, sink, stove, trash can, police API
4put it into Notepad++/autoCompletion -->
5<NotepadPlus>
6 <AutoComplete language="SPRAK">
7 <Environment ignoreCase="no" />
8 <KeyWord name="Sebastian" />
9
10 <!-- Common Functions -->
11 <KeyWord name="Count" func="yes" >
12 <Overload retVal="number" descr="Count the number of elements in an array">
13 <Param name="array a" />
14 </Overload>
15 </KeyWord>
16 <KeyWord name="Range" func="yes" >
17 <Overload retVal="array" descr="Create a range of numbers from 'min' to (and including) 'max'">
18 <Param name="number min"/>
19 <Param name="number max" />
20 </Overload>
21 </KeyWord>
22 <KeyWord name="GetIndexes" func="yes" >
23 <Overload retVal="array" descr="Create a new array that contains the indexes of another array">
24 <Param name="array a" />
25 </Overload>
26 </KeyWord>
27 <KeyWord name="Remove" func="yes" >
28 <Overload retVal="void" descr="Remove an element from an array">
29 <Param name="array a"/>
30 <Param name="number position" />
31 </Overload>
32 </KeyWord>
33 <KeyWord name="RemoveAll" func="yes" >
34 <Overload retVal="void" descr="Remove all elements from an array">
35 <Param name="array a" />
36 </Overload>
37 </KeyWord>
38 <KeyWord name="HasIndex" func="yes" >
39 <Overload retVal="bool" descr="Check if an index is in the array">
40 <Param name="array a"/>
41 <Param name="number key" />
42 </Overload>
43 </KeyWord>
44 <KeyWord name="Append" func="yes" >
45 <Overload retVal="void" descr="Add an element to the end of an array">
46 <Param name="array a"/>
47 <Param name="number element" />
48 </Overload>
49 </KeyWord>
50 <KeyWord name="Type" func="yes" >
51 <Overload retVal="string" descr="Get the type of something">
52 <Param name="var value" />
53 </Overload>
54 </KeyWord>
55 <KeyWord name="Round" func="yes" >
56 <Overload retVal="number" descr="Round a number to the nearest integer">
57 <Param name="number x" />
58 </Overload>
59 </KeyWord>
60 <KeyWord name="Int" func="yes" >
61 <Overload retVal="number" descr="Remove the decimals of a float">
62 <Param name="number x" />
63 </Overload>
64 </KeyWord>
65 <KeyWord name="Mod" func="yes" >
66 <Overload retVal="number" descr="Get the remainder of x / y">
67 <Param name="number x"/>
68 <Param name="number y" />
69 </Overload>
70 </KeyWord>
71 <KeyWord name="Info" func="yes" >
72 <Overload retVal="void" descr="Get information about the system" />
73 </KeyWord>
74 <KeyWord name="Random" func="yes" >
75 <Overload retVal="number" descr="Get a random number between 0.0 and 1.0" />
76 </KeyWord>
77 <KeyWord name="GetUser" func="yes" >
78 <Overload retVal="string" descr="Get the name of who is using the computer, if any" />
79 </KeyWord>
80 <KeyWord name="Name" func="yes" >
81 <Overload retVal="string" descr="Get the name of the computer" />
82 </KeyWord>
83 <KeyWord name="Time" func="yes" >
84 <Overload retVal="number" descr="Get the total time as a float" />
85 </KeyWord>
86 <KeyWord name="Width" func="yes" >
87 <Overload retVal="number" descr="Get the screen width" />
88 </KeyWord>
89 <KeyWord name="Height" func="yes" >
90 <Overload retVal="number" descr="Get the screen height" />
91 </KeyWord>
92 <KeyWord name="Sleep" func="yes" >
93 <Overload retVal="void" descr="Pause the master program">
94 <Param name="number seconds" />
95 </Overload>
96 </KeyWord>
97 <KeyWord name="Quit" func="yes" >
98 <Overload retVal="void" descr="Stop the program" />
99 </KeyWord>
100 <KeyWord name="CharToInt" func="yes" >
101 <Overload retVal="number" descr="Convert a single character to a numeric value, 'a' equals 0">
102 <Param name="string character" />
103 </Overload>
104 </KeyWord>
105 <KeyWord name="IntToChar" func="yes" >
106 <Overload retVal="string" descr="Convert a number to a character, 0 equals 'a'">
107 <Param name="number number" />
108 </Overload>
109 </KeyWord>
110 <KeyWord name="ClearText" func="yes" >
111 <Overload retVal="void" descr="Remove all text from the screen" />
112 </KeyWord>
113 <KeyWord name="Print" func="yes" >
114 <Overload retVal="void" descr="Print text to the screen">
115 <Param name="string text" />
116 </Overload>
117 </KeyWord>
118 <KeyWord name="PrintS" func="yes" >
119 <Overload retVal="void" descr="Print text without skipping to a new line afterwards">
120 <Param name="string text" />
121 </Overload>
122 </KeyWord>
123 <KeyWord name="Say" func="yes" >
124 <Overload retVal="void" descr="Say something through speaker. (via the object)">
125 <Param name="string text" />
126 </Overload>
127 </KeyWord>
128 <KeyWord name="PlaySound" func="yes" >
129 <Overload retVal="void" descr="Play a sound">
130 <Param name="string soundName" />
131 </Overload>
132 </KeyWord>
133 <KeyWord name="Play" func="yes" >
134 <Overload retVal="void" descr="Start playing the current sound"/>
135 </KeyWord>
136 <KeyWord name="TogglePause" func="yes" >
137 <Overload retVal="void" descr="Pause or unpause the sound"/>
138 </KeyWord>
139 <KeyWord name="Stop" func="yes" >
140 <Overload retVal="void" descr="Stop the current sound"/>
141 </KeyWord>
142 <KeyWord name="IsPlaying" func="yes" >
143 <Overload retVal="void" descr="Is a sound playing"/>
144 </KeyWord>
145 <KeyWord name="PlayLoop" func="yes" >
146 <Overload retVal="void" descr="Set the sound to play in a loop">
147 <Param name="string soundName" />
148 </Overload>
149 </KeyWord>
150 <KeyWord name="SetPitch" func="yes" >
151 <Overload retVal="void" descr="Set the pitch of the sound">
152 <Param name="number pitch" />
153 </Overload>
154 </KeyWord>
155 <KeyWord name="Pitch" func="yes" >
156 <Overload retVal="void" descr="Set the pitch of the sound">
157 <Param name="number pitch" />
158 </Overload>
159 </KeyWord>
160 <KeyWord name="SetResonance" func="yes" >
161 <Overload retVal="void" descr="Set the filter resonance for the sound that is playing">
162 <Param name="number resonance" />
163 </Overload>
164 </KeyWord>
165 <KeyWord name="SetCutoff" func="yes" >
166 <Overload retVal="void" descr="Set the cutoff frequency of the sound that is playing">
167 <Param name="number cutoff" />
168 </Overload>
169 </KeyWord>
170 <KeyWord name="Sin" func="yes" >
171 <Overload retVal="number" descr="The sinus function">
172 <Param name="number x" />
173 </Overload>
174 </KeyWord>
175 <KeyWord name="Cos" func="yes" >
176 <Overload retVal="number" descr="The cosinus function">
177 <Param name="number x" />
178 </Overload>
179 </KeyWord>
180 <KeyWord name="Input" func="yes" >
181 <Overload retVal="var" descr="Display a prompt and receive text input from the keyboard">
182 <Param name="string prompt" />
183 </Overload>
184 </KeyWord>
185 <KeyWord name="Line" func="yes" >
186 <Overload retVal="void" descr="Draw a line on the screen">
187 <Param name="number x1"/>
188 <Param name="number y1"/>
189 <Param name="number x2"/>
190 <Param name="number y2" />
191 </Overload>
192 </KeyWord>
193 <KeyWord name="Text" func="yes" >
194 <Overload retVal="void" descr="Draw text in a specific place">
195 <Param name="number x"/>
196 <Param name="number y"/>
197 <Param name="string text" />
198 </Overload>
199 </KeyWord>
200 <KeyWord name="Rect" func="yes" >
201 <Overload retVal="void" descr="Draw a rectangle on the screen">
202 <Param name="number x1"/>
203 <Param name="number y1"/>
204 <Param name="number x2"/>
205 <Param name="number y2" />
206 </Overload>
207 </KeyWord>
208 <KeyWord name="DisplayGraphics" func="yes" >
209 <Overload retVal="void" descr="Clear the screen and display graphical elements" />
210 </KeyWord>
211 <KeyWord name="SetColor" func="yes" >
212 <Overload retVal="void" descr="Set the color of the lamp">
213 <Param name="number r"/>
214 <Param name="number g"/>
215 <Param name="number b" />
216 </Overload>
217 </KeyWord>
218 <KeyWord name="Color" func="yes" >
219 <Overload retVal="void" descr="Set the color to draw or print text with">
220 <Param name="number r"/>
221 <Param name="number g"/>
222 <Param name="number b" />
223 </Overload>
224 </KeyWord>
225 <KeyWord name="Repeat" func="yes" >
226 <Overload retVal="number" descr="(?!)Keep a value between between 0 and an upper bound">
227 <Param name="number x"/>
228 <Param name="number bound" />
229 </Overload>
230 </KeyWord>
231 <KeyWord name="HSVtoRGB" func="yes" >
232 <Overload retVal="array [r,g,b]" descr="Hue, Saturation, Value -> [r, g, b]">
233 <Param name="number H"/>
234 <Param name="number S"/>
235 <Param name="number V" />
236 </Overload>
237 </KeyWord>
238 <KeyWord name="RGBToHSV" func="yes" >
239 <Overload retVal="array [h,s,v]" descr="[r, g, b] -> Hue, Saturation, Value">
240 <Param name="number r"/>
241 <Param name="number g"/>
242 <Param name="number b" />
243 </Overload>
244 </KeyWord>
245 <KeyWord name="Lines" func="yes" >
246 <Overload retVal="void" descr="Draws a list of [x1,y1,x2,y2,...] array, maybe as a polygon">
247 <Param name="array points[x1,y1,x2,y2,...]" />
248 </Overload>
249 </KeyWord>
250 <KeyWord name="IsKeyPressed" func="yes" >
251 <Overload retVal="bool" descr="Is a key pressed? (left/right/down/up/space)">
252 <Param name="string key" />
253 </Overload>
254 </KeyWord>
255
256 <!-- Internet API -->
257 <KeyWord name="GetConnections" func="yes" >
258 <Overload retVal="array" descr="Get a list of all connections (list of names)" />
259 </KeyWord>
260 <KeyWord name="Slurp" func="yes" >
261 <Overload retVal="void" descr="Use with caution" />
262 </KeyWord>
263 <KeyWord name="Connect" func="yes" >
264 <Overload retVal="number" descr="Connects to a separate computer, returns connection id (0, then autoincrement)">
265 <Param name="string name" />
266 </Overload>
267 </KeyWord>
268 <KeyWord name="DisconnectAll" func="yes" >
269 <Overload retVal="void" descr="Remove all connections" />
270 </KeyWord>
271
272 <!-- Floppy API -->
273 <KeyWord name="HasFloppy" func="yes" >
274 <Overload retVal="bool" descr="Is there a floppy in the drive?" />
275 </KeyWord>
276 <KeyWord name="LoadData" func="yes" >
277 <Overload retVal="array" descr="Load data from the floppy, split by lines" />
278 </KeyWord>
279 <KeyWord name="ClearData" func="yes" >
280 <Overload retVal="void" descr="Clear all data on the floppy" />
281 </KeyWord>
282 <KeyWord name="SaveData" func="yes" >
283 <Overload retVal="void" descr="Save data to the floppy by appending a line at the end">
284 <Param name="array data" />
285 </Overload>
286 </KeyWord>
287 <KeyWord name="BootFromFloppy" func="yes" >
288 <Overload retVal="void" descr="Restart the computer but run the code on the floppy instead" />
289 </KeyWord>
290
291 <!-- Memory API -->
292 <KeyWord name="SaveMemory" func="yes" >
293 <Overload retVal="void" descr="Save data to the given memory key">
294 <Param name="var key"/>
295 <Param name="var data" />
296 </Overload>
297 </KeyWord>
298 <KeyWord name="LoadMemory" func="yes" >
299 <Overload retVal="var" descr="Load a specific data previously saved with SaveMemory">
300 <Param name="var key" />
301 </Overload>
302 </KeyWord>
303 <KeyWord name="EraseMemory" func="yes" >
304 <Overload retVal="void" descr="Erase a specific data previously saved with SaveMemory">
305 <Param name="var key" />
306 </Overload>
307 </KeyWord>
308 <KeyWord name="HasMemory" func="yes" >
309 <Overload retVal="bool" descr="Checks if a specific data was set">
310 <Param name="var key" />
311 </Overload>
312 </KeyWord>
313 <KeyWord name="GetMemories" func="yes" >
314 <Overload retVal="array" descr="Get all keys saved with SaveMemory" />
315 </KeyWord>
316 <KeyWord name="ClearMemories" func="yes" >
317 <Overload retVal="void" descr="Removes all keys saved with SaveMemory" />
318 </KeyWord>
319 <KeyWord name="HD" func="yes" >
320 <Overload retVal="void" descr="Loads memories from HD to this computer">
321 <Param name="string memoryUnitName"/>
322 </Overload>
323 </KeyWord>
324
325 <!-- Trap API -->
326 <KeyWord name="OnHack" func="yes" >
327 <Overload retVal="void" descr="">
328 <Param name="string name" />
329 </Overload>
330 </KeyWord>
331 <KeyWord name="OnIntruder" func="yes" >
332 <Overload retVal="void" descr="">
333 <Param name="string name" />
334 </Overload>
335 </KeyWord>
336 <KeyWord name="GetHour" func="yes" >
337 <Overload retVal="number" descr="Get the current hour" />
338 </KeyWord>
339 <KeyWord name="GetMinute" func="yes" >
340 <Overload retVal="number" descr="Get the current minute" />
341 </KeyWord>
342 <KeyWord name="StringContains" func="yes" >
343 <Overload retVal="bool" descr="Checks whether a string contains a substring">
344 <Param name="string string"/>
345 <Param name="string substring" />
346 </Overload>
347 </KeyWord>
348 <KeyWord name="MovePerson" func="yes" >
349 <Overload retVal="void" descr="Move an intruder in the room to the position of another thing">
350 <Param name="string name"/>
351 <Param name="string target" />
352 </Overload>
353 </KeyWord>
354 <KeyWord name="ZapPerson" func="yes" >
355 <Overload retVal="void" descr="Zap an intruder in the room (will make them fall asleep)">
356 <Param name="string name" />
357 </Overload>
358 </KeyWord>
359 <KeyWord name="RestoreCode" func="yes" >
360 <Overload retVal="void" descr="Resets code to default state">
361 <Param name="string name" />
362 </Overload>
363 </KeyWord>
364 <KeyWord name="Broadcast" func="yes" >
365 <Overload retVal="void" descr="Broadcast a message, Use with caution.">
366 <Param name="string pMessage" />
367 </Overload>
368 </KeyWord>
369
370 <!-- Police -->
371 <KeyWord name="GetPeople" func="yes" >
372 <Overload retVal="array" descr="Get the list of all people" />
373 </KeyWord>
374 <KeyWord name="GetAllRooms" func="yes" >
375 <Overload retVal="string" descr="Get the full list of rooms" />
376 </KeyWord>
377 <KeyWord name="GetThingsOfType" func="yes" >
378 <Overload retVal="array" descr="Get the list of all things of a given type">
379 <Param name="string type" />
380 </Overload>
381 </KeyWord>
382 <KeyWord name="GetThingsInRoom" func="yes" >
383 <Overload retVal="array" descr="Get the list of all things in a given room">
384 <Param name="string roomName" />
385 </Overload>
386 </KeyWord>
387 <KeyWord name="GetTypeOfThing" func="yes" >
388 <Overload retVal="array" descr="Get the type of a given object/person">
389 <Param name="string name" />
390 </Overload>
391 </KeyWord>
392 <KeyWord name="GetPosition" func="yes" >
393 <Overload retVal="string" descr="Get the room and coordinates of a given object/person">
394 <Param name="string name" />
395 </Overload>
396 </KeyWord>
397 <KeyWord name="GetAction" func="yes" >
398 <Overload retVal="string" descr="Get current action of a person">
399 <Param name="string name" />
400 </Overload>
401 </KeyWord>
402 <KeyWord name="GetRoom" func="yes" >
403 <Overload retVal="string" descr="Get current room of an object/person">
404 <Param name="string name" />
405 </Overload>
406 </KeyWord>
407 <KeyWord name="InteractWith" func="yes" >
408 <Overload retVal="void" descr="Make person interact with target">
409 <Param name="string name" />
410 <Param name="string target" />
411 </Overload>
412 </KeyWord>
413 <KeyWord name="SetPosition" func="yes" >
414 <Overload retVal="void" descr="Move item to target item's exact location">
415 <Param name="string objectName" />
416 <Param name="string targetThing" />
417 </Overload>
418 </KeyWord>
419
420 <!-- Screwdrivers -->
421 <KeyWord name="SetMhz" func="yes" >
422 <Overload retVal="void" descr="Set the speed of the computer you use the screwdriver on. (Max 500)">
423 <Param name="number Mhz" />
424 </Overload>
425 </KeyWord>
426 <KeyWord name="EnableAPI" func="yes" >
427 <Overload retVal="void" descr="Enable an API">
428 <Param name="string name" />
429 </Overload>
430 </KeyWord>
431 <KeyWord name="SetMaxTime" func="yes" >
432 <Overload retVal="void" descr="Set the maximum execution time for the computer">
433 <Param name="number maxTime" />
434 </Overload>
435 </KeyWord>
436
437 <!-- Drinks -->
438 <KeyWord name="Speed" func="yes" >
439 <Overload retVal="void" descr="Change the speed of the drinker">
440 <Param name="number d" />
441 </Overload>
442 </KeyWord>
443 <KeyWord name="Charisma" func="yes" >
444 <Overload retVal="void" descr="Change the Charisma of the drinker">
445 <Param name="number d" />
446 </Overload>
447 </KeyWord>
448 <KeyWord name="Smelliness" func="yes" >
449 <Overload retVal="void" descr="Change the Smelliness of the drinker">
450 <Param name="number d" />
451 </Overload>
452 </KeyWord>
453 <KeyWord name="Sleepiness" func="yes" >
454 <Overload retVal="void" descr="Change the Sleepiness of the drinker">
455 <Param name="number d" />
456 </Overload>
457 </KeyWord>
458 <KeyWord name="Drunkenness" func="yes" >
459 <Overload retVal="void" descr="Change the Drunkenness of the drinker">
460 <Param name="number d" />
461 </Overload>
462 </KeyWord>
463 <KeyWord name="Drink" func="yes" >
464 <Overload retVal="void" descr="Just lower the amount of liquid">
465 <Param name="number d" />
466 </Overload>
467 </KeyWord>
468 <KeyWord name="Corruption" func="yes" >
469 <Overload retVal="void" descr="Change the Corruption of the drinker">
470 <Param name="number amount" />
471 </Overload>
472 </KeyWord>
473 <KeyWord name="IsUser" func="yes" >
474 <Overload retVal="bool" descr="Test if the drinker has a certain name">
475 <Param name="string name" />
476 </Overload>
477 </KeyWord>
478 <KeyWord name="GetRoom" func="yes" >
479 <Overload retVal="string" descr="Get the room of the drinker" />
480 </KeyWord>
481 <KeyWord name="RemoteFunctionCall" func="yes" >
482 <Overload retVal="var" descr="Call remote function on connected objects">
483 <Param name="number receiverIndex"/>
484 <Param name="string functionName"/>
485 <Param name="array arguments" />
486 </Overload>
487 </KeyWord>
488
489 <!-- Drugs / Food -->
490 <KeyWord name="Trippy" func="yes" >
491 <Overload retVal="void" descr="Trippy" />
492 </KeyWord>
493 <KeyWord name="FastForward" func="yes" >
494 <Overload retVal="void" descr="Makes time appear to go faster" />
495 </KeyWord>
496 <KeyWord name="QuickBoost" func="yes" >
497 <Overload retVal="void" descr="Get a quick energy boost" />
498 </KeyWord>
499 <!-- Pogo -->
500 <KeyWord name="CanMove" func="yes" >
501 <Overload retVal="bool" descr="Can move one step forward"/>
502 </KeyWord>
503 <KeyWord name="Move" func="yes" >
504 <Overload retVal="void" descr="Move forward one step" />
505 </KeyWord>
506 <KeyWord name="TurnLeft" func="yes" >
507 <Overload retVal="void" descr="Turn left" />
508 </KeyWord>
509 <KeyWord name="TurnRight" func="yes" >
510 <Overload retVal="void" descr="Turn right" />
511 </KeyWord>
512
513 <!-- Keys and computers with Door API -->
514 <KeyWord name="Unlock" func="yes" >
515 <Overload retVal="bool" descr="Unlock, returns true on success">
516 <Param name="number code" />
517 </Overload>
518 <Overload retVal="bool" descr="Unlock, returns true if on success (door exists)">
519 <Param name="string doorName" />
520 </Overload>
521 </KeyWord>
522 <KeyWord name="Lock" func="yes" >
523 <Overload retVal="bool" descr="Lock, returns true on success">
524 <Param name="number code" />
525 </Overload>
526 <Overload retVal="bool" descr="Lock, returns true if on success (door exists)">
527 <Param name="string doorName" />
528 </Overload>
529 </KeyWord>
530 <KeyWord name="Toggle" func="yes" >
531 <Overload retVal="bool" descr="Lock or unlock depending on if the door is locked">
532 <Param name="number code" />
533 </Overload>
534 </KeyWord>
535 <KeyWord name="FindPath" func="yes" >
536 <Overload retVal="array" descr="Find the path between two objects">
537 <Param name="string start" />
538 <Param name="string goal" />
539 </Overload>
540 </KeyWord>
541
542 <!-- Radio -->
543 <KeyWord name="Blip" func="yes" >
544 <Overload retVal="void" descr="Make a blip sound" />
545 </KeyWord>
546 <KeyWord name="GetChannel" func="yes" >
547 <Overload retVal="number" descr="[radio]Get the number of the current channel" />
548 <Overload retVal="string" descr="[TV]Get the name of the current channel" />
549 </KeyWord>
550 <KeyWord name="SetChannel" func="yes" >
551 <Overload retVal="void" descr="Set the channel">
552 <Param name="string newChannel (Anime TestScreen Bergman Talkshow News Terminator)" />
553 </Overload>
554 </KeyWord>
555 <KeyWord name="TurnOffSound" func="yes" >
556 <Overload retVal="void" descr="Exactly what it says on the tin" />
557 </KeyWord>
558 <KeyWord name="TurnOnSound" func="yes" >
559 <Overload retVal="void" descr="Exactly what it says on the tin" />
560 </KeyWord>
561
562 <!-- Hacking Device -->
563 <KeyWord name="Log" func="yes" >
564 <Overload retVal="void" descr="Log' (No other text ingame)" />
565 </KeyWord>
566
567 <!-- Teleportation Device -->
568 <KeyWord name="Position" func="yes" >
569 <Overload retVal="string" descr="Get the coordinates of your current position" />
570 </KeyWord>
571 <KeyWord name="Teleport" func="yes" >
572 <Overload retVal="void" descr="Teleport to another position in the same room, needs to be printed in teleporter">
573 <Param name="number x"/>
574 <Param name="number y" />
575 </Overload>
576 </KeyWord>
577 <KeyWord name="SetWorldPosition" func="yes" >
578 <Overload retVal="string" descr="Teleport to another position anywhere in the world, returns statement of the result (e.g. Success)">
579 <Param name="string room"/>
580 <Param name="number x"/>
581 <Param name="number y" />
582 </Overload>
583 </KeyWord>
584
585 <!-- Stove, sink -->
586 <KeyWord name="GetCode" func="yes" >
587 <Overload retVal="string" descr="Get the source code of the object on the stove" />
588 </KeyWord>
589 <KeyWord name="ClearCode" func="yes" >
590 <Overload retVal="void" descr="Remove all source code in the object on the stove" />
591 </KeyWord>
592 <KeyWord name="AppendCode" func="yes" >
593 <Overload retVal="void" descr="Add code to the end of the program in the object on the stove">
594 <!-- Newline is IntToChar(-87) -->
595 <Param name="string code"/>
596 </Overload>
597 </KeyWord>
598 <KeyWord name="SetLiquidAmount" func="yes" >
599 <Overload retVal="void" descr="Set the liquid level of the drink">
600 <Param name="number amount (max 99999)"/>
601 </Overload>
602 </KeyWord>
603 <KeyWord name="GetName" func="yes" >
604 <Overload retVal="void" descr="Returns the name of the sink" />
605 </KeyWord>
606
607 <!-- Trashcan -->
608 <KeyWord name="Delete" func="yes" >
609 <Overload retVal="void" descr="Delete the current trash" />
610 </KeyWord>
611 <KeyWord name="GetType" func="yes" >
612 <Overload retVal="string" descr="Get the type of the current trash" />
613 </KeyWord>
614 <KeyWord name="IsType" func="yes" >
615 <Overload retVal="bool" descr="Check if the current trash is a specific type">
616 <Param name="string type" />
617 </Overload>
618 </KeyWord>
619 <KeyWord name="MoveToRoom" func="yes" >
620 <Overload retVal="void" descr="Move the current trash to a room">
621 <Param name="string roomName" />
622 </Overload>
623 </KeyWord>
624 </AutoComplete>
625</NotepadPlus>