mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-14 06:20:25 +02:00
adding achievements! Almost all untested yet.
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
pit_caves = {}
|
||||
|
||||
local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
@ -70,6 +72,8 @@ local get_pit = function(pos)
|
||||
return {location = location, depth = depth, top = top}
|
||||
end
|
||||
|
||||
pit_caves.get_nearest_pit = get_pit
|
||||
|
||||
local perlin_params = {
|
||||
offset = 0,
|
||||
scale = 1,
|
||||
@ -224,4 +228,4 @@ minetest.register_chatcommand("find_pit_caves", {
|
||||
return false, S("You need the server privilege to use this command.")
|
||||
end
|
||||
end,
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user