File diff f0deba5063ba → 8b3ac6b85f5c
items.lua
Show inline comments
 
@@ -311,11 +311,11 @@ item_lamp = obj {
 
		if (here().nolamp) then
 
			return "Здесь не стоит зажигать лампу. ";
 
		end;
 
		if (pl.has_light) then
 
			pl.has_light = false;
 
		if (me().has_light) then
 
			me().has_light = false;
 
			return "Вы гасите свет. ";
 
		else
 
			pl.has_light = true;
 
			me().has_light = true;
 
			return "Вы зажигаете лампу. ";
 
		end;
 
	end;