tweak some biome levels, update fishing rod

This commit is contained in:
tenplus1 2023-12-18 08:04:58 +00:00
parent 64fab2b70a
commit 109a749bb3
2 changed files with 13 additions and 9 deletions

View File

@ -135,7 +135,7 @@ if not minetest.registered_nodes[tmp] then
end
-- was 'snowy' biome
add_biome("coniferous_forest", 4, 40, 10, 40, ethereal.snowy,
add_biome("coniferous_forest", 1, 40, 10, 40, ethereal.snowy,
nil, tmp, 1, "default:dirt", 2)
add_biome("coniferous_forest_ocean", -192, 1, 10, 40, ethereal.snowy,
@ -181,7 +181,7 @@ add_biome("frost_floatland", 1025, 1750, 10, 40, ethereal.frost,
add_biome("frost", 1, 71, 10, 40, ethereal.frost,
nil, "ethereal:crystal_dirt", 1, "default:dirt", 3)
add_biome("frost_ocean", -192, 1, 10, 40, ethereal.frost,
add_biome("frost_ocean", -192, 0, 10, 40, ethereal.frost,
nil, "default:sand", 1, "default:sand", 2)

View File

@ -121,12 +121,15 @@ end
-- fishing bob entity
minetest.register_entity("ethereal:bob_entity", {
textures = {"ethereal_fishing_bob.png"},
visual_size = {x = 0.5, y = 0.5},
collisionbox = {-0.1, -0.1, -0.1, 0.1, 0.1, 0.1},
physical = false,
pointable = false,
static_save = false,
initial_properties = {
textures = {"ethereal_fishing_bob.png"},
visual_size = {x = 0.5, y = 0.5},
collisionbox = {-0.1, -0.1, -0.1, 0.1, 0.1, 0.1},
physical = false,
pointable = false,
static_save = false
},
timer = 0,
on_step = function(self, dtime)
@ -262,7 +265,7 @@ else -- already cast and waiting for fish
else
-- waiting over, bob that bobber and play splash sound
self.bob = true
self.patience = 1.5 -- timeframe to catch fish after bob
self.patience = 1.4 -- timeframe to catch fish after bob
self.timer = 0
self.object:set_velocity({x = 0, y = -1, z = 0})
@ -352,6 +355,7 @@ local use_rod = function(itemstack, player, pointed_thing)
local item
local r = random(100)
local rodpos = ent.object:get_pos() or pos
if r < 86 then