Changeset - 188f1d172d1b
[Not reviewed]
default
0 3 0
Silverwing - 7 years ago 2017-06-04 09:25:06

iyh rewrite progress
3 files changed with 20 insertions and 10 deletions:
0 comments (0 inline, 0 general)
atlantis_navjiarr.lua
Show inline comments
 
@@ -518,6 +518,7 @@ dyp_temple_navigation = dlg {
 
        
 
        {tag="dyp_temple_cliff_5"};
 
        {always=true, "[На восток, вдоль скалы]", function()
 
            temple_found = true;
 
            move(submarine_leviathan, "iyh_far_from_entrance_foot");
 
            walk("iyh_far_from_entrance");
 
            --TODO катсцена при первом прибытии
 
@@ -542,6 +543,16 @@ dyp_temple_navigation = dlg {
 
        ]]};
 
        
 
        {tag="dyp_temple_whale"};
 
        {always=true, "[На север, к храму]", function()
 
            temple_found = true;
 
            move(submarine_leviathan, "iyh_far_from_entrance_foot");
 
            walk("iyh_far_from_entrance");
 
            --TODO катсцена при первом прибытии
 
        end};
 
        {always=true, "[На юг, к ущелью]", function()
 
            move(submarine_leviathan, "dyp_temple_crevice_far_east");
 
            psub("dyp_temple_crevice_far_east");
 
        end};
 
        {always=true, "[Отойти от штурвала]", code = [[
 
            walk('leviathan_wheelhouse');
 
        ]]};
leviathan.lua
Show inline comments
 
@@ -843,15 +843,13 @@ leviathan_dlg = dlg {
 
		end;
 
		if (temple_found and where(submarine_leviathan) ~= iyh_far_from_entrance_foot) then
 
			leviathan_dlg:pon("old_temple");
 
		end;
 
		if (nearest_cities_found) then
 
			if (where(submarine_leviathan) ~= ctt_iraa_city) then
 
				leviathan_dlg:pon("iraaphaanotrr");
 
			end;
 
			if (where(submarine_leviathan) ~= ctt_dyp_city) then
 
				leviathan_dlg:pon("dypatreanotrr");
 
			end;
 
		end;
 
		end;	
 
        if (iraaphaanotrr_found and where(submarine_leviathan) ~= ctt_iraa_city) then
 
            leviathan_dlg:pon("iraaphaanotrr");
 
        end;
 
        if (dypatreanotrr_found and where(submarine_leviathan) ~= ctt_dyp_city) then
 
            leviathan_dlg:pon("dypatreanotrr");
 
        end;
 
		if (iraaphaanotrr_temple_found and where(submarine_leviathan) ~= ctt_iraa_near_temple) then
 
			leviathan_dlg:pon("iraaphaanotrr_temple");
 
		end;
main.lua
Show inline comments
 
@@ -61,7 +61,8 @@ global {
 
	leviathan_discovered = false;
 
	atlantis_found = false;
 
	temple_found = false;
 
	nearest_cities_found = false;
 
	iraaphaanotrr_found = false;
 
    dypatreanotrr_found = false;
 
	iraaphaanotrr_temple_found = false;
 
	dypatreanotrr_temple_found = false;
 
    venaedanotrr_temple_found = false;
0 comments (0 inline, 0 general)