Add and document config setting.

master
David G 2020-04-15 09:38:42 -07:00
parent 6ce398621a
commit febfc7b096
3 changed files with 23 additions and 2 deletions

View File

@ -49,6 +49,21 @@ Craft Recipes
![Scaffold](images/scaffold.png "Scaffold")
Early Game Considerations
-------------------------
By default, the wooden pickaxe has been removed. There are two other ways to get started digging stone:
- Find three flints (in gravel) and make a flint pickaxe.
- Find a dungeon that has cobble floors, and make a stone pickaxe (cobble can be picked up by hand).
However, there are two configuration options that could change this:
- quarry\_replace\_wooden\_pickaxe = false, will keep wooden pickaxe in game.
- stonebrick\_dungeons\_change\_floor = true, will get rid of cobble floors in dungeons.
Dependencies
------------
default, bucket, stairs, and [stonebrick\_dungeons](https://forum.minetest.net/viewtopic.php?f=11&t=18457) (by Hamlet)

View File

@ -1,9 +1,9 @@
-- Quarry Mechanics [quarry]
-- by David_G [kestral246@gmail.com]
-- 2020-03-06
-- 2020-04-15
-- Optionally replace wooden pickaxe with flint one.
local replace_wooden_pickaxe = true
local replace_wooden_pickaxe = minetest.settings:get_bool("quarry_replace_wooden_pickaxe", true)
-- Other overrides.
dofile(minetest.get_modpath("quarry").."/falling_nodes.lua")

6
settingtypes.txt Normal file
View File

@ -0,0 +1,6 @@
# This file contains settings for quarry that can be changed in
# minetest.conf
# Get rid of wooden pickaxe and replace it with a flint pickaxe.
# (default = true)
quarry_replace_wooden_pickaxe (Replace wooden pickaxe) bool true