Commit Graph

867 Commits

Author SHA1 Message Date
Wuzzy
1b513d2111 Fix sounds of pressure plates, change groups 2018-01-28 21:14:54 +01:00
Wuzzy
6f1ff24474 Add sounds for wires and piston heads 2018-01-28 20:56:42 +01:00
20kdc
065e870349 Improve LuaController security (#393)
Fixes:
1. Lack of 'safe' on minetest.deserialize usage
2. String sandbox bypass via (""):evil()
3. Loss of upcoming digilines messages on server shutdown
4. LCs failing to show information on some errors
5. Interrupt IDs as infinite data storage
2018-01-22 14:26:21 +03:00
Wuzzy
fec82ab246 Sticky block: Add texture, sounds and groups (#397) 2018-01-18 22:01:53 +03:00
CloudyProton
02f8d29170 Microcontroller craft fallbacks for detectors (#390)
Register both luacontroller and microcontroller variations of detector craft recipes.
2018-01-14 23:21:43 +03:00
Christopher Head
2b096f050d Limit and optimize digiline_send (#379)
* Close vulnerability and optimize digiline_send

`digiline_send` as it previously existed was vulnerable to a
time-of-check-to-time-of-use vulnerability in which a table could be
sent, size-checked, and then modified after the send but before
delivery. This would allow larger tables to be sent. It was also slow
because it called `minetest.serialize`. Fix both of these by
implementing custom message cleanup logic which simultaneously computes
the message’s cost.

* Clean up interaction with Digilines

Use `minetest.global_exists` to avoid an undefined global variable
warning when operating a Luacontroller with Digilines not available. Use
the new `digilines` table in preference to the old `digiline` table.

* Copy received messages

When a Digiline message is received at a Luacontroller, copy it so that
local modifications made by the Luacontroller code will not modify
copies of the table that are being passed to other nodes on the Digiline
network.
2018-01-13 22:27:00 +03:00
DS
993fdedd8c Check for falling after piston pusher removal (#392) 2018-01-07 01:32:15 +03:00
DS
ff0bd76efe Set is_ground_content to false (#386) 2017-11-01 00:50:39 +03:00
DS-Minetest
db39eef2f6 Make the fpga overheat 2017-10-29 21:19:08 +01:00
number Zero
f78937b351 Fix typo 2017-10-21 17:05:09 +03:00
Vitaliy
cc860acf8a Publish some LuaC API (#348) 2017-10-18 22:54:28 +03:00
DS
748446b3cc MVPS: pull objects (#374) 2017-10-18 22:53:22 +03:00
DS
1b10610f92 Check for falling nodes on MVPS move (#371) 2017-10-18 22:40:25 +03:00
Diogo Gomes
4f400f3fae Add bower compatibility (#347) 2017-10-15 17:40:44 +03:00
DS
7094f0b606 Improve movestones (#366)
Improve the code and add vertical movestones
2017-10-08 19:41:22 +03:00
number Zero
b08e93fc8b Remove obsolete nodeupdate call
It wasn't necessary, actually.
2017-10-08 19:20:24 +03:00
DS
928f04fa9c Rewrite pistons (#362) 2017-10-08 19:21:19 +03:00
DS
c4a1aa0b98 MVPS: Improve object move (#367) 2017-10-08 18:18:47 +03:00
DS
37eb7f00e8 Improve rules and rule handling (#370) 2017-10-08 02:39:02 +03:00
DS
905260c8db Handle blasts (#356) 2017-10-07 01:44:49 +03:00
DS
8999597df2 Support an on-move callback (#363) 2017-10-06 00:09:48 +03:00
DS
0b3039e9a9 Make removestone check nodes above for falling (#357)
Fixes a part of #290.
2017-10-04 01:19:09 +03:00
DS
1f5601661e Do not reset conductor param2 on place (#364) 2017-10-04 00:55:33 +03:00
DS-Minetest
fa58607546 fpga: Make rotatable with screwdrivers 2017-10-03 17:46:58 +02:00
DS
1963d8b3d5 Prevent wires from being rotated (#365) 2017-09-19 18:12:00 +03:00
Wuzzy
954262d016 Add 6 new lightstone colors (#329)
Cyan, magenta, orange, pink, violet and white.
2017-09-18 01:38:55 +03:00
DS
3ef8ae01e7 Add conversation recipes for Lua- and Microcontroller (#354) 2017-09-11 21:26:37 +02:00
DS
42cd973921 Do not stop node timers on mvps move (#359) 2017-09-11 21:26:04 +02:00
DS
36a6419481 Fix active button staying on forever (#355) 2017-09-03 21:27:31 +03:00
number Zero
564bdc2d9b Fix crash when error()ing an invalid value
See #337 for details.
2017-05-08 17:34:30 +03:00
DS
f9ebbdc0fb Make LuaC formspec bigger (#338) 2017-05-08 02:59:57 +04:00
sfan5
4dcc7fb32f Update github links in the README 2017-04-21 21:33:21 +02:00
numberZero
54b9eaffa2 Improve overheating (#334)
New overheating system that doesn’t use the meta.
2017-04-14 23:14:17 +04:00
Josh Mars
2554164674 Improve object and node detectors
* Support detection of multiple players in object detector
* Add distance parameter to node detector
* Fix area protection
2017-03-31 12:11:40 +02:00
Wuzzy
967bde284a Spell-check and clarify item names
* Fix inconsistent insulated mesecon names
* Clarify lightstone names
* Rename meselamp to "Mesecon Lamp"
* Use capitalization "Luacontroller" consistently
* Cleanup / improvements for logic gate naming
2017-03-07 19:04:05 +01:00
DS
d80c788fab Change sticky movestone craft recipe
It used to be so that you could gain two sticky movestones out of one normal one,
this didn't make much sense.
2017-03-04 09:10:44 +01:00
Wuzzy
03ab151c87 Fix active ghoststones being droppable with sand
Fixes #289
2017-02-15 23:00:02 +01:00
Vanessa Ezekowitz
dd2b36c41c fix wrong UV mapping on "on" turbine blades 2017-02-13 14:24:29 -05:00
Vanessa Ezekowitz
0cb286b425 Merge pull request #321 from Jeija/animated_turbine
Make "on" water turbine animated!
2017-02-12 19:56:29 -05:00
Vanessa Ezekowitz
46cbc76988 make "on" water turbine animated!
This uses a fairly simple trick: the textures are animated, while the
model is static and has a number of rotated copies of the parts that are
seen to move (four copies of the blades, eight copies of the top/bottom
and their edges).  The opaque parts of the textures then decide which of
those faces' copies are visible in each frame.
2017-02-12 13:57:30 -05:00
Vanessa Ezekowitz
fa3bd19270 fix Z-fighting on water turbine 2017-02-12 10:56:54 -05:00
sfan5
2bc3c5d97c fpga: Make formspec usage less prone to breakage 2017-01-28 11:54:27 +01:00
sfan5
07d074075c FPGAs (#315) 2017-01-28 11:33:13 +01:00
sfan5
5188853014 Make descriptions of insulated wires consistent
This allows finding all of them by searching
"insulated" in the creative menu.
2017-01-22 13:39:10 +01:00
sfan5
7667e7d8c5 Fix Lua error with microcontrollers
caused by an oversight in ececf525b6
2017-01-19 16:31:36 +01:00
sfan5
ececf525b6 Fix remaining namespace pollutions (closes #311) 2017-01-15 23:12:13 +01:00
Jeija
54daee236e Luacontroller: Revert function stripping from digiline messages 2017-01-15 20:11:12 +01:00
sfan5
c2e3d7c4e5 Fix most of the namespace pollutions reported in #311 2017-01-15 11:53:49 +01:00
DS-Minetest
7415036f5b Make insulated cossover to mesh
This removes the weird "holes" in the isolation of the crossing
2017-01-02 14:59:52 +01:00
Carter Kolwey
1bd936ad8c Properly handle rotation of buttons / levers
Buttons and levers can now also be pointed upwards / downwards which will make them connect to corresponding up / down receivers. You will need to use the screwdriver for this.

Receivers cannot be rotated using the screwdriver anymore.
2017-01-02 14:51:28 +01:00