2018-08-22 08:56:23 +02:00

70 lines
3.2 KiB
Lua

-- 2018-06-20 removed smartrent mod
minetest.register_alias("smartrenting:panel", "air")
-- 2018-06-20 update hunger mod and removed sprint mod
-- fast priv retroactive
minetest.register_on_joinplayer(function(player)
-- Not needed for stamina mod
--if not minetest.check_player_privs(player, { fast=true }) then
-- local privs = minetest.get_player_privs(player:get_player_name())
-- privs.fast = true
-- minetest.set_player_privs(player:get_player_name(), privs)
--end
-- 2018-08-07 home priv
if not minetest.check_player_privs(player, { home=true }) then
local privs = minetest.get_player_privs(player:get_player_name())
privs.home = true
minetest.set_player_privs(player:get_player_name(), privs)
end
end)
-- 2018-08-08 cookable stairs
minetest.register_craft({
type = "cooking",
output = "moreblocks:stair_stone",
recipe = "moreblocks:stair_cobble",
})
-- 2018-08-22 removal of ranged weapons
minetest.register_alias("rangedweapons:shell", "default:cobble")
minetest.register_alias("rangedweapons:gold_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:electrogun", "default:cobble")
minetest.register_alias("rangedweapons:handgunshot", "default:cobble")
minetest.register_alias("rangedweapons:leenfield", "default:cobble")
minetest.register_alias("rangedweapons:mese_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:scout", "default:cobble")
minetest.register_alias("rangedweapons:wooden_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:energycharge", "default:cobble")
minetest.register_alias("rangedweapons:boomstick", "default:cobble")
minetest.register_alias("rangedweapons:javelin", "default:cobble")
minetest.register_alias("rangedweapons:bereta", "default:cobble")
minetest.register_alias("rangedweapons:awp", "default:cobble")
minetest.register_alias("rangedweapons:sawedoff", "default:cobble")
minetest.register_alias("rangedweapons:steel_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:makarov", "default:cobble")
minetest.register_alias("rangedweapons:rifleshot", "default:cobble")
minetest.register_alias("rangedweapons:diamond_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:taurus", "default:cobble")
minetest.register_alias("rangedweapons:python", "default:cobble")
minetest.register_alias("rangedweapons:bronze_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:revolvershot", "default:cobble")
minetest.register_alias("rangedweapons:deagle", "default:cobble")
minetest.register_alias("rangedweapons:9mm", "default:cobble")
minetest.register_alias("rangedweapons:spas12", "default:cobble")
minetest.register_alias("rangedweapons:colt45", "default:cobble")
minetest.register_alias("rangedweapons:stone_shuriken", "default:cobble")
minetest.register_alias("rangedweapons:javelint", "default:cobble")
minetest.register_alias("rangedweapons:jackhammer", "default:cobble")
minetest.register_alias("rangedweapons:mosinnagant", "default:cobble")
minetest.register_alias("rangedweapons:laser", "default:cobble")
minetest.register_alias("rangedweapons:10mm", "default:cobble")
minetest.register_alias("rangedweapons:375", "default:cobble")
minetest.register_alias("rangedweapons:lasershot", "default:cobble")