sys4-fr
a11527ed63
Version MFF.
2018-09-07 22:32:38 +02:00
frodon1
d18bee7fa0
Fix calls to check_player_privs with player name instead of player userdata
...
Fixes #357
2017-02-27 21:56:16 +01:00
Diego Martínez
2df6dbcad9
Fix warnings issued by luacheck
.
2017-02-15 23:53:52 -03:00
Diego Martínez
9e2ebe373a
Add missing translations.
2017-02-11 04:29:37 -03:00
Vanessa Ezekowitz
2ce071ec16
fix crash in stack_sideways (typo)
2017-02-02 10:25:29 -05:00
Vanessa Ezekowitz
7623b39a33
fix crash in door placement (copy&paste error)
2017-01-31 11:52:11 -05:00
Vanessa Ezekowitz
f6aa12aef9
convert beds to param2 colorization
...
as a side effect, this also fixes the bug where you couldn't
stack beds to form "bunk" beds.
Place a bed, right-click it with dye to color it.
Place two beds side by side and they'll form a king-size bed, which
you can right right-click with dye to color.
Place a regular bed, then right-click it while wielding another
regular bed (i.e. as if you were trying to place it) and, if there
is room above the first bed, the second will be placed on top and
the bedposts on the bottom one will extend to reach it. Color
either of the two by right-clicking with dye.
Shift-right-click forces placement of a regular bed without trying
to stack it into bunks.
Right-click while NOT wielding a bed or dye will attempt to let you
sleep (via default beds code).
2017-01-30 23:22:47 -05:00
Diego Martínez
dc7b60c11f
Split I18N stuff into its own submod.
2017-01-29 21:51:07 -03:00
Vanessa Ezekowitz
4ae16c294e
always pass pointed_thing along to on_rightclick
2017-01-29 12:15:14 -05:00
Diego Martínez
0d3da0c328
Use new intllib API.
2017-01-25 00:09:18 -03:00
Foz
a14722eb98
Add support for protection_bypass priv.
...
Closes #330
2017-01-06 21:05:58 -08:00
Foz
bf0c918d4e
Fix variable name.
...
Fixes #334 .
2017-01-02 01:40:50 -03:00
Auke Kok
923198a2dd
Fix most luacheck issues.
...
There are 3 false positives remaining after this patch, so
the bulk of the issues are fixed now.
2016-12-31 12:33:46 -08:00
Auke Kok
138e078f1b
Whitespace damage fixes.
...
This is cleaned up by `cleanfile` (from the linux kernel tree
tool set).
2016-12-31 12:33:46 -08:00
placki
653f8f8b60
add shift-click support to ovens/microwaves
2016-09-29 12:45:34 +02:00
Tim
9e7ddd4a40
add listring support to homedecor inventories
2016-08-27 21:10:43 +02:00
Amaz
5d0c6c3515
Add name of item moved to all inventories. Fixes https://github.com/minetest-mods/homedecor_modpack/issues/307
2016-05-05 07:37:31 -07:00
Tim
aa0519b13b
let is_buildable_to take any number of positions
2015-09-08 17:29:17 +02:00
Tim
2896f48ed1
let selection and buildable_to checks test for content_ignore; also fixes some border cases for banisters and replacing of unknown nodes
2015-09-08 16:52:52 +02:00
Tim
d5fbfbf305
fix right click oddities of expansion nodes and make sure to always return the leftover itemstack
2015-09-08 16:24:15 +02:00
Tim
fb1b620316
add placeholders as not-buildable_to nodes, that can be set to prevent other nodes to build or expanded into expansions
...
this fixes #292
2015-09-08 09:26:40 +02:00
Tim
26a874d919
set defaults for limiting rotations on expanded nodes
2015-09-08 09:10:25 +02:00
Tim
3dc94b67cc
label abms for profiling purposes
...
see https://github.com/t4im/profiler/#labeling
2015-08-20 14:52:01 +02:00
Tim
d7c56bfcdb
clean up furnace code a bit by removing duplicate or replacing obsolete code
2015-08-20 14:27:28 +02:00
Tim
fc8621da41
manage all handler inits in their own init file
2015-08-19 22:38:10 +02:00
Tim
908b408248
register the furnaces internally via homedecor.register as well, getting rid of the last dependency on deprecated lock-code
2015-08-19 22:30:27 +02:00
Tim
9773d63e8e
only set main list size if size field is given, to allow using the locked/lockable features with different listnames
2015-08-19 22:02:04 +02:00
Tim
088269a85e
streamline locked description/infotext setting; avoid double brackets "Node (Locked) (owned by .. )"
2015-08-19 20:28:47 +02:00
Tim
b6512b3add
let the custom on_place of the expansion code call after_place_node to make sure infotexts and owners of locked nodes are being set
2015-08-19 20:20:58 +02:00
Tim
29f61bb899
spawn lockable nodes for "inventory = { lockable = true }", and migrate all lockable nodes to this mechanism, but the furnaces
2015-08-19 19:30:03 +02:00
Tim
cc79b5fc03
register a copy of the def instead of the passed def, this allows us later to spawn supporting nodes from the same original def
2015-08-19 18:48:50 +02:00
Tim
4d5975d407
allow inventories to be locked (not just have a locked version of it being spawned later, but be locked by registration)
...
the code will also be used later to replace locked.lua that spawns a locked version from an unlocked version
2015-08-19 18:00:45 +02:00
Tim
8a91865d82
allow chaining of on_construct instead of overwriting in registration function
2015-08-19 17:30:37 +02:00
Tim
2d433f9652
remove debug statements
2015-08-19 17:09:50 +02:00
Tim
2ed7ae6a56
move inventory registration functions into dedicated handler file
2015-08-19 16:14:17 +02:00
Tim
91092d99be
introduce nodebox abstractions used by fences, like corner nodeboxes, and indirectly slab_x; update fences accordingly
2015-08-19 15:32:19 +02:00
Tim
7d087815c8
fix slab_z nodebox direction inconsistencies
2015-08-19 15:06:53 +02:00
Tim
faf6cefa99
use the default background for all automatic inventory formspecs
2015-08-16 19:06:44 +02:00
Vanessa Ezekowitz
01b55f1a9a
better prediction for placing diagonals at the top of the stack
...
better prediction for placing horizontals at the top and bottom of the
stack, particularly if they're placed within 1 node of the correct spot.
2015-05-11 20:14:02 -04:00
Vanessa Ezekowitz
10b859ba59
add a horizontal banister, rename the diagonals (+alias)
...
includes just enough code to try to auto-route them as they're placed.
the "root" node is now the horizontal one - if you have diagonals and
they don't place right, they should after you dig them and place again.
2015-05-11 18:03:21 -04:00
kilbith
3f16e7dbc0
Move sit function
2015-05-11 20:21:27 +02:00
Vanessa Ezekowitz
e010bdeb27
pass outlet position to particle handler as a table rather than separate vars
2015-05-10 22:34:30 -04:00
Vanessa Ezekowitz
9c9e525cd7
make bathroom taps use the new particles code
...
also make shower tray turn off taps above it, if any
minor tweak to particles function to add Y velocity
added more detailed collision boxes to the sinks to accommodate particles
2015-05-10 22:10:26 -04:00
Vanessa Ezekowitz
12f5ac9d02
abstract the particle spawner start/stop functions
2015-05-10 21:03:50 -04:00
Vanessa Ezekowitz
c8633be1dc
add banisters, placed on side of blocks
...
when placing, code will try to determine if the bannister should be
left- or right-sided. Defaults to left-sided; hold shift while placing
to force right-sided.
2015-04-27 03:09:37 -04:00
Vanessa Ezekowitz
67d4da05f6
make king size placement work right-first as well as left-first
2015-04-22 04:50:49 -04:00
Vanessa Ezekowitz
5cb73ffa7e
Add king-sized bed model
...
create it by placing two twins of the same color side by side, left first
also moved the bed extension functions into handlers/expansion.lua,
renamed them, and made a few other minor tweaks to that file accordingly.
2015-04-22 00:43:22 -04:00
Vanessa Ezekowitz
34b05db22e
use mesh nodes for refrigerators
2015-03-21 01:11:31 -04:00
Tim
db703e555d
add sanity check to avoid cases in which expanded items would be placed against unknown nodes into other unknown nodes as pointed_think.above node
...
this resolves #205
2015-03-03 18:53:02 +01:00
Tim
af402c56a5
also avoid facedir setting for plantlike, raillike and firelike to avoid clashes if paramtype is used internally in the engine for something else
2015-02-05 10:51:34 +01:00