83d4264d8a
Fixes formatting.
2015-11-14 11:59:19 +00:00
853dcc50d5
xpcall banned.
...
It blocks errors. The timeout relies on errors. I see a recipe for
disaster...
2015-11-14 11:49:27 +00:00
564bb31c49
fixed string parsing...I thought I tested this!
...
Apparently I messed up string parsing. I thought I had tested this-maybe
I only tried a empty string or something.
Also, warning for future people reading this saga of insanity: Do not
write code while tired.
2015-11-14 11:49:27 +00:00
39809ceda4
Removed debugging print of code *sigh*
...
...I seem to be rather forgetful today.
2015-11-14 11:49:27 +00:00
197c1133db
Fixed lua pattern error interpreting () incorrectly
...
...Well, that was stupid.
2015-11-14 11:49:27 +00:00
1d151d2ffb
Fixed bugs around pcall/xpcall and a lexer messup
...
pcall and xpcall no longer magically disable the infinite loop
security(Note: This can actually crash a server, even without the
ability to use loops), and the lexer now continues lexing after a
unknown character instead of rolling it all into cleanup.
2015-11-14 11:49:27 +00:00
dd3b06cfd8
Allowed loops & fixed certain strings
...
I've added a simple lexer to work out the correct places to add dummy
code, which fixes the problem mentioned in code_prohibited.
This means LuaControllers are no longer restricted to simple
conditionals, but should still be safe for server owners.
Furthermore, the lexer prevents accidentally matching text in strings.
2015-11-14 11:48:55 +00:00
b89fe52469
Luacontroller: Add configurable size limit for mem table, 100kBytes by default, fixes #240
...
If size limit is exceeded, the luacontroller overheats. Overheating will cause the memory
to be erased.
2015-10-18 11:28:35 +02:00
97f7b5745f
Remove trailing whitespace
2015-10-04 13:30:34 +02:00
24958e253b
Revert "Do not send action_off signal when newly placing nodes"
...
This caused #238 , reverting that commit fixes #238 .
This reverts commit 30468b09cf
.
2015-10-04 12:30:04 +02:00
0e7f68ea92
Doors: Use new sound name ( fixes #236 )
2015-10-04 12:21:35 +02:00
6ef3b965df
Merge pull request #239 from beyondlimits/master
...
Use right mouse button instead of left to press button and change state of switch and lever.
2015-10-04 12:09:15 +02:00
6e326a6a03
Use right mouse button instead of left to press button and change state of switch and lever.
2015-10-01 19:13:12 +02:00
d95ccf86f8
update "sticky block" to use 0.4.13-style footprints
2015-08-25 20:23:23 -04:00
d0354d0dab
Fix #234
2015-07-27 11:51:02 +02:00
fec43a3243
reworked hydroturbine model for the same reasons
...
also shrunk the base part down by a very tiny amount to help avoid z-fighting with neighboring
water (scaled to 0.9995 percent)
2015-05-20 03:40:59 -04:00
5612f84243
revamp wall lever models
...
corrected misaligned verticies, removed doubles, made better UV maps that use multiple
materials (allows to use multiple small textures)
2015-05-20 03:00:06 -04:00
3066346d75
Merge pull request #233 from technomancy/default-light-max
...
Don't refer to LIGHT_MAX global; use default.
2015-05-11 07:08:24 +02:00
52ea2c3c66
Don't refer to LIGHT_MAX global; use default.
...
The LIGHT_MAX global is created in the legacy.lua file in the default
mod; it states that it's there for backwards compatibility, but it would
be better to reference the proper value inside the default table.
2015-05-11 11:28:56 +07:00
b6ae419b00
Return if invalid parameters are given to node_detector_scan (e.g. unloaded area), should fix #228
2015-03-26 07:29:34 +01:00
a6d0a523ba
Add support for sticky blocks for pistons and a a sample sticky block
2015-02-28 13:42:39 +01:00
aa5538a734
Fix pressure plates calling receptor_on on a regular basis
2015-02-25 21:01:00 +01:00
eb416475cc
Re-add mesecon.register_mvps_unmov(objectname) since other mods (pipeworks) are using it
2015-02-19 14:27:20 +01:00
1ee3b2107d
Fix movestones sometimes not starting to move again when they are at the
...
end of the wire
2015-02-17 20:02:24 +01:00
1df6e5a03b
Rewrite movestones, make them nodes instead of entities
2015-02-14 13:35:50 +01:00
b7076e635c
Merge pull request #222 from MT-Modder/stoppers-2
...
Register only locked nodes as stoppers
2015-02-14 09:22:56 +01:00
6d9f44455c
Register only locked nodes as stoppers
...
This was suggested here:
https://github.com/Jeija/minetest-mod-mesecons/pull/216
2015-02-13 23:58:36 -05:00
8bf5b7d0e4
Fix #219 , do not try to override unregistered doors
2015-02-14 00:02:19 +01:00
14281a1bd4
Merge pull request #221 from MT-Modder/remove-from-group
...
Remove insulated t-junction and crossover from craftable group
2015-02-13 23:51:42 +01:00
1d93a51f6e
Remove insulated t-junction and crossover from craftable group
2015-02-13 17:02:09 -05:00
639fc8988e
Fix onstate sticky piston drop: Must be sticky instead of normal piston
...
Thanks to HybridDog for spotting that
2015-02-05 20:26:51 +01:00
a9ec0a10c0
Merge pull request #216 from MT-Modder/mvps-additions
...
Register chests and bookshelves as stoppers
2015-02-05 16:23:58 +01:00
775d250112
Add meshes for water turbine and and wall lever instead of nodeboxes
...
Adjust textures and inventory images to it
2015-02-05 15:40:08 +01:00
3c06da7908
Register chests and bookshelves as stoppers
2015-02-05 00:57:33 -05:00
11cf727bfb
Added more sounds to noteblocks, see the documentation on http://mesecons.net for more information
2015-02-04 19:45:17 +01:00
30468b09cf
Do not send action_off signal when newly placing nodes, this didn't
...
cause any bugs, but unneccessary sounds (experimental change)
2015-02-03 20:07:58 +01:00
a895715720
Prepare trapdoors code for merging, make trapdoors always toggle their
...
state when the mesecons signal changes, no matter what state they're in
2015-02-03 18:10:49 +01:00
94604e890c
Add trapdoor to mesecons_doors
2015-02-02 19:20:44 -05:00
ac0e062281
Merge pull request #211 from MT-Modder/master
...
Use dye for lightstone recipes
2015-01-23 19:38:57 +01:00
562cee7438
Rewrite doors:
...
* Enable glass and obsidian glass doors to be used with mesecons
* Doors can receive signals from a vertical wire placed two
blocks beneath them, use this to create mesecon-controlled
double doors
* Fix textures for both git upstream and stable minetest_game
* Shrink code size
* Rename mesecons_compatibility to mesecons_doors.
2015-01-22 17:27:29 +01:00
a33859574c
Use dye for lightstone recipes - for balance
2015-01-21 13:45:27 -05:00
09bb11d3e5
Merge pull request #210 from MT-Modder/master
...
Fix doors texture names
2015-01-21 06:51:46 +01:00
cb598cbe18
Fix doors texture names
2015-01-20 16:13:50 -05:00
aed4d3997b
Merge pull request #208 from MT-Modder/master
...
Use group:sapling for power plant, blinky plant recipes
2015-01-20 21:27:48 +01:00
1509510262
Use group:sapling for all recipes
2015-01-20 13:28:44 -05:00
d6b53a2962
Merge pull request #202 from dora71/master
...
Silicon production from normal and desert sand
2015-01-12 18:41:40 +01:00
eb3ad9e537
Update init.lua
...
Ability to produce silicon either from "normal" sand or from desert sand.
2015-01-12 09:53:10 +01:00
3c82e2fc3a
Merge pull request #199 from 163140/master
...
Allow using any node in group:sapling for making glue
2015-01-09 15:43:18 +01:00
f02ccdfa5d
Making glue from any sapling
...
Moretree and Ethereal mods add a lot of saplings
2015-01-09 11:54:32 +00:00
80648b6c14
Fix #198 by adding gates to the "overheat" group
2015-01-03 14:04:18 +01:00