Compare commits
5 Commits
a1498e3bf3
...
9586ec6954
Author | SHA1 | Date |
---|---|---|
AiTechEye | 9586ec6954 | |
AiTechEye | c6c58a16e5 | |
AiTechEye | 7386c1564e | |
AiTechEye | 47bea4d32a | |
AiTechEye | 6b87719066 |
18
README.md
18
README.md
|
@ -4,19 +4,6 @@ Licenses: code: LGPL-2.1, media: CC BY-SA-4.0
|
|||
|
||||
in game programing, not in lua
|
||||
|
||||
|
||||
# dont use this in public servers yet, it need to be practical tested first.
|
||||
|
||||
|
||||
#### todo:
|
||||
|
||||
- [x] + game time/function
|
||||
- [x] + get light/function
|
||||
- [x] laptop close/function
|
||||
- [x] return/function
|
||||
- [x] break/function
|
||||
- [ ] fix broken wireless sending (just added, but wont work right now)
|
||||
- [ ] make sure mod is safe to use on public servers
|
||||
---
|
||||
|
||||
|
||||
|
@ -63,6 +50,7 @@ a = pos(1 2 c)
|
|||
dirt="default:dirt"
|
||||
node.add(a dirt)
|
||||
```
|
||||
you can use "return" to break the currently run
|
||||
</details>
|
||||
|
||||
|
||||
|
@ -89,12 +77,13 @@ Any reasons to the script on the unit is running will be able in the "event" var
|
|||
|
||||
|event |type |channel|from_channel|msg|
|
||||
|-------------|-------------|-------|------------|---|
|
||||
|run by gui |"gui_run" |✖ |✖ |✖
|
||||
|timer |"timer" |✖ |✖ |✖
|
||||
|wire |"wire" |✔ |✔ |✔
|
||||
|digilines |"digiline" |✔ |✖ |✔
|
||||
|msesecons on |"mesecon on" |✖ |✖ |✖
|
||||
|meseconns off|"mesecon off"|✖ |✖ |✖
|
||||
|pipeworks |"pipeworks" |✖ |✖ |{item,count}
|
||||
|pipeworks |"pipeworks" |✖ |✖ |✔ (item,count)
|
||||
</details>
|
||||
|
||||
|
||||
|
@ -135,6 +124,7 @@ for(start_n end_n)
|
|||
next
|
||||
```
|
||||
max loops is 1000, dont use negative values
|
||||
use "break" to breat the loop
|
||||
</details>
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
digilines?
|
||||
mesecons?
|
||||
pipeworks?
|
Loading…
Reference in New Issue