forked from minetest-mods/digilines
		
	Compare commits
	
		
			4 Commits
		
	
	
		
			f5b2521e4b
			...
			d480fee891
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| d480fee891 | |||
| 
						 | 
					722ff851dd | ||
| 
						 | 
					fa4f7a949c | ||
| 
						 | 
					9c2b980938 | 
@@ -185,7 +185,6 @@ minetest.register_node("digilines:chest", {
 | 
			
		||||
	on_receive_fields = function(pos, _, fields, sender)
 | 
			
		||||
		local name = sender:get_player_name()
 | 
			
		||||
		if minetest.is_protected(pos, name) and not minetest.check_player_privs(name, {protection_bypass=true}) then
 | 
			
		||||
			minetest.record_protection_violation(pos, name)
 | 
			
		||||
			return
 | 
			
		||||
		end
 | 
			
		||||
		if fields.channel ~= nil then
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										12
									
								
								lcd.lua
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								lcd.lua
									
									
									
									
									
								
							@@ -176,10 +176,13 @@ local lcds = {
 | 
			
		||||
	-- on ground
 | 
			
		||||
	--* [1] = {delta = {x = 0, y =-0.4, z = 0}, pitch = math.pi /  2},
 | 
			
		||||
	-- sides
 | 
			
		||||
	[2] = {delta = {x =  0.437, y = 0, z = 0}, yaw = math.pi / -2},
 | 
			
		||||
	[3] = {delta = {x = -0.437, y = 0, z = 0}, yaw = math.pi /  2},
 | 
			
		||||
	[4] = {delta = {x = 0, y = 0, z =  0.437}, yaw = 0},
 | 
			
		||||
	[5] = {delta = {x = 0, y = 0, z = -0.437}, yaw = math.pi},
 | 
			
		||||
 | 
			
		||||
	-- Note: 0.437 is on the surface but we need some space to avoid
 | 
			
		||||
	--       z-fighting in distant places (e.g. 30000,10,0)
 | 
			
		||||
	[2] = {delta = {x =  0.43, y = 0, z = 0}, yaw = math.pi / -2},
 | 
			
		||||
	[3] = {delta = {x = -0.43, y = 0, z = 0}, yaw = math.pi /  2},
 | 
			
		||||
	[4] = {delta = {x = 0, y = 0, z =  0.43}, yaw = 0},
 | 
			
		||||
	[5] = {delta = {x = 0, y = 0, z = -0.43}, yaw = math.pi},
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
local reset_meta = function(pos)
 | 
			
		||||
@@ -307,7 +310,6 @@ minetest.register_node("digilines:lcd", {
 | 
			
		||||
	on_receive_fields = function(pos, _, fields, sender)
 | 
			
		||||
		local name = sender:get_player_name()
 | 
			
		||||
		if minetest.is_protected(pos, name) and not minetest.check_player_privs(name, {protection_bypass=true}) then
 | 
			
		||||
			minetest.record_protection_violation(pos, name)
 | 
			
		||||
			return
 | 
			
		||||
		end
 | 
			
		||||
		if (fields.channel) then
 | 
			
		||||
 
 | 
			
		||||
@@ -55,7 +55,6 @@ minetest.register_node("digilines:lightsensor", {
 | 
			
		||||
	on_receive_fields = function(pos, _, fields, sender)
 | 
			
		||||
		local name = sender:get_player_name()
 | 
			
		||||
		if minetest.is_protected(pos, name) and not minetest.check_player_privs(name, {protection_bypass=true}) then
 | 
			
		||||
			minetest.record_protection_violation(pos, name)
 | 
			
		||||
			return
 | 
			
		||||
		end
 | 
			
		||||
		if (fields.channel) then
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										23
									
								
								locale/digilines.es.tr
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								locale/digilines.es.tr
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
# textdomain: digilines
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### inventory.lua ###
 | 
			
		||||
 | 
			
		||||
Channel=Canal
 | 
			
		||||
Digiline Chest=Cofre Digiline
 | 
			
		||||
 | 
			
		||||
### lcd.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline LCD=LCD Digiline
 | 
			
		||||
 | 
			
		||||
### lightsensor.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline Lightsensor=Sensor de Luz Digiline
 | 
			
		||||
 | 
			
		||||
### rtc.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline Real Time Clock (RTC)=Reloj de Tiempo Real Digiline
 | 
			
		||||
 | 
			
		||||
### wire_std.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline=Digiline
 | 
			
		||||
@@ -1,17 +1,23 @@
 | 
			
		||||
# textdomain: digilines
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### inventory.lua ###
 | 
			
		||||
Digiline Chest=
 | 
			
		||||
 | 
			
		||||
Channel=
 | 
			
		||||
Digiline Chest=
 | 
			
		||||
 | 
			
		||||
### lcd.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline LCD=
 | 
			
		||||
 | 
			
		||||
### lightsensor.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline Lightsensor=
 | 
			
		||||
 | 
			
		||||
### rtc.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline Real Time Clock (RTC)=
 | 
			
		||||
 | 
			
		||||
### wire_std.lua ###
 | 
			
		||||
 | 
			
		||||
Digiline=
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								rtc.lua
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								rtc.lua
									
									
									
									
									
								
							@@ -51,7 +51,6 @@ minetest.register_node("digilines:rtc", {
 | 
			
		||||
	on_receive_fields = function(pos, _, fields, sender)
 | 
			
		||||
		local name = sender:get_player_name()
 | 
			
		||||
		if minetest.is_protected(pos, name) and not minetest.check_player_privs(name, {protection_bypass=true}) then
 | 
			
		||||
			minetest.record_protection_violation(pos, name)
 | 
			
		||||
			return
 | 
			
		||||
		end
 | 
			
		||||
		if (fields.channel) then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user