110 lines
4.6 KiB
Plaintext
110 lines
4.6 KiB
Plaintext
--[[
|
|
|
|
Configuration file for Thirsty.
|
|
|
|
Copy this file to "thirsty.conf" and place it in the mod's directory.
|
|
Modify to suit your needs; it will not get overwritten if you update
|
|
Thirsty.
|
|
|
|
The following values are the default values; you can safely remove
|
|
or comment out any line you're not interested in. Commented lines
|
|
start with '--'
|
|
|
|
]]
|
|
|
|
-- Main loop tick time, in seconds
|
|
-- Increasing this value will make Thirsty less accurate, but will
|
|
-- generally behave the same.
|
|
thirsty.config.tick_time = 0.5
|
|
|
|
-- Thirst per second (full hydration is 20 hydro points)
|
|
thirsty.config.thirst_per_second = 1.0 / 20.0
|
|
-- Damage per second if completely thirsty / out of hydration
|
|
thirsty.config.damage_per_second = 1.0 / 10.0
|
|
-- How long in seconds you have to remain still to drink from standing
|
|
-- in water
|
|
thirsty.config.stand_still_for_drink = 1.0
|
|
-- How long in seconds of not moving before a player is deemed AFK
|
|
-- (away from keyboard), such players no longer get thirsty or damaged
|
|
thirsty.config.stand_still_for_afk = 120.0 -- 2 Minutes
|
|
|
|
-- regen_from_node is a table defining, for each node type, the
|
|
-- amount of hydro per second a player drinks by standing in it.
|
|
-- Assign 'nil' to stop a player from drinking from this node type.
|
|
thirsty.config.regen_from_node['default:water_source'] = 0.5
|
|
thirsty.config.regen_from_node['default:water_flowing'] = 0.5
|
|
thirsty.config.regen_from_node['default:river_water_source'] = 0.5
|
|
thirsty.config.regen_from_node['default:river_water_flowing'] = 0.5
|
|
|
|
-- node_drinkable: which nodes can we drink from, given a
|
|
-- container (a cup, a bowl etc.)
|
|
thirsty.config.node_drinkable['default:water_source'] = true
|
|
thirsty.config.node_drinkable['default:water_flowing'] = true
|
|
thirsty.config.node_drinkable['default:river_water_source'] = true
|
|
thirsty.config.node_drinkable['default:river_water_flowing'] = true
|
|
thirsty.config.node_drinkable['thirsty:drinking_fountain'] = true
|
|
|
|
-- drink_from_container: the hydration you drink to when
|
|
-- using each container. Remember that "full hydration" is
|
|
-- 20 points; these should be more to reward using them.
|
|
thirsty.config.drink_from_container['thirsty:wooden_bowl'] = 25
|
|
thirsty.config.drink_from_container['thirsty:steel_canteen'] = 25
|
|
thirsty.config.drink_from_container['thirsty:bronze_canteen'] = 25
|
|
|
|
-- container_capacity: how much hydration each container (canteens)
|
|
-- can hold. Remember that "full hydration" is 20 points
|
|
thirsty.config.container_capacity['thirsty:steel_canteen'] = 40
|
|
thirsty.config.container_capacity['thirsty:bronze_canteen'] = 60
|
|
|
|
-- drink_from_node: if you use one of these nodes (i.e. fountains),
|
|
-- even without cups or bowls, how full will you get?
|
|
thirsty.config.drink_from_node['thirsty:drinking_fountain'] = 30
|
|
|
|
-- fountain_type: when scanning the surroundings of fountains,
|
|
-- which nodes are "fountains" and which are "water"? You need
|
|
-- at least one "fountain" and one "water" per fountain level.
|
|
thirsty.config.fountain_type['thirsty:water_fountain'] = 'f'
|
|
thirsty.config.fountain_type['thirsty:water_extender'] = 'f'
|
|
thirsty.config.fountain_type['default:water_source'] = 'w'
|
|
thirsty.config.fountain_type['default:water_flowing'] = 'w'
|
|
thirsty.config.fountain_type['default:river_water_source'] = 'w'
|
|
thirsty.config.fountain_type['default:river_water_flowing'] = 'w'
|
|
|
|
-- Regeneration from being within a fountain's radius; see also
|
|
-- regen_from_node (it's as if you're standing in water)
|
|
thirsty.config.regen_from_fountain = 0.5
|
|
-- How far should the fountain scanning pyramid go?
|
|
thirsty.config.fountain_height = 4
|
|
-- The max level of a fountain
|
|
thirsty.config.fountain_max_level = 20
|
|
-- How many nodes away can you still benefit from a fountain,
|
|
-- per fountain level
|
|
thirsty.config.fountain_distance_per_level = 5
|
|
|
|
-- How much hydration does a given item *extract* (pull out of the air)
|
|
thirsty.config.extraction_for_item['thirsty:extractor'] = 0.6
|
|
-- How much hydration does a given item *inject* (fill you up with)
|
|
thirsty.config.injection_for_item['thirsty:injector'] = 0.5
|
|
|
|
-- Registration of individual components
|
|
-- These flags enable or disable the predefined components included
|
|
-- in this mod. They do *not* enable or disable the functionality.
|
|
|
|
-- Should we augment the vessels from the "vessels" mod?
|
|
thirsty.config.register_vessels = true
|
|
|
|
-- Add the wooden bowl and crafting recipe?
|
|
thirsty.config.register_bowl = true
|
|
|
|
-- Add the canteens and crafting recipes?
|
|
thirsty.config.register_canteens = true
|
|
|
|
-- Add the drinking fountain and crafting recipes?
|
|
thirsty.config.register_drinking_fountain = true
|
|
|
|
-- Add the fountain and extenders and crafting recipes?
|
|
thirsty.config.register_fountains = true
|
|
|
|
-- Add the amulets (extractor / injector) and crafting recipes?
|
|
thirsty.config.register_amulets = true
|