diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index e2bf05f6..ac631ca0 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -139,7 +139,7 @@ minetest.register_globalstep(function(dtime) end) function minetest.handle_node_drops(pos, drops, digger) - if minetest.setting_getbool("creative_mode") then + if minetest.setting_getbool("creative_mode") or minetest.setting_getbool("mcl_do_tile_drops") == false then return end for _,item in ipairs(drops) do diff --git a/settingtypes.txt b/settingtypes.txt index 319b1e36..4118b2ad 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -1,8 +1,9 @@ # This file contains settings of MineClone 2that can be changed in # minetest.conf -# In creative mode players are able to dig all kind of blocks +# In creative mode, players are able to dig all kind of blocks # instantly, and have access to unlimited resources. +# Items are not used up, and blocks do not drop. # Some of the functionality is only available if this setting is present # at startup. creative_mode (Creative mode) bool false @@ -16,6 +17,10 @@ enable_fire (Fire) bool true # Enable flame sound. flame_sound (Flame sound) bool true +# If enabled, breaking blocks will cause them to drop as item. +# Note that blocks never have drops when in Creative Mode. +mcl_do_tile_drops (Blocks have drops) bool true + # Normally, players drop all their items when they die. Enable this # setting, so players always keep their inventory on death. mcl_keep_inventory_on_death (Keep inventory on death) bool false @@ -25,6 +30,7 @@ mcl_show_death_messages (Show death messages) bool true # If enabled, only peaceful mobs will appear naturally. This does not # affect monster spawners. +# This setting is only read at startup. only_peaceful_mobs (Spawn only peaceful mobs) bool false # If enabled, players respawn at the bed they last lay on instead of normal @@ -33,5 +39,6 @@ only_peaceful_mobs (Spawn only peaceful mobs) bool false enable_bed_respawn (Respawn at bed) bool true # If enabled, the night can be skipped if all players are in bed. +# This setting is only read at startup. enable_bed_night_skip (Skip night when sleeping) bool true diff --git a/texture_conversions.odt.ods b/texture_conversions.odt.ods new file mode 100644 index 00000000..f0494b02 Binary files /dev/null and b/texture_conversions.odt.ods differ