forked from mtcontrib/spears
Version 3.0
This commit is contained in:
36
defaults.lua
36
defaults.lua
@ -1,16 +1,30 @@
|
||||
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
|
||||
-- Seems like defaults in settingtypes.txt are not taken by default
|
||||
if minetest.settings:get("spears_throw_speed") == nil then
|
||||
minetest.settings:set("spears_throw_speed", 13)
|
||||
end
|
||||
|
||||
if minetest.settings:get("spears_drag_coeff") == nil then
|
||||
minetest.settings:set("spears_drag_coeff", 0.1)
|
||||
end
|
||||
|
||||
if minetest.settings:get("spears_node_cracky_limit") == nil then
|
||||
minetest.settings:set("spears_node_cracky_limit", 3)
|
||||
end
|
||||
|
||||
|
||||
-- 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}
|
||||
SPEARS_DRAG_COEFF = 0.1
|
||||
-- SPEARS_DRAG_COEFF = 0.1
|
||||
SPEARS_NODE_UNKNOWN = nil
|
||||
SPEARS_NODE_THROUGH = 0
|
||||
SPEARS_NODE_STICKY = 1
|
||||
SPEARS_NODE_CRACKY = 2
|
||||
SPEARS_NODE_CRACKY_LIMIT = 3
|
||||
-- SPEARS_NODE_CRACKY_LIMIT = 3
|
||||
|
Reference in New Issue
Block a user