mirror of
https://github.com/FaceDeer/dfcaverns.git
synced 2025-07-03 00:40:37 +02:00
refinements to cairn markings, give them an inventory so players can put stuff in them if they want why not
This commit is contained in:
@ -2,6 +2,22 @@ local modpath = minetest.get_modpath(minetest.get_current_modname())
|
||||
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local torch_node = {name=df_dependencies.node_name_torch, param2=1}
|
||||
collectible_lore.get_light_node = function()
|
||||
local selection = math.random()
|
||||
if selection < 0.25 then
|
||||
return torch_node
|
||||
elseif selection < 0.5 then
|
||||
return {name="df_trees:glowing_bottle_red", param2=0}
|
||||
elseif selection < 0.8 then
|
||||
return {name="df_trees:glowing_bottle_green", param2=0}
|
||||
elseif selection < 0.9 then
|
||||
return {name="df_trees:glowing_bottle_cyan", param2=0}
|
||||
else
|
||||
return {name="df_trees:glowing_bottle_golden", param2=0}
|
||||
end
|
||||
end
|
||||
|
||||
dofile(modpath.."/introductions.lua")
|
||||
dofile(modpath.."/ecology_flora.lua")
|
||||
dofile(modpath.."/ecology_trees.lua")
|
||||
|
Reference in New Issue
Block a user