disable mobs and slime, update bags
@ -1,5 +1,14 @@
|
|||||||
local old_nodes = {"flowers:flower_seaweed"}
|
local old_nodes = {"flowers:flower_seaweed"}
|
||||||
local old_entities = {}
|
local old_entities = {
|
||||||
|
"mobs:dirt_monster",
|
||||||
|
"mobs:stone_monster",
|
||||||
|
"mobs:sand_monster",
|
||||||
|
"mobs:sheep",
|
||||||
|
"mobs:meat_raw",
|
||||||
|
"mobs:meat_rat",
|
||||||
|
"mobs:oerkki",
|
||||||
|
"slimes:small",
|
||||||
|
}
|
||||||
|
|
||||||
for _,node_name in ipairs(old_nodes) do
|
for _,node_name in ipairs(old_nodes) do
|
||||||
minetest.register_node(":"..node_name, {
|
minetest.register_node(":"..node_name, {
|
||||||
|
0
mods/_disabled/init.lua
Normal file
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 920 B After Width: | Height: | Size: 920 B |
Before Width: | Height: | Size: 1016 B After Width: | Height: | Size: 1016 B |
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 493 B |
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 525 B |
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 496 B |
Before Width: | Height: | Size: 506 B After Width: | Height: | Size: 506 B |
@ -76,7 +76,7 @@ minetest.register_on_joinplayer(function(player)
|
|||||||
end,
|
end,
|
||||||
allow_take = function(inv, listname, index, stack, player)
|
allow_take = function(inv, listname, index, stack, player)
|
||||||
if player:get_inventory():is_empty(listname.."contents")==true then
|
if player:get_inventory():is_empty(listname.."contents")==true then
|
||||||
return stack:get_size(listname)
|
return stack:get_count()
|
||||||
else
|
else
|
||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
|