Tutorial: make the sentries part easier (closes #105)

This commit is contained in:
Zughy 2023-11-19 21:13:18 +01:00
parent 00cfbc9531
commit fd3b04a04d
2 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ local SENTRY_RANGE = 14
local multiplier2 = 3.6
local sentry = {
initial_properties = {
hp_max = 10, -- TODO: da aumentare una volta implementato lo scudo
hp_max = 8, -- TODO: da aumentare una volta implementato lo scudo
physical = true,
collide_with_objects = true,
visual = "mesh",

View File

@ -21,7 +21,7 @@ local phases = {
[6] = { start_coords = {}, end_coords = {}, prerequisites_satisfied = true, run = function(player) phase6(player) end }, -- rays
current_phase = 1,
obstacles_left = 5,
sentries_left = 7,
sentries_left = 4,
completed = false
}
@ -298,7 +298,7 @@ function bl_tutorial.decrease_sentries(p_name)
return
-- uccidendo la prima, si dà vita alle altre
elseif sentries_left == 6 then
elseif sentries_left == 3 then
arena_lib.HUD_send_msg("title", p_name, S("Oh no, they're increasing!"), 2)
minetest.after(2, function()
@ -546,12 +546,12 @@ function spawn_sentries4(start_coords)
local e_pos5 = vector.add(e_pos2, vector.new(0, 0, -10))
local e_pos6 = vector.add(e_pos3, vector.new(0, 0, -10))
minetest.add_entity(e_pos1, "bl_tutorial:sentry")
--minetest.add_entity(e_pos1, "bl_tutorial:sentry") -- TODO: mettile una volta implementato lo scudo
minetest.add_entity(e_pos2, "bl_tutorial:sentry")
minetest.add_entity(e_pos3, "bl_tutorial:sentry")
minetest.add_entity(e_pos4, "bl_tutorial:sentry")
minetest.add_entity(e_pos5, "bl_tutorial:sentry")
minetest.add_entity(e_pos6, "bl_tutorial:sentry")
--minetest.add_entity(e_pos5, "bl_tutorial:sentry")
--minetest.add_entity(e_pos6, "bl_tutorial:sentry")
end