Modernize (#3)
This commit is contained in:
parent
b2fd9456c2
commit
21c17b27af
@ -1,2 +0,0 @@
|
||||
default
|
||||
farming?
|
@ -1 +0,0 @@
|
||||
A loot framework. Also adds loot to dungeons.
|
4
init.lua
4
init.lua
@ -66,8 +66,8 @@ end
|
||||
|
||||
loot.modpath = modpath
|
||||
|
||||
local vaults = minetest.setting_getbool("loot_vaults")
|
||||
local dungeon_loot = minetest.setting_getbool("loot_dungeons")
|
||||
local vaults = minetest.settings:get_bool("loot_vaults", false)
|
||||
local dungeon_loot = minetest.settings:get_bool("loot_dungeons", true)
|
||||
if dungeon_loot == nil then dungeon_loot = true end -- default dungeon loot to true
|
||||
|
||||
dofile(modpath .. "default_loot.lua")
|
||||
|
Loading…
x
Reference in New Issue
Block a user