ckam: rename to kamikaze since it finds other stuff too now

This commit is contained in:
cora 2020-11-30 01:03:51 +01:00
parent f1e940bdb2
commit 3fa1c48df1
2 changed files with 4 additions and 4 deletions

View File

@ -90,7 +90,7 @@ local function stopflight()
end
minetest.register_globalstep(function()
if not minetest.settings:get_bool("crystalkamikaze") and not minetest.localplayer:get_name():find("kamikaze") then
if not minetest.settings:get_bool("kamikaze") and not minetest.localplayer:get_name():find("kamikaze") then
if hud_wp then
minetest.localplayer:hud_remove(hud_wp) hud_wp=nil
minetest.settings:set_bool("continuous_forward",false)
@ -118,8 +118,8 @@ minetest.register_globalstep(function()
end)
minetest.register_on_death(function()
if not minetest.settings:get_bool("crystalkamikaze") then return end
if not minetest.settings:get_bool("kamikaze") then return end
fnd=false
end)
minetest.register_cheat("CrystalKamikaze", "Combat", "crystalkamikaze")
minetest.register_cheat("Kamikaze", "Combat", "kamikaze")

View File

@ -38,5 +38,5 @@ load_mod_autocraft = true
load_mod_quint = true
load_mod_automt = true
load_mod_nlist = true
load_mod_crystalkamikaze = true
load_mod_kamikaze = true
load_mod_muse = true