Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove add_firefly() and add_rat()
  • Loading branch information
PilzAdam committed May 24, 2013
1 parent 31a74ed commit 866f7b8
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions mods/legacy/init.lua
Expand Up @@ -78,19 +78,6 @@ minetest.register_alias("scorched_stuff", "default:scorched_stuff")
minetest.register_craftitem(":rat", {
description = "Rat",
inventory_image = "rat.png",
on_drop = function(item, dropper, pos)
minetest.add_rat(pos)
item:take_item()
return item
end,
on_place = function(item, dropped, pointed)
pos = minetest.get_pointed_thing_position(pointed, true)
if pos ~= nil then
minetest.add_rat(pos)
item:take_item()
return item
end
end
})

minetest.register_craftitem(":cooked_rat", {
Expand All @@ -103,19 +90,6 @@ minetest.register_craftitem(":firefly", {
description = "Firefly",
inventory_image = "firefly.png",
groups = {not_in_creative_inventory=1},
on_drop = function(item, dropper, pos)
minetest.add_firefly(pos)
item:take_item()
return item
end,
on_place = function(item, dropped, pointed)
pos = minetest.get_pointed_thing_position(pointed, true)
if pos ~= nil then
minetest.add_firefly(pos)
item:take_item()
return item
end
end
})

minetest.register_craft({
Expand Down

0 comments on commit 866f7b8

Please sign in to comment.