[Mod] World Action Script (programming+ electronics) [was]
[Mod] World Action Script (programming+ electronics) [was]
Depends: none
Licenses: code: LGPL-2.1, media: CC BY-SA-4.0
Version: 1
Source
Download:
Just programming ingame
This is a basic programing/language (not lua), that you can do in game, even players can do it becaouse functions requires privileges to be used.
Also some functions requires the "was" privilege to be able.
find info about functions in the gui.
Find Instruktions here
- Attachments
-
- screenshot_20190116_182611.png (177.05 KiB) Viewed 521 times
-
- screenshot_20190108_131229.png (128.66 KiB) Viewed 521 times
Last edited by AiTechEye on Sun Jan 20, 2019 21:47, edited 19 times in total.
- MCL
- Member
- Posts: 654
- Joined: Mon Aug 20, 2018 00:44
- GitHub: MCLx86
- IRC: migdyn
- In-game: singleplayer
- Contact:
Re: [Mod] World Action Script (ingame programming) [was]
Looks good
2014-02-14 - 2024-02-14 TEN YEARS OF MCL
Re: [Mod] World Action Script (ingame programming) [was]
corrently it works with
mesecons, digilines and pipeworks
also have its own kind of wire.
the for loop is currently messing, (print was messing) but otherwise everything should work.
im also working to add tables / datatype (will mess with all the other datatypes)
event is send as the variables, im working to add them as event.type, event.channel etc..
everything should work fine
event.type=="timer"
event.type=="wire")
event.channel, event.msg event.from_channel (slower then digilines, but safer cuz you can see what it sent from)
event.type=="mesecon on"
event.type=="mesecon off"
event.type=="digiline"
event.channel event.msg
event.type=="pipeworks"
even.msg={item count}
is anyone using this mod?
the goal is to make it much more than the lua controller, and more units...
mesecons, digilines and pipeworks
also have its own kind of wire.
the for loop is currently messing, (print was messing) but otherwise everything should work.
im also working to add tables / datatype (will mess with all the other datatypes)
event is send as the variables, im working to add them as event.type, event.channel etc..
everything should work fine
event.type=="timer"
event.type=="wire")
event.channel, event.msg event.from_channel (slower then digilines, but safer cuz you can see what it sent from)
event.type=="mesecon on"
event.type=="mesecon off"
event.type=="digiline"
event.channel event.msg
event.type=="pipeworks"
even.msg={item count}
is anyone using this mod?
the goal is to make it much more than the lua controller, and more units...
- Attachments
-
- screenshot_20190112_111112.png (222.93 KiB) Viewed 521 times
Re: [Mod] World Action Script (programming+ electronics) [wa
print and some units can still mess, but everything else should work fine
and if someone wonder, i made a program language just to try to make one.
and if someone wonder, i made a program language just to try to make one.
Who is online
Users browsing this forum: No registered users and 45 guests