1
0
mirror of https://gitlab.com/echoes91/spears.git synced 2024-11-14 13:50:18 +01:00
spears/defaults.lua

30 lines
919 B
Lua
Raw Normal View History

2024-02-03 10:56:25 +01:00
-- Seems like defaults in settingtypes.txt are not taken by default
2024-02-07 22:46:58 +01:00
--if minetest.settings:get("spears_throw_speed") == nil then
-- minetest.settings:set("spears_throw_speed", 13)
--end
2024-02-03 10:56:25 +01:00
if minetest.settings:get("spears_drag_coeff") == nil then
minetest.settings:set("spears_drag_coeff", 0.1)
end
2024-02-07 22:46:58 +01:00
-- if minetest.settings:get("spears_node_cracky_limit") == nil then
-- minetest.settings:set("spears_node_cracky_limit", 3)
-- end
2024-02-03 10:56:25 +01:00
-- DISABLE_STONE_SPEAR = false
-- DISABLE_STEEL_SPEAR = false
-- DISABLE_COPPER_SPEAR = false
-- DISABLE_BRONZE_SPEAR = false
-- DISABLE_DIAMOND_SPEAR = false
-- DISABLE_OBSIDIAN_SPEAR = false
-- DISABLE_GOLD_SPEAR = false
-- DISABLE_IRON_SPEAR = false
-- SPEARS_THROW_SPEED = 13
-- SPEARS_V_ZERO = {x = 0, y = 0, z = 0}
2024-02-03 10:56:25 +01:00
-- SPEARS_DRAG_COEFF = 0.1
2024-02-07 22:46:58 +01:00
-- SPEARS_NODE_UNKNOWN = nil
-- SPEARS_NODE_THROUGH = 0
-- SPEARS_NODE_STICKY = 1
-- SPEARS_NODE_CRACKY = 2
-- SPEARS_NODE_CRACKY_LIMIT = 3