File diff 3baa5a29f120 → 9faedcde7834
travel.lua
Show inline comments
 
@@ -31,11 +31,8 @@ coachman_dlg = dlg {
 
	dsc = [[Вы подходите к повозке и кэбмен спрашивает вас: _"Куда поедем?"_]];
 
	hideinv = true;
 
	entered = function(s)
 
		poff(1, 2, 3, 4, 5, 6, 7);
 
        if (where(char_coachman) ~= london_bank_street) then
 
            pon(7);
 
        end;
 
		if (where(char_coachman) ~= port_street) then
 
		poff(1, 2, 3, 4, 5, 6);
 
        if (where(char_coachman) ~= port_street) then
 
			pon(6);
 
		end;
 
		if (where(char_coachman) ~= hotel_street) then
 
@@ -121,17 +118,6 @@ coachman_dlg = dlg {
 
				end;
 
			end
 
		},
 
        {7, always = true, "В банк (5 монет). ",
 
            function (s)
 
                if (pl:pay(5)) then
 
                    walk 'london_bank_street';
 
                    return coachman_responses_ok[rnd(#coachman_responses_ok)];
 
                else
 
                    back();
 
                    return coachman_responses_fail[rnd(#coachman_responses_fail)];
 
                end;
 
            end
 
        },
 
		{255, always = true, "Я передумал. ", function(s) 
 
			back()
 
		end}