ShadowNinja
|
c9b64206f9
Fix error when calling minetest.node_punch without a pointed_thing
|
10 years ago |
ShadowNinja
|
76d4396fa1
Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacks
|
10 years ago |
ShadowNinja
|
1b5b6fe692
Add pointed_thing to minetest.register_on_placenode
|
10 years ago |
Novatux
|
e21b29f422
Deepcopy pointed_thing for after_place_node, give it to on_rightclick too.
|
11 years ago |
ShadowNinja
|
c46574f30f
Pass pointed_thing to after_place_node
|
11 years ago |
Novatux
|
8e1d78e9de
Revert "Fix minetest.facedir_to_dir when param2 is 5 or 7."
|
11 years ago |
kwolekr
|
9a927476ca
Change default value of is_ground_content to true
|
11 years ago |
ShadowNinja
|
06a5eceb81
Add basic protection support to builtin
|
11 years ago |
0gb.us
|
53ab2f8def
Fixed ignoring of "diggable" property of nodes.
|
11 years ago |
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 |