Add multi-signal doors, basic device deployment, and a target trigger.
This commit is contained in:
parent
1b2199705b
commit
9acd605c86
35 changed files with 660 additions and 75 deletions
|
|
@ -33,7 +33,14 @@ function ns.enter_pre_vix_state()
|
|||
crosshair = true,
|
||||
wielditem = true,
|
||||
}
|
||||
m.object:set_pos(artifact.origin:offset(0, -73.5, -4))
|
||||
m:set_spawnpoint(artifact.origin:offset(0, -73.5, -4))
|
||||
end
|
||||
minetest.after(5, function()
|
||||
for _, m in pairs(artifact.players) do
|
||||
artifact.show_help_message(m, "Certain nodes can be broken by punching them with the blackrod.", "info")
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
function ns.enter_state(to)
|
||||
|
|
@ -240,12 +247,11 @@ function ns.play_intro_cutscene()
|
|||
for _, m in pairs(artifact.players) do
|
||||
m.object:set_detach()
|
||||
minetest.close_formspec(m.name, "artifact:lock_camera")
|
||||
m.object:set_pos(artifact.origin:offset(0, -73.5, -4))
|
||||
artifact.look_at(m, ns.camera:get_pos(), artifact.origin:offset(0, -73.5, -8))
|
||||
end
|
||||
ns.enter_state(ns.states.pre_vix)
|
||||
minetest.after(3, function()
|
||||
artifact.push_chat_message("Interesting...", "Key", "artifact_key_splash_low.png")
|
||||
artifact.push_chat_message("I'd better take a few practice swings.", "Key", "artifact_key_splash_low.png")
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
@ -327,7 +333,7 @@ function ns.load_map()
|
|||
m.hud.loading_map_bg.remove_after = 0.3
|
||||
m.object:set_pos(start)
|
||||
end
|
||||
ns.enter_state(artifact.story.states.init)
|
||||
ns.enter_state(artifact.story.states.pre_vix)
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue