cron
3a210fef57
turtle/tlang: fix nextpop bug, improve value conversion
2020-11-06 16:20:04 +00:00
cron
0df741ab4c
turtle: improve coordinate handling and task scheduling
2020-11-06 16:18:56 +00:00
cron
cd1805ce25
turtle/tlang: add args builtin
...
Also fixes some bugs regarding exiting code blocks.
2020-11-06 00:54:06 +00:00
cron
cd0eb1b192
turtle/tlang: add WIP API
...
Some things aren't _raw, other things are, its WIP
2020-11-06 00:13:21 +00:00
cron
ba9a07d262
turtle: add public domain dedications
2020-11-05 23:20:28 +00:00
cron
455f20fa06
turtle: add .tlang, fix print log
2020-11-05 23:17:41 +00:00
cron
b09c6024ef
turtle/tlang: log prints
2020-11-05 19:55:55 +00:00
cron
bfba03a87b
turtle: fix tlang integration
2020-11-05 19:53:35 +00:00
cron
9ca4c0fc79
turtle: remove unneeded code
...
Other functions need to be replaced with tlang cogs.
2020-11-05 19:18:08 +00:00
cron
4c94ff4390
turtle: add tlang scheduler
2020-11-05 19:13:57 +00:00
cron
91ef7215e7
turtle/tlang: make more modular
2020-11-05 18:58:25 +00:00
cron
f6115ade95
turtle/tlang: remove unecessary dofile replacement
2020-11-05 18:49:45 +00:00
cron
8a3810a2ed
autodupe: add automatic duping harness CSM
...
Currently nonworking, some promising methods but nothing concrete thus far.
2020-11-05 18:47:19 +00:00
cron
9d6d791073
turtle/tlang: add repeat
...
{code} count <var> repeat
2020-11-05 06:49:55 +00:00
cron
5dd14439ac
turtle/tlang: allow unary operators to assign to quotes, add more operators
...
`var -- is now possible
Added + - / % !
2020-11-05 03:15:12 +00:00
cron
d3b2d308da
turtle/tlang: make = assign to nearest defined
...
If identifier has never been assigned, assign it in current scope
If it has been assigned, reassign it at that scope to value
Needs a global assignment and local assignment, maybe rename = to set or something
2020-11-05 02:52:48 +00:00
cron
e0ea0033ec
sapscaffold: allow place_node when buildable_to
2020-11-05 01:47:46 +00:00
cron
4b252170ea
clientmods/world: remove duplicate CSM
2020-11-05 01:21:34 +00:00
cron
d22a587543
df/inventory: remove odx restoration
...
this would happen too quick, since anticheat would see the wrong tool being used after mine
this would prevent blocks from being broken
2020-11-05 01:09:58 +00:00
cron
61b041ffe0
clientmods/inventory: fix duplicate CSMs
2020-11-05 00:50:10 +00:00
cron
c973e4e085
sapscaffold: add small sapling scaffold CSM
2020-11-04 23:23:31 +00:00
cron
b83a098a91
minetest.register_cheat: fix multiple definition
2020-11-04 23:22:43 +00:00
cron
9fd49d876b
turtle/tlang: force beginning and end of string literals to match
2020-11-04 19:20:02 +00:00
cron
752a72a478
turtle/tlang: add while
2020-11-04 19:19:36 +00:00
cron
d324d9ed10
turtle/tlang: make access() search for newest locals first, globals last
2020-11-04 06:46:43 +00:00
cron
9f8aa05b50
turtle/tlang: fix copying error with = builtin
2020-11-04 03:03:53 +00:00
cron
c65e72116e
turtle/tlang: add forever and some other builtins
...
With forever, break, and (basic) if for and while can be made.
2020-11-04 02:57:48 +00:00
cron
03389880af
turtle/tlang: add comments, fix strings
...
Strings support '' syntax now. They can also be started with ' and ended with " or vice versa, and there is no way to put a literal ' in yet.
2020-11-04 02:55:08 +00:00
cron
957d425609
turtle/tlang: add run builtin
...
This changes how code is executed a bit, code from the stack is popped to an execution stack before.
This makes global executed functions and anonymous ones identical.
Not super well tested as always :]
2020-11-03 07:06:59 +00:00
cron
0a3d331680
turtle/tlang: fix lexer whitespace issues
...
This fixes the final whitespace issue as well as numbers requiring a final whitespace.
Maps don't need surrounding whitespace anymore.
2020-11-03 07:05:27 +00:00
cron
a7e6ce6493
Merge branch 'master' of repo.or.cz:waspsaliva
2020-11-01 17:38:38 +00:00
cron
8f5dbbb1ba
chatcommands: fix duplicate definition functions
2020-11-01 17:35:02 +00:00
cora
7ad3089d37
removed df chatcommand fuckery
2020-11-01 18:11:16 +01:00
cora
c91f9cdc8c
lol
2020-11-01 17:17:22 +01:00
cora
00e81bfe3e
added missing ws cheats ... time spent meaningful ... ^
2020-11-01 17:12:45 +01:00
cora
e4a04a5079
autoeat: fixed stupid mistake
2020-11-01 16:58:32 +01:00
cora
2c7f135925
autofly: fixed autoSprint to reset correctly
2020-11-01 16:28:27 +01:00
cora
182a28e197
autofly: removed image test
2020-11-01 16:21:54 +01:00
cora
1a5f55d893
autoeat: added seperate setting for timed autoeat
2020-11-01 16:16:39 +01:00
cora
2b63530751
autoeat: set conditional eating interval to 5 mins
2020-11-01 16:13:30 +01:00
cora
307883157d
autoeat: timed eat when certain things are happening
2020-11-01 16:09:09 +01:00
cron
d47ce9b310
turtle: add working tlang
...
Not very well tested, needs a better public API, not integrated with Minetest, ...
This is WAY bigger than a commit should be.
The next stages will be:
- unit tests
- API (allows it to be more than just a language for this project)
- integration with Minetest
2020-11-01 02:55:54 +00:00
cora
454e2be8ff
add ws cheats to cheat.lua ... why, fleck, why ? :D
2020-11-01 00:20:41 +01:00
cora
70020d7b08
remove weird cheat def thingy
2020-10-31 23:02:29 +01:00
cron
0f420b14ac
turtle: some weird ideas before the turtle language is added
2020-10-30 23:00:40 +00:00
cora
2c2ecbf80d
invA: add more missing lua
2020-10-30 13:57:25 +01:00
cora
7f9701c641
inventoryAction: add missing lua function
2020-10-30 13:55:51 +01:00
cora
ae0296b1fd
merge dragonfire inventoryAction
2020-10-30 13:33:50 +01:00
cora
561b48a6d6
add random screenshot csm
2020-10-27 17:53:45 +01:00
cora
a64e49dfe9
csm-api: add take_screenshot()
2020-10-27 14:46:39 +01:00