Novatux
|
34e0a0ca0f
Add tool callback
|
11 years ago |
Novatux
|
4e5760a541
Fix minetest.facedir_to_dir when param2 is 5 or 7.
|
11 years ago |
PilzAdam
|
731392866f
Allow to manually specify param2 in minetest.item_place() and return success
|
11 years ago |
BlockMen
|
7b13d119ed
Add support for different drowning damage and allow drowning in other nodetypes
|
11 years ago |
hdastwb
|
a0f5b70568
added (optional) support for 6d facedir in dir_to_facedir and added facedir_to_dir
|
11 years ago |
PilzAdam
|
caf0b67e47
Remove unnecessary debug output in node_dig()
|
11 years ago |
Lord89James
|
90b095aa54
Infinite tools in creative mode
|
11 years ago |
sapier
|
ab43377577
Move scriptapi to separate folder (by sapier)
|
11 years ago |
PilzAdam
|
9ff8012655
Return an ItemStack in minetest.item_place() if nodes' on rightclick doesnt return it
|
11 years ago |
0gb.us
|
02cbb58107
Fix node replacement in not-quite-loaded chunks
|
11 years ago |
PilzAdam
|
ef6b8bee07
Drop nodes as items when dugged and no room in inventory and dont remove dropped items when no room in inventory
|
12 years ago |
PilzAdam
|
fc61c8809b
Dont drop tools on rightclick
|
11 years ago |
PilzAdam
|
86b906d015
Fix minetest.item_place_node() and minetest.item_drop() to always return an ItemStack
|
11 years ago |
RealBadAngel
|
b1019a88ba
Fix to on_rightclick not able to change wielded_item
|
11 years ago |
PilzAdam
|
28f5b55643
Dont call on_rightclick() if sneak is pressed
|
11 years ago |
PilzAdam
|
5bc14e2fe4
Add on_rightclick(pos, node, clicker) callback for nodes
|
12 years ago |
PilzAdam
|
29c17c14f1
Add ability to change the itemstack in placenode callbacks
|
12 years ago |
Ilya Zhuravlev
|
eeb0900291
Fix minetest.get_node_drops(). It should always return list of item names, not ItemStack(s).
|
12 years ago |
PilzAdam
|
fa50341a71
Only check attachment for nodes with group attached_node
|
12 years ago |
PilzAdam
|
fa76057e7f
Add the group attached_node
|
12 years ago |
Perttu Ahola
|
d53a6cd851
Add overridable function for handling dropped items from nodes
|
12 years ago |
Perttu Ahola
|
0b1ab41a95
Fix github issue #213: Dropping unknown items crashes the game
|
12 years ago |
Matthew I
|
1ed559bd24
Allow digging of unknown nodes
|
12 years ago |
Perttu Ahola
|
0a18dda158
Remove special handling of creative mode
|
12 years ago |
Perttu Ahola
|
9eaf93d41d
Detached inventory callbacks and reworked node metadata callbacks
|
12 years ago |
Perttu Ahola
|
96eac87d47
builtin/item.lua: callbacks with copies of positions and nodes rather than recycle the same ones, which callbacks can modify
|
12 years ago |
Perttu Ahola
|
e8331f0c1d
Add oldnode parameter to minetest.register_on_placenode callback
|
12 years ago |
Perttu Ahola
|
c009aa3a22
Fix building on top of (pointable && buildable_to) nodes
|
12 years ago |
Perttu Ahola
|
0b61253931
Actually fix facedir-rotated nodes placed using minetest.env:place_node()
|
12 years ago |
darkrose
|
f21af8da9c
Handle nil placer as it might occur when using minetest.env:place_node. (Uberi)
|
12 years ago |