Changeset - 814dbc81e6c7
[Not reviewed]
default
0 2 0
Silverwing - 6 years ago 2017-12-02 10:02:36

More proper leviathan refitting
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
atlantis_intro.lua
Show inline comments
 
@@ -4,6 +4,8 @@ atlantis_intro_dock = room {
 
        pl.has_light = false;   
 
		remove(item_lamp, pl);
 
        submarine_leviathan.refit = true;
 
        put("item_colt", "leviathan_captains_cabin");
 
        put("item_harpoon", "leviathan_airlock");
 
		if (ArrayUtils.indexOf(pl.party, 'wright') ~= 0) then 
 
			atl_jack_in_party = true; 
 
			char_wright:accompany(false);
items.lua
Show inline comments
 
@@ -105,7 +105,7 @@ item_colt = obj {
 
	disp = function(s)
 
		return "Кольт (" .. tostring(s.bullets) .. " зарядов)";
 
	end;
 
	dsc = [[Ваш револьвер. Надежное оружие в хорошем состоянии. Оно еще не раз спасет вашу жизнь. У вас также есть небольшой запас патронов к нему. ]];
 
	dsc = [[На столе лежит {револьвер}. ]];
 
	use = function(s, o)
 
        if (here().underwater) then
 
            return "Под водой это вам не поможет. ";
 
@@ -161,9 +161,7 @@ item_harpoon = obj {
 
            return "Гарпунное ружье (заряжено)";
 
        end;
 
    end;
 
    dsc = [[
 
        
 
    ]];
 
    dsc = [[К стене прислонено {гарпунное ружье}. ]];
 
    use = function(s, o)
 
        if (s.charge == 0) then
 
            return "Ружье не заряжено. ";
0 comments (0 inline, 0 general)