ckam: rename to kamikaze since it finds other stuff too now
This commit is contained in:
parent
f1e940bdb2
commit
3fa1c48df1
@ -90,7 +90,7 @@ local function stopflight()
|
|||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_globalstep(function()
|
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
|
if hud_wp then
|
||||||
minetest.localplayer:hud_remove(hud_wp) hud_wp=nil
|
minetest.localplayer:hud_remove(hud_wp) hud_wp=nil
|
||||||
minetest.settings:set_bool("continuous_forward",false)
|
minetest.settings:set_bool("continuous_forward",false)
|
||||||
@ -118,8 +118,8 @@ minetest.register_globalstep(function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_on_death(function()
|
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
|
fnd=false
|
||||||
end)
|
end)
|
||||||
|
|
||||||
minetest.register_cheat("CrystalKamikaze", "Combat", "crystalkamikaze")
|
minetest.register_cheat("Kamikaze", "Combat", "kamikaze")
|
@ -38,5 +38,5 @@ load_mod_autocraft = true
|
|||||||
load_mod_quint = true
|
load_mod_quint = true
|
||||||
load_mod_automt = true
|
load_mod_automt = true
|
||||||
load_mod_nlist = true
|
load_mod_nlist = true
|
||||||
load_mod_crystalkamikaze = true
|
load_mod_kamikaze = true
|
||||||
load_mod_muse = true
|
load_mod_muse = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user