aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/database.lua
blob: e23b0e5328d557f844f014e0594071087dec29fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
-- interlocking/database.lua
-- saving the location of TCB's, their neighbors and their state
--[[

== THIS COMMENT IS PARTIALLY INCORRECT AND OUTDATED! ==

The interlocking system is based on track circuits.
Track circuit breaks must be manually set by the user. Signals must be assigned to track circuit breaks and to a direction(connid).
To simplify the whole system, there is no overlap.
== Trains ==
Trains always occupy certain track circuits. These are shown red in the signalbox view (TRAIN occupation entry).
== Database storage ==
The things that are actually saved are the Track Circuit Breaks. Each TCB holds a list of the TCBs that are adjacent in each direction.
TC occupation/state is then saved inside each (TCB,Direction) and held in sync across all TCBs adjacent to this one. If something should not be in sync,
all entries are merged to perform the most restrictive setup.
== Traverser function ==
To determine and update the list of neighboring TCBs, we need a traverser function.
It will start at one TCB in a specified direction (connid) and use get_adjacent_rail to crawl along the track. When encountering a turnout or a crossing,
it needs to branch(call itself recursively) to find all required TCBs. Those found TCBs are then saved in a list as tuples (TCB,Dir)
In the last step, they exchange their neighbors.
== TC states ==
A track circuit does not have a state as such, but has more or less a list of "reservations"
type can be one of these:
TRAIN See Trains obove
ROUTE Route set from a signal, but no train has yet passed that signal.
Not implemented (see note by reversible): OWNED - former ROUTE segments that a train has begun passing (train_id assigned)
		  - Space behind a train up to the next signal, when a TC is set as REVERSIBLE
Certain TCs can be marked as "allow call-on".
== Route setting: ==
Routes are set from a signal (the entry signal) to another signal facing the same direction (the exit signal)
Remember that signals are assigned to a TCB and a connid.
Whenever this is done, the following track circuits are set "reserved" by the train by saving the entry signal's ID:
- all TCs on the direct way of the route - set as ROUTE
Route setting fails whenever any TC that we want to set ROUTE to is already set ROUTE or TRAIN from another signal (except call-on, see below)
Apart from this, we need to set turnouts
- Turnouts on the track are set held as ROUTE
- Turnouts that purpose as flank protection are set held as FLANK (NOTE: left as an idea for later, because it's not clear how to do this properly without an engineer)
Note: In SimSig, it is possible to set a route into an still occupied section on the victoria line sim. (at the depot exit at seven sisters), although
	there are still segments set ahead of the first train passing, remaining from another route.
	Because our system will be able to remember "requested routes" and set them automatically once ready, this is not necessary here.
== Call-On/Multiple Trains ==
It will be necessary to join and split trains using call-on routes. A call-on route may be set when:
- there are no ROUTE reservations
- there are TRAIN reservations only inside TCs that have "allow call-on" set
== TC Properties ==
Note: Reversible property will not be implemented, assuming everything as non-rev.
This is sufficient to cover all use cases, and is done this way in reality.
	REVERSIBLE - Whether trains are allowed to reverse while on track circuit
	This property is supposed to be set for station tracks, where there is a signal at each end, and for sidings.
	It should in no case be set for TCs covering turnouts, or for main running lines.
	When a TC is not set as reversible, the OWNED status is cleared from the TC right after the train left it,
	to allow other trains to pass it.
	If it is set reversible, interlocking will keep the OWNED state behind the train up to the next signal, clearing it
	as soon as the train passes another signal or enters a non-reversible section.
CALL_ON_ALLOWED - Whether this TC being blocked (TRAIN or ROUTE) does not prevent shunt routes being set through this TC
== More notes ==
- It may not be possible to switch turnouts when their TC has any state entry

== Route releasing (TORR) ==
A train passing through a route happens as follows:
Route set from entry to exit signal
Train passes entry signal and enters first TC past the signal
-> Route from signal cleared (TCs remain locked)
-> ROUTE status of first TC past signal cleared
Train continues along the route.
Whenever train leaves a TC
-> Clearing any routes set from this TC outward recursively - see "Reversing problem"
Whenever train enters a TC
-> Clear route status from the just entered TC
Note that this prohibits by design that the train clears the route ahead of it.
== Reversing Problem ==
Encountered at the Royston simulation in SimSig. It is solved there by imposing a time limit on the set route. Call-on routes can somehow be set anyway.
Imagine this setup: (T=Train, R=Route, >=in_dir TCB)
    O-|  Royston P2 |-O
T->---|->RRR-|->RRR-|--
Train T enters from the left, the route is set to the right signal. But train is supposed to reverse here and stops this way:
    O-|  Royston P2 |-O
------|-TTTT-|->RRR-|--
The "Route" on the right is still set. Imposing a timeout here is a thing only professional engineers can determine, not an algorithm.
    O-|  Royston P2 |-O
<-T---|------|->RRR-|--
The train has left again, while route on the right is still set.
So, we have to clear the set route when the train has left the left TC.
This does not conflict with call-on routes, because both station tracks are set as "allow call-on"
Because none of the routes extends past any non-call-on sections, call-on route would be allowed here, even though the route
is locked in opposite direction at the time of routesetting.
Another case of this:
--TTT/--|->RRR--
The / here is a non-interlocked turnout (to a non-frequently used siding). For some reason, there is no exit node there,
so the route is set to the signal at the right end. The train is taking the exit to the siding and frees the TC, without ever
having touched the right TC.
]]--

local TRAVERSER_LIMIT = 1000


local ildb = {}

local track_circuit_breaks = {}
local track_sections = {}

-- Assignment of signals to TCBs
local signal_assignments = {}

-- track+direction -> signal position
local influence_points = {}

advtrains.interlocking.npr_rails = {}


function ildb.load(data)
	if not data then return end
	if data.tcbs then
		track_circuit_breaks = data.tcbs
	end
	if data.ts then
		track_sections = data.ts
	end
	if data.signalass then
		signal_assignments = data.signalass
	end
	if data.rs_locks then
		advtrains.interlocking.route.rte_locks = data.rs_locks
	end
	if data.rs_callbacks then
		advtrains.interlocking.route.rte_callbacks = data.rs_callbacks
	end
	if data.influence_points then
		influence_points = data.influence_points
	end
	if data.npr_rails then
		advtrains.interlocking.npr_rails = data.npr_rails
	end
	
	-- let signal_api load data
	advtrains.interlocking.signal.load(data)
	
	--COMPATIBILITY to Signal aspect format
	-- TODO remove in time...
	for pts,tcb in pairs(track_circuit_breaks) do
		for connid, tcbs in ipairs(tcb) do
			if tcbs.routes then
				for _,route in ipairs(tcbs.routes) do
					if route.aspect then
						-- transform the signal aspect format
						local asp = route.aspect
						if type(asp.main) == "table" then
							atwarn("Transforming route aspect of signal",pts,"/",connid,"")
							if asp.main.free then
								asp.main = asp.main.speed
							else
								asp.main = 0
							end
							if asp.dst.free then
								asp.dst = asp.dst.speed
							else
								asp.dst = 0
							end
							asp.proceed_as_main = asp.shunt.proceed_as_main
							asp.shunt = asp.shunt.free
							-- Note: info table not transferred, it's not used right now
						end
					end
				end
			end
		end
	end
end

function ildb.save()
	local data = {
		tcbs = track_circuit_breaks,
		ts=track_sections,
		signalass = signal_assignments,
		rs_locks = advtrains.interlocking.route.rte_locks,
		rs_callbacks = advtrains.interlocking.route.rte_callbacks,
		influence_points = influence_points,
		npr_rails = advtrains.interlocking.npr_rails,
		supposed_aspects = advtrains.interlocking.save_supposed_aspects(),
		distant = advtrains.distant.save(),
	}
	advtrains.interlocking.signal.save(data)
	return data
end

--
--[[
TCB data structure
{
-- This is the "A" side of the TCB
[1] = { -- Variant: with adjacent TCs.
	ts_id = <id> -- ID of the assigned track section
	signal = <pos> -- optional: when set, routes can be set from this tcb/direction and signal
	-- aspect will be set accordingly.
	routeset = <index in routes> -- Route set from this signal. This is the entry that is cleared once
	-- train has passed the signal. (which will set the aspect to "danger" again)
	route_committed = <boolean> -- When setting/requesting a route, routetar will be set accordingly,
	-- while the signal still displays danger and nothing is written to the TCs
	-- As soon as the route can actually be set, all relevant TCs and turnouts are set and this field
	-- is set true, clearing the signal
	aspect = <asp> -- The aspect the signal should show. If this is nil, should show the most restrictive aspect (red)
	signal_name = <string> -- The human-readable name of the signal, only for documenting purposes
	routes = { <route definition> } -- a collection of routes from this signal
	route_auto = <boolean> -- When set, we will automatically re-set the route (designated by routeset)
},
-- This is the "B" side of the TCB
[2] = { -- Variant: end of track-circuited area (initial state of TC)
	ts_id = nil, -- this is the indication for end_of_interlocking
	section_free = <boolean>, --this can be set by an exit node via mesecons or atlatc, 
	-- or from the tc formspec.
}
}

Track section
[id] = {
	name = "Some human-readable name"
	tc_breaks = { <signal specifier>,... } -- Bounding TC's (signal specifiers)
	-- Can be direct ends (auto-detected), conflicting routes or TCBs that are too far away from each other
	route = {
		origin = <signal>,  -- route origin
		entry = <sigd>,     -- supposed train entry point
		rsn = <string>,
		first = <bool>
	}
	route_post = {
		locks = {[n] = <pts>}
		next = <sigd>
	}
	-- Set whenever a route has been set through this TC. It saves the origin tcb id and side
	-- (=the origin signal). rsn is some description to be shown to the user
	-- first says whether to clear the routesetting status from the origin signal.
	-- locks contains the positions where locks are held by this ts.
	-- 'route' is cleared when train enters the section, while 'route_post' cleared when train leaves section.
	trains = {<id>, ...} -- Set whenever a train (or more) reside in this TC
}


Signal specifier (sigd) (a pair of TCB/Side):
{p = <pos>, s = <1/2>}

Signal Assignments: reverse lookup of signals assigned to TCBs
signal_assignments = {
[<signal pts>] = <sigd>
}
]]


--
function ildb.create_tcb(pos)
	local new_tcb = {
		[1] = {},
		[2] = {},
	}
	local pts = advtrains.roundfloorpts(pos)
	if not track_circuit_breaks[pts] then
		track_circuit_breaks[pts] = new_tcb
		return true
	else
		return false
	end
end

function ildb.get_tcb(pos)
	local pts = advtrains.roundfloorpts(pos)
	return track_circuit_breaks[pts]
end

function ildb.get_tcbs(sigd)
	local tcb = ildb.get_tcb(sigd.p)
	if not tcb then return nil end
	return tcb[sigd.s]
end


function ildb.create_ts(sigd)
	local tcbs = ildb.get_tcbs(sigd)
	local id = advtrains.random_id()
	
	while track_sections[id] do
		id = advtrains.random_id()
	end
	
	track_sections[id] = {
		name = "Section "..id,
		tc_breaks = { sigd }
	}
	tcbs.ts_id = id
end

function ildb.get_ts(id)
	return track_sections[id]
end



-- various helper functions handling sigd's
local sigd_equal = advtrains.interlocking.sigd_equal
local function insert_sigd_nodouble(list, sigd)
	for idx, cmp in pairs(list) do
		if sigd_equal(sigd, cmp) then
			return
		end
	end
	table.insert(list, sigd)
end


-- This function will actually handle the node that is in connid direction from the node at pos
-- so, this needs the conns of the node at pos, since these are already calculated
local function traverser(found_tcbs, pos, conns, connid, count, brk_when_found_n)
	local adj_pos, adj_connid, conn_idx, nextrail_y, next_conns = advtrains.get_adjacent_rail(pos, conns, connid, advtrains.all_tracktypes)
	if not adj_pos then
		--atdebug("Traverser found end-of-track at",pos, connid)
		return
	end
	-- look whether there is a TCB here
	if #next_conns == 2 then --if not, don't even try!
		local tcb = ildb.get_tcb(adj_pos)
		if tcb then
			-- done with this branch
			--atdebug("Traverser found tcb at",adj_pos, adj_connid)
			insert_sigd_nodouble(found_tcbs, {p=adj_pos, s=adj_connid})
			return
		end
	end
	-- recursion abort condition
	if count > TRAVERSER_LIMIT then
		--atdebug("Traverser hit counter at",adj_pos, adj_connid)
		return true
	end
	-- continue traversing
	local counter_hit = false
	for nconnid, nconn in ipairs(next_conns) do
		if adj_connid ~= nconnid then
			counter_hit = counter_hit or traverser(found_tcbs, adj_pos, next_conns, nconnid, count + 1, brk_when_found_n)
			if brk_when_found_n and #found_tcbs>=brk_when_found_n then
				break
			end
		end
	end
	return counter_hit
end



-- Merges the TS with merge_id into root_id and then deletes merge_id
local function merge_ts(root_id, merge_id)
	local rts = ildb.get_ts(root_id)
	local mts = ildb.get_ts(merge_id)
	if not mts then return end -- This may be the case when sync_tcb_neighbors
	-- inserts the same id twice. do nothing.
	
	if not ildb.may_modify_ts(rts) then return false end
	if not ildb.may_modify_ts(mts) then return false end
	
	-- cobble together the list of TCBs
	for _, msigd in ipairs(mts.tc_breaks) do
		local tcbs = ildb.get_tcbs(msigd)
		if tcbs then
			insert_sigd_nodouble(rts.tc_breaks, msigd)
			tcbs.ts_id = root_id
		end
		advtrains.interlocking.show_tcb_marker(msigd.p)
	end
	-- done
	track_sections[merge_id] = nil
end

local lntrans = { "A", "B" }
local function sigd_to_string(sigd)
	return minetest.pos_to_string(sigd.p).." / "..lntrans[sigd.s]
end

-- Check for near TCBs and connect to their TS if they have one, and syncs their data.
function ildb.sync_tcb_neighbors(pos, connid)
	local found_tcbs = { {p = pos, s = connid} }
	local node_ok, conns, rhe = advtrains.get_rail_info_at(pos, advtrains.all_tracktypes)
	if not node_ok then
		atwarn("update_tcb_neighbors but node is NOK: "..minetest.pos_to_string(pos))
		return
	end
	
	--atdebug("Traversing from ",pos, connid)
	local counter_hit = traverser(found_tcbs, pos, conns, connid, 0)
	
	local ts_id
	local list_eoi = {}
	local list_ok = {}
	local list_mismatch = {}
	local ts_to_merge = {}
	
	for idx, sigd in pairs(found_tcbs) do
		local tcbs = ildb.get_tcbs(sigd)
		if not tcbs.ts_id then
			--atdebug("Sync: put",sigd_to_string(sigd),"into list_eoi")
			table.insert(list_eoi, sigd)
		elseif not ts_id and tcbs.ts_id then
			if not ildb.get_ts(tcbs.ts_id) then
				atwarn("Track section database is inconsistent, there's no TS with ID=",tcbs.ts_id)
				tcbs.ts_id = nil
				table.insert(list_eoi, sigd)
			else
				--atdebug("Sync: put",sigd_to_string(sigd),"into list_ok")
				ts_id = tcbs.ts_id
				table.insert(list_ok, sigd)
			end
		elseif ts_id and tcbs.ts_id and tcbs.ts_id ~= ts_id then
			atwarn("Track section database is inconsistent, sections share track!")
			atwarn("Merging",tcbs.ts_id,"into",ts_id,".")
			table.insert(list_mismatch, sigd)
			table.insert(ts_to_merge, tcbs.ts_id)
		end
	end
	if ts_id then
		local ts = ildb.get_ts(ts_id)
		for _, sigd in ipairs(list_eoi) do
			local tcbs = ildb.get_tcbs(sigd)
			tcbs.ts_id = ts_id
			table.insert(ts.tc_breaks, sigd)
			advtrains.interlocking.show_tcb_marker(sigd.p)
		end
		for _, mts in ipairs(ts_to_merge) do
			merge_ts(ts_id, mts)
		end
	end
end

function ildb.link_track_sections(merge_id, root_id)
	if merge_id == root_id then
		return
	end
	merge_ts(root_id, merge_id)
end

function ildb.remove_from_interlocking(sigd)
	local tcbs = ildb.get_tcbs(sigd)
	if not ildb.may_modify_tcbs(tcbs) then return false end
	
	if tcbs.ts_id then
		local tsid = tcbs.ts_id
		local ts = ildb.get_ts(tsid)
		if not ts then
			tcbs.ts_id = nil
			return true
		end
		
		-- remove entry from the list
		local idx = 1
		while idx <= #ts.tc_breaks do
			local cmp = ts.tc_breaks[idx]
			if sigd_equal(sigd, cmp) then
				table.remove(ts.tc_breaks, idx)
			else
				idx = idx + 1
			end
		end
		tcbs.ts_id = nil
		
		--ildb.sync_tcb_neighbors(sigd.p, sigd.s)
		
		if #ts.tc_breaks == 0 then
			track_sections[tsid] = nil
		end
	end
	advtrains.interlocking.show_tcb_marker(sigd.p)
	if tcbs.signal then
		return false
	end
	return true
end

function ildb.remove_tcb(pos)
	local pts = advtrains.roundfloorpts(pos)
	if not track_circuit_breaks[pts] then
		return true --FIX: not an error, because tcb is already removed
	end
	for connid=1,2 do
		if not ildb.remove_from_interlocking({p=pos, s=connid}) then
			return false
		end
	end
	track_circuit_breaks[pts] = nil
	return true
end

function ildb.dissolve_ts(ts_id)
	local ts = ildb.get_ts(ts_id)
	if not ildb.may_modify_ts(ts) then return false end
	local tcbr = advtrains.merge_tables(ts.tc_breaks)
	for _,sigd in ipairs(tcbr) do
		ildb.remove_from_interlocking(sigd)
	end
	-- Note: ts gets removed in the moment of the removal of the last TCB.
	return true
end

-- Returns true if it is allowed to modify any property of a track section, such as
-- - removing TCBs
-- - merging and dissolving sections
-- As of now the action will be denied if a route is set or if a train is in the section.
function ildb.may_modify_ts(ts)
	if ts.route or ts.route_post or (ts.trains and #ts.trains>0) then
		return false
	end
	return true
end


function ildb.may_modify_tcbs(tcbs)
	if tcbs.ts_id then
		local ts = ildb.get_ts(tcbs.ts_id)
		if ts and not ildb.may_modify_ts(ts) then
			return false
		end
	end
	return true
end

-- Utilize the traverser to find the track section at the specified position
-- Returns:
-- ts_id, origin - the first found ts and the sigd of the found tcb
-- nil - there were no TCBs in TRAVERSER_MAX range of the position
-- false - the first found TCB stated End-Of-Interlocking, or track ends were reached
function ildb.get_ts_at_pos(pos)
	local node_ok, conns, rhe = advtrains.get_rail_info_at(pos, advtrains.all_tracktypes)
	if not node_ok then
		error("get_ts_at_pos but node is NOK: "..minetest.pos_to_string(pos))
	end
	local limit_hit = false
	local found_tcbs = {}
	for connid, conn in ipairs(conns) do -- Note: a breadth-first-search would be better for performance
		limit_hit = limit_hit or traverser(found_tcbs, pos, conns, connid, 0, 1)
		if #found_tcbs >= 1 then
			local tcbs = ildb.get_tcbs(found_tcbs[1])
			local ts
			if tcbs.ts_id then
				return tcbs.ts_id, found_tcbs[1]
			else
				return false
			end
		end
	end
	if limit_hit then
		-- there was at least one limit hit
		return nil
	else
		-- all traverser ends were track ends
		return false
	end
end


-- returns the sigd the signal at pos belongs to, if this is known
function ildb.get_sigd_for_signal(pos)
	local pts = advtrains.roundfloorpts(pos)
	local sigd = signal_assignments[pts]
	if sigd then
		if not ildb.get_tcbs(sigd) then
			signal_assignments[pts] = nil
			return nil
		end
		return sigd
	end
	return nil
end
function ildb.set_sigd_for_signal(pos, sigd)
	local pts = advtrains.roundfloorpts(pos)
	signal_assignments[pts] = sigd
end

-- checks if there's any influence point set to this position
-- if purge is true, checks whether the associated signal still exists
-- and deletes the ip if not.
function ildb.is_ip_at(pos, purge)
	local pts = advtrains.roundfloorpts(pos)
	if influence_points[pts] then
		if purge then
			-- is there still a signal assigned to it?
			for connid, sigpos in pairs(influence_points[pts]) do
				local asp = advtrains.interlocking.signal_get_aspect(sigpos)
				if not asp then
					atlog("Clearing orphaned signal influence point", pts, "/", connid)
					ildb.clear_ip_signal(pts, connid)
				end
			end
			-- if there's no side left after purging, return false
			if not influence_points[pts] then return false end
		end
		return true
	end
	return false
end

-- checks if a signal is influencing here
function ildb.get_ip_signal(pts, connid)
	if influence_points[pts] then
		return influence_points[pts][connid]
	end
end

-- Tries to get aspect to obey here, if there
-- is a signal ip at this location
-- auto-clears invalid assignments
function ildb.get_ip_signal_asp(pts, connid)
	local p = ildb.get_ip_signal(pts, connid)
	if p then
		local asp = advtrains.interlocking.signal_get_aspect(p)
		if not asp then
			atlog("Clearing orphaned signal influence point", pts, "/", connid)
			ildb.clear_ip_signal(pts, connid)
			return nil
		end
		return asp, p
	end
	return nil
end

-- set signal assignment.
function ildb.set_ip_signal(pts, connid, spos)
	ildb.clear_ip_by_signalpos(spos)
	if not influence_points[pts] then
		influence_points[pts] = {}
	end
	influence_points[pts][connid] = spos
end
-- clear signal assignment.
function ildb.clear_ip_signal(pts, connid)
	influence_points[pts][connid] = nil
	for _,_ in pairs(influence_points[pts]) do
		return
	end
	influence_points[pts] = nil
end

function ildb.get_ip_by_signalpos(spos)
	for pts,tab in pairs(influence_points) do
		for connid,pos in pairs(tab) do
			if vector.equals(pos, spos) then
				return pts, connid
			end
		end
	end
end
function ildb.check_for_duplicate_ip(spos)
	local main_ip_found = false
	-- first pass: check for duplicates
	for pts,tab in pairs(influence_points) do
		for connid,pos in pairs(tab) do
			if vector.equals(pos, spos) then
				if main_ip_found then
					atwarn("Signal at",spos,": Deleting duplicate signal influence point at",pts,"/",connid)
					tab[connid] = nil
				end
				main_ip_found = true
			end
		end
	end
	-- second pass: delete empty tables
	for pts,tab in pairs(influence_points) do
		if not tab[1] and not tab[2] then -- only those two connids may exist
			influence_points[pts] = nil
		end
	end
end

-- clear signal assignment given the signal position
function ildb.clear_ip_by_signalpos(spos)
	local pts, connid = ildb.get_ip_by_signalpos(spos)
	if pts then ildb.clear_ip_signal(pts, connid) end
end


advtrains.interlocking.db = ildb




'n2570' href='#n2570'>2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: minetest\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-10-24 20:28+0200\n"
"PO-Revision-Date: 2015-10-30 22:12+0200\n"
"Last-Translator: Maksim D. Gamarnik <MoNTE48@mail.ua>\n"
"Language-Team: Russian "
"<https://hosted.weblate.org/projects/minetest/minetest/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<="
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 2.5-dev\n"

#: builtin/fstk/ui.lua
msgid "An error occured in a Lua script, such as a mod:"
msgstr "Ошибка в скрипте Lua в моде:"

#: builtin/fstk/ui.lua
msgid "An error occured:"
msgstr "Произошла ошибка:"

#: builtin/fstk/ui.lua
msgid "Main menu"
msgstr "Главное меню"

#: builtin/fstk/ui.lua builtin/mainmenu/store.lua
msgid "Ok"
msgstr "OK"

#: builtin/fstk/ui.lua
msgid "Reconnect"
msgstr "Переподключиться"

#: builtin/fstk/ui.lua
msgid "The server has requested a reconnect:"
msgstr "Сервер запросил повторное соединение:"

#: builtin/mainmenu/common.lua src/game.cpp
msgid "Loading..."
msgstr "Загрузка..."

#: builtin/mainmenu/common.lua
msgid "Protocol version mismatch. "
msgstr "Несоответствие версии протокола."

#: builtin/mainmenu/common.lua
msgid "Server enforces protocol version $1. "
msgstr ""

#: builtin/mainmenu/common.lua
msgid "Server supports protocol versions between $1 and $2. "
msgstr "Сервер поддерживает версии протокола между $1 и $2."

#: builtin/mainmenu/common.lua
msgid "Try reenabling public serverlist and check your internet connection."
msgstr ""
"Попробуйте обновить список публичных серверов и проверьте связь с Интернетом."

#: builtin/mainmenu/common.lua
msgid "We only support protocol version $1."
msgstr "Поддерживается только протокол версии $1."

#: builtin/mainmenu/common.lua
msgid "We support protocol versions between version $1 and $2."
msgstr ""

#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/dlg_create_world.lua
#: builtin/mainmenu/dlg_rename_modpack.lua builtin/mainmenu/tab_settings.lua
#: src/guiKeyChangeMenu.cpp src/keycode.cpp
msgid "Cancel"
msgstr "Отменить"

#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_mods.lua
msgid "Depends:"
msgstr "Зависит от:"

#: builtin/mainmenu/dlg_config_world.lua
msgid "Disable MP"
msgstr "Отключить мультиплеер"

#: builtin/mainmenu/dlg_config_world.lua
msgid "Enable MP"
msgstr "Включить мультиплеер"

#: builtin/mainmenu/dlg_config_world.lua
msgid "Enable all"
msgstr "Включить всё"

#: builtin/mainmenu/dlg_config_world.lua
msgid ""
"Failed to enable mod \"$1\" as it contains disallowed characters. Only "
"chararacters [a-z0-9_] are allowed."
msgstr ""

#: builtin/mainmenu/dlg_config_world.lua
msgid "Hide Game"
msgstr "Скрыть игру"

#: builtin/mainmenu/dlg_config_world.lua
msgid "Hide mp content"
msgstr "Скрыть содержимое модпака"

#: builtin/mainmenu/dlg_config_world.lua
msgid "Mod:"
msgstr "Мод:"

#: builtin/mainmenu/dlg_config_world.lua builtin/mainmenu/tab_settings.lua
#: src/guiKeyChangeMenu.cpp
msgid "Save"
msgstr "Сохранить"

#: builtin/mainmenu/dlg_config_world.lua
msgid "World:"
msgstr "Мир:"

#: builtin/mainmenu/dlg_config_world.lua
msgid "enabled"
msgstr "включено"

#: builtin/mainmenu/dlg_create_world.lua
msgid "A world named \"$1\" already exists"
msgstr "Мир под названием \"$1\" уже существует"

#: builtin/mainmenu/dlg_create_world.lua
msgid "Create"
msgstr "Создать"

#: builtin/mainmenu/dlg_create_world.lua
msgid "Download a subgame, such as minetest_game, from minetest.net"
msgstr "Скачайте мини-игры, такие как minetest_game, на minetest.net"

#: builtin/mainmenu/dlg_create_world.lua
msgid "Download one from minetest.net"
msgstr "Загрузите их с minetest.net"

#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp
msgid "Game"
msgstr "Игра"

#: builtin/mainmenu/dlg_create_world.lua src/settings_translation_file.cpp
msgid "Mapgen"
msgstr "Генератор карты"

#: builtin/mainmenu/dlg_create_world.lua
msgid "No worldname given or no game selected"
msgstr "Не задано имя мира или не выбрана игра"

#: builtin/mainmenu/dlg_create_world.lua
msgid "Seed"
msgstr "Сид"

#: builtin/mainmenu/dlg_create_world.lua
msgid "Warning: The minimal development test is meant for developers."
msgstr "Внимание: \"Minimal development test\" для разработчиков."

#: builtin/mainmenu/dlg_create_world.lua
msgid "World name"
msgstr "Название мира"

#: builtin/mainmenu/dlg_create_world.lua
msgid "You have no subgames installed."
msgstr "У вас не установлено мини-игр."

#: builtin/mainmenu/dlg_delete_mod.lua
msgid "Are you sure you want to delete \"$1\"?"
msgstr "Уверены, что хотите удалить \"$1\"?"

#: builtin/mainmenu/dlg_delete_mod.lua
msgid "Modmgr: failed to delete \"$1\""
msgstr "Modmgr: невозможно удалить \"$1\""

#: builtin/mainmenu/dlg_delete_mod.lua
msgid "Modmgr: invalid modpath \"$1\""
msgstr "Modmgr: неправильный путь \"$1\""

#: builtin/mainmenu/dlg_delete_mod.lua
msgid "No of course not!"
msgstr "Никак нет!"

#: builtin/mainmenu/dlg_delete_mod.lua builtin/mainmenu/dlg_delete_world.lua
msgid "Yes"
msgstr "Да"

#: builtin/mainmenu/dlg_delete_world.lua
msgid "Delete World \"$1\"?"
msgstr "Удалить мир \"$1\"?"

#: builtin/mainmenu/dlg_delete_world.lua
msgid "No"
msgstr "Нет"

#: builtin/mainmenu/dlg_rename_modpack.lua src/keycode.cpp
msgid "Accept"
msgstr "Принять"

#: builtin/mainmenu/dlg_rename_modpack.lua
msgid "Rename Modpack:"
msgstr "Переименовать модпак:"

#: builtin/mainmenu/modmgr.lua
msgid ""
"\n"
"Install Mod: unsupported filetype \"$1\" or broken archive"
msgstr ""
"\n"
"Установка мода: неподдерживаемый тип файла \"$1\" или битый архив"

#: builtin/mainmenu/modmgr.lua
msgid "Failed to install $1 to $2"
msgstr "Невозможно установить $1 в $2"

#: builtin/mainmenu/modmgr.lua
msgid "Install Mod: file: \"$1\""
msgstr "Установка мода: файл \"$1\""

#: builtin/mainmenu/modmgr.lua
msgid "Install Mod: unable to find real modname for: $1"
msgstr "Установка мода: невозможно определить название мода для $1"

#: builtin/mainmenu/modmgr.lua
msgid "Install Mod: unable to find suitable foldername for modpack $1"
msgstr ""
"Установка мода: невозможно найти подходящее имя директории для модпака $1"

#: builtin/mainmenu/store.lua
msgid "Close store"
msgstr "Закрыть хранилище"

#: builtin/mainmenu/store.lua
msgid "Downloading $1, please wait..."
msgstr "Загрузка $1..."

#: builtin/mainmenu/store.lua
msgid "Install"
msgstr "Установить"

#: builtin/mainmenu/store.lua
msgid "Page $1 of $2"
msgstr "Страница $1 из $2"

#: builtin/mainmenu/store.lua
msgid "Rating"
msgstr "Рейтинг"

#: builtin/mainmenu/store.lua
msgid "Search"
msgstr "Поиск"

#: builtin/mainmenu/store.lua
msgid "Shortname:"
msgstr "Краткое имя:"

#: builtin/mainmenu/store.lua
msgid "Successfully installed:"
msgstr "Успешно установлено:"

#: builtin/mainmenu/store.lua
msgid "Unsorted"
msgstr "Не сортировано"

#: builtin/mainmenu/store.lua
msgid "re-Install"
msgstr "Переустановить"

#: builtin/mainmenu/tab_credits.lua
msgid "Active Contributors"
msgstr "Активные контрибьюторы"

#: builtin/mainmenu/tab_credits.lua
msgid "Core Developers"
msgstr "Основные разработчики"

#: builtin/mainmenu/tab_credits.lua
msgid "Credits"
msgstr "Благодарности"

#: builtin/mainmenu/tab_credits.lua
msgid "Previous Contributors"
msgstr "Контрибьюторы в отставке"

#: builtin/mainmenu/tab_credits.lua
msgid "Previous Core Developers"
msgstr "Разработчики в отставке"

#: builtin/mainmenu/tab_mods.lua
msgid "Installed Mods:"
msgstr "Установленные моды:"

#: builtin/mainmenu/tab_mods.lua
msgid "Mod information:"
msgstr "Описание мода:"

#: builtin/mainmenu/tab_mods.lua builtin/mainmenu/tab_settings.lua
msgid "Mods"
msgstr "Моды"

#: builtin/mainmenu/tab_mods.lua
msgid "No mod description available"
msgstr "Описание к моду отсутствует"

#: builtin/mainmenu/tab_mods.lua
msgid "Rename"
msgstr "Переименовать"

#: builtin/mainmenu/tab_mods.lua
msgid "Select Mod File:"
msgstr "Выберите файл с модом:"

#: builtin/mainmenu/tab_mods.lua
msgid "Uninstall selected mod"
msgstr "Удалить выбранный мод"

#: builtin/mainmenu/tab_mods.lua
msgid "Uninstall selected modpack"
msgstr "Удалить выбранный мод-пак"

#: builtin/mainmenu/tab_multiplayer.lua
msgid "Address / Port :"
msgstr "Адрес / Порт:"

#: builtin/mainmenu/tab_multiplayer.lua src/settings_translation_file.cpp
msgid "Client"
msgstr "Клиент"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua
msgid "Connect"
msgstr "Подключиться"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua
msgid "Creative mode"
msgstr "Режим творчества"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua
msgid "Damage enabled"
msgstr "Разрешить увечья"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_server.lua
#: builtin/mainmenu/tab_singleplayer.lua src/keycode.cpp
msgid "Delete"
msgstr "Удалить"

#: builtin/mainmenu/tab_multiplayer.lua
msgid "Name / Password :"
msgstr "Имя / Пароль:"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua
msgid "Public Serverlist"
msgstr "Список публичных серверов"

#: builtin/mainmenu/tab_multiplayer.lua builtin/mainmenu/tab_simple_main.lua
msgid "PvP enabled"
msgstr "PvP разрешён"

#: builtin/mainmenu/tab_server.lua
msgid "Bind Address"
msgstr "Адрес"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua
msgid "Configure"
msgstr "Настроить"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_simple_main.lua
#: builtin/mainmenu/tab_singleplayer.lua
msgid "Creative Mode"
msgstr "Режим творчества"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_simple_main.lua
#: builtin/mainmenu/tab_singleplayer.lua
msgid "Enable Damage"
msgstr "Разрешить увечья"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_simple_main.lua
msgid "Name/Password"
msgstr "Имя / Пароль"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua
msgid "New"
msgstr "Новый"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua
msgid "No world created or selected!"
msgstr "Не выбран мир!"

#: builtin/mainmenu/tab_server.lua
msgid "Port"
msgstr "Порт"

#: builtin/mainmenu/tab_server.lua
msgid "Public"
msgstr "Публичные"

#: builtin/mainmenu/tab_server.lua builtin/mainmenu/tab_singleplayer.lua
msgid "Select World:"
msgstr "Выберите мир:"

#: builtin/mainmenu/tab_server.lua
msgid "Server"
msgstr "Сервер"

#: builtin/mainmenu/tab_server.lua
msgid "Server Port"
msgstr "Порт сервера"

#: builtin/mainmenu/tab_server.lua
msgid "Start Game"
msgstr "Начать игру"

#: builtin/mainmenu/tab_settings.lua
msgid "\""
msgstr "\""

#: builtin/mainmenu/tab_settings.lua
msgid "(No description of setting given)"
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Browse"
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Change keys"
msgstr "Смена управления"

#: builtin/mainmenu/tab_settings.lua
msgid "Disabled"
msgstr "Отключить"

#: builtin/mainmenu/tab_settings.lua
msgid "Edit"
msgstr "Редактировать"

#: builtin/mainmenu/tab_settings.lua
msgid "Enabled"
msgstr "Включено"

#: builtin/mainmenu/tab_settings.lua
msgid ""
"Format: <offset>, <scale>, (<spreadX>, <spreadY>, <spreadZ>), <seed>, "
"<octaves>, <persistence>"
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Games"
msgstr "Игры"

#: builtin/mainmenu/tab_settings.lua
msgid "Optionally the lacunarity can be appended with a leading comma."
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Please enter a comma seperated list of flags."
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Please enter a valid integer."
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Please enter a valid number."
msgstr "Пожалуйста, введите корректное число."

#: builtin/mainmenu/tab_settings.lua
msgid "Possible values are: "
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "Restore Default"
msgstr "Восстановить по-умолчанию"

#: builtin/mainmenu/tab_settings.lua
#, fuzzy
msgid "Select path"
msgstr "Выбор"

#: builtin/mainmenu/tab_settings.lua
msgid "Settings"
msgstr "Настройки"

#: builtin/mainmenu/tab_settings.lua
msgid "Show technical names"
msgstr "Отобразить технические названия"

#: builtin/mainmenu/tab_settings.lua
msgid "The value must be greater than $1."
msgstr ""

#: builtin/mainmenu/tab_settings.lua
msgid "The value must be lower than $1."
msgstr ""

#: builtin/mainmenu/tab_simple_main.lua
msgid "Config mods"
msgstr "Настройка модов"

#: builtin/mainmenu/tab_simple_main.lua
msgid "Main"
msgstr "Главное меню"

#: builtin/mainmenu/tab_simple_main.lua
msgid "Start Singleplayer"
msgstr "Начать одиночную игру"

#: builtin/mainmenu/tab_singleplayer.lua src/keycode.cpp
msgid "Play"
msgstr "Играть"

#: builtin/mainmenu/tab_singleplayer.lua
msgid "Singleplayer"
msgstr "Одиночная игра"

#: builtin/mainmenu/tab_texturepacks.lua
msgid "No information available"
msgstr "Описание отсутствует"

#: builtin/mainmenu/tab_texturepacks.lua
msgid "None"
msgstr "Ничего"

#: builtin/mainmenu/tab_texturepacks.lua
msgid "Select texture pack:"
msgstr "Выберите пакет текстур:"

#: builtin/mainmenu/tab_texturepacks.lua
msgid "Texturepacks"
msgstr "Пакеты текстур"

#: src/client.cpp
msgid "Connection timed out."
msgstr "Тайм-аут соединения."

#: src/client.cpp
msgid "Done!"
msgstr "Готово!"

#: src/client.cpp
msgid "Initializing nodes"
msgstr "Инициирование нод"

#: src/client.cpp
msgid "Initializing nodes..."
msgstr "Инициирование нод..."

#: src/client.cpp
msgid "Item textures..."
msgstr "Текстуры предметов..."

#: src/client.cpp
msgid "Loading textures..."
msgstr "Загрузка текстур..."

#: src/client.cpp
msgid "Rebuilding shaders..."
msgstr "Сборка шейдеров..."

#: src/client/clientlauncher.cpp
msgid "Connection error (timed out?)"
msgstr "Ошибка соединения (таймаут?)"

#: src/client/clientlauncher.cpp
msgid "Could not find or load game \""
msgstr "Невозможно найти или загрузить игру \""

#: src/client/clientlauncher.cpp
msgid "Invalid gamespec."
msgstr "Неправильная конфигурация игры."

#: src/client/clientlauncher.cpp
msgid "Main Menu"
msgstr "Главное меню"

#: src/client/clientlauncher.cpp
msgid "No world selected and no address provided. Nothing to do."
msgstr "Не выбран мир и не введен адрес. Нечего делать."

#: src/client/clientlauncher.cpp
msgid "Player name too long."
msgstr "Имя игрока слишком длинное."

#: src/client/clientlauncher.cpp
msgid "Provided world path doesn't exist: "
msgstr "По этому пути мира нет: "

#: src/fontengine.cpp
msgid "needs_fallback_font"
msgstr "no"

#: src/game.cpp
msgid ""
"\n"
"Check debug.txt for details."
msgstr ""
"\n"
"Подробная информация в debug.txt."

#: src/game.cpp
msgid "Change Keys"
msgstr "Смена управления"

#: src/game.cpp
msgid "Change Password"
msgstr "Изменить пароль"

#: src/game.cpp
msgid "Connecting to server..."
msgstr "Подключение к серверу..."

#: src/game.cpp
msgid "Continue"
msgstr "Продолжить"

#: src/game.cpp
msgid "Creating client..."
msgstr "Создание клиента..."

#: src/game.cpp
msgid "Creating server..."
msgstr "Создание сервера..."

#: src/game.cpp
msgid ""
"Default Controls:\n"
"- WASD: move\n"
"- Space: jump/climb\n"
"- Shift: sneak/go down\n"
"- Q: drop item\n"
"- I: inventory\n"
"- Mouse: turn/look\n"
"- Mouse left: dig/punch\n"
"- Mouse right: place/use\n"
"- Mouse wheel: select item\n"
"- T: chat\n"
msgstr ""
"Управление по умолчанию:\n"
"- WASD: движение\n"
"- Пробел: прыжок/вверх\n"
"- Shift: красться/вниз\n"
"- Q: бросить предмет\n"
"- I: инвентарь\n"
"- Мышка: поворот\n"
"- ЛКМ: копать/удар\n"
"- ПКМ: поставить/использовать\n"
"- Колесико мыши: выбор предмета\n"
"- T: чат\n"

#: src/game.cpp
msgid ""
"Default Controls:\n"
"No menu visible:\n"
"- single tap: button activate\n"
"- double tap: place/use\n"
"- slide finger: look around\n"
"Menu/Inventory visible:\n"
"- double tap (outside):\n"
" -->close\n"
"- touch stack, touch slot:\n"
" --> move stack\n"
"- touch&drag, tap 2nd finger\n"
" --> place single item to slot\n"
msgstr ""
"Управление по умолчанию:\n"
"Не в меню:\n"
"- одно нажатие: кнопка активаций\n"
"- двойное нажатие: положить/использовать\n"
"- скольжение пальцем: осмотреться\n"
"В меню/инвертаре:\n"
"- двойное нажатие (вне меню)\n"
"--> закрыть меню\n"
"- Нажать на стопку, затем на ячейку:\n"
"--> Двигать стопку\n"
"- Потащить одним пальцем стопку в нужную ячейку, нажать вторым пальцем на "
"экран:\n"
"--> Положить один предмет в ячейку\n"

#: src/game.cpp
msgid "Exit to Menu"
msgstr "Выход в меню"

#: src/game.cpp
msgid "Exit to OS"
msgstr "Выход в ОС"

#: src/game.cpp
msgid "Item definitions..."
msgstr "Описания предметов..."

#: src/game.cpp
msgid "KiB/s"
msgstr "КиБ/с"

#: src/game.cpp
msgid "Media..."
msgstr "Медиафайлы..."

#: src/game.cpp
msgid "MiB/s"
msgstr "МиБ/с"

#: src/game.cpp
msgid "Node definitions..."
msgstr "Описания нод..."

#: src/game.cpp src/guiFormSpecMenu.cpp
msgid "Proceed"
msgstr "Продолжить"

#: src/game.cpp
msgid "Resolving address..."
msgstr "Получение адреса..."

#: src/game.cpp
msgid "Respawn"
msgstr "Возродиться"

#: src/game.cpp
msgid "Shutting down..."
msgstr "Завершение..."

#: src/game.cpp
msgid "Sound Volume"
msgstr "Громкость звука"

#: src/game.cpp
msgid "You died."
msgstr "Вы умерли."

#: src/guiFormSpecMenu.cpp
msgid "Enter "
msgstr "Введите "

#: src/guiFormSpecMenu.cpp
msgid "ok"
msgstr "OK"

#: src/guiKeyChangeMenu.cpp
msgid "\"Use\" = climb down"
msgstr "\"Использовать\" = вниз"

#: src/guiKeyChangeMenu.cpp
msgid "Backward"
msgstr "Назад"

#: src/guiKeyChangeMenu.cpp
msgid "Chat"
msgstr "Чат"

#: src/guiKeyChangeMenu.cpp
msgid "Command"
msgstr "Команда"

#: src/guiKeyChangeMenu.cpp
msgid "Console"
msgstr "Консоль"

#: src/guiKeyChangeMenu.cpp
msgid "Double tap \"jump\" to toggle fly"
msgstr "Двойной прыжок = летать"

#: src/guiKeyChangeMenu.cpp
msgid "Drop"
msgstr "Бросить"

#: src/guiKeyChangeMenu.cpp
msgid "Forward"
msgstr "Вперед"

#: src/guiKeyChangeMenu.cpp
msgid "Inventory"
msgstr "Инвентарь"

#: src/guiKeyChangeMenu.cpp
msgid "Jump"
msgstr "Прыжок"

#: src/guiKeyChangeMenu.cpp
msgid "Key already in use"
msgstr "Клавиша уже используется"

#: src/guiKeyChangeMenu.cpp
msgid "Keybindings. (If this menu screws up, remove stuff from minetest.conf)"
msgstr ""
"Сочетания клавиш. (Если это меню сломалось, удалите настройки из minetest."
"conf)"

#: src/guiKeyChangeMenu.cpp src/keycode.cpp
msgid "Left"
msgstr "Влево"

#: src/guiKeyChangeMenu.cpp src/settings_translation_file.cpp
msgid "Print stacks"
msgstr "Печать стеков"

#: src/guiKeyChangeMenu.cpp
msgid "Range select"
msgstr "Зона видимости"

#: src/guiKeyChangeMenu.cpp src/keycode.cpp
msgid "Right"
msgstr "Вправо"

#: src/guiKeyChangeMenu.cpp
msgid "Sneak"
msgstr "Красться"

#: src/guiKeyChangeMenu.cpp
msgid "Toggle Cinematic"
msgstr "Киношность"

#: src/guiKeyChangeMenu.cpp
msgid "Toggle fast"
msgstr "Ускорение"

#: src/guiKeyChangeMenu.cpp
msgid "Toggle fly"
msgstr "Полёт"

#: src/guiKeyChangeMenu.cpp
msgid "Toggle noclip"
msgstr "Включить noclip"

#: src/guiKeyChangeMenu.cpp
msgid "Use"
msgstr "Использовать"

#: src/guiKeyChangeMenu.cpp
msgid "press key"
msgstr "нажмите клавишу"

#: src/guiPasswordChange.cpp
msgid "Change"
msgstr "Изменить"

#: src/guiPasswordChange.cpp
msgid "Confirm Password"
msgstr "Подтверждение пароля"

#: src/guiPasswordChange.cpp
msgid "New Password"
msgstr "Новый пароль"

#: src/guiPasswordChange.cpp
msgid "Old Password"
msgstr "Старый пароль"

#: src/guiPasswordChange.cpp
msgid "Passwords do not match!"
msgstr "Пароли не совпадают!"

#: src/guiVolumeChange.cpp
msgid "Exit"
msgstr "Выход"

#: src/guiVolumeChange.cpp
msgid "Sound Volume: "
msgstr "Громкость звука: "

#: src/keycode.cpp
msgid "Apps"
msgstr "Приложения"

#: src/keycode.cpp
msgid "Attn"
msgstr "Внимание"

#: src/keycode.cpp
msgid "Back"
msgstr "Назад"

#: src/keycode.cpp
msgid "Capital"
msgstr "Caps Lock"

#: src/keycode.cpp
msgid "Clear"
msgstr "Очистить"

#: src/keycode.cpp
msgid "Comma"
msgstr "Запятая"

#: src/keycode.cpp
msgid "Control"
msgstr "Ctrl"

#: src/keycode.cpp
msgid "Convert"
msgstr "Преобразовать"

#: src/keycode.cpp
msgid "CrSel"
msgstr "CrSel"

#: src/keycode.cpp
msgid "Down"
msgstr "Вниз"

#: src/keycode.cpp
msgid "End"
msgstr "End"

#: src/keycode.cpp
msgid "Erase OEF"
msgstr "Стереть ОНС"

#: src/keycode.cpp
msgid "Escape"
msgstr "Escape"

#: src/keycode.cpp
msgid "ExSel"
msgstr "ExSel"

#: src/keycode.cpp
msgid "Execute"
msgstr "Выполнить"

#: src/keycode.cpp
msgid "Final"
msgstr "Конец"

#: src/keycode.cpp
msgid "Help"
msgstr "Справка"

#: src/keycode.cpp
msgid "Home"
msgstr "Home"

#: src/keycode.cpp
msgid "Insert"
msgstr "Insert"

#: src/keycode.cpp
msgid "Junja"
msgstr "Junja"

#: src/keycode.cpp
msgid "Kana"
msgstr "Кана"

#: src/keycode.cpp
msgid "Kanji"
msgstr "Кандзи"

#: src/keycode.cpp
msgid "Left Button"
msgstr "Левая кнопка"

#: src/keycode.cpp
msgid "Left Control"
msgstr "Левый Ctrl"

#: src/keycode.cpp
msgid "Left Menu"
msgstr "Левая клавиша меню"

#: src/keycode.cpp
msgid "Left Shift"
msgstr "Левый Shift"

#: src/keycode.cpp
msgid "Left Windows"
msgstr "Левая кл. Win"

#: src/keycode.cpp
msgid "Menu"
msgstr "Меню"

#: src/keycode.cpp
msgid "Middle Button"
msgstr "Средняя кнопка"

#: src/keycode.cpp
msgid "Minus"
msgstr "Минус"

#: src/keycode.cpp
msgid "Mode Change"
msgstr "Mode Change"

#: src/keycode.cpp
msgid "Next"
msgstr "Next"

#: src/keycode.cpp
msgid "Nonconvert"
msgstr "Не преобразовано"

#: src/keycode.cpp
msgid "Num Lock"
msgstr "Num Lock"

#: src/keycode.cpp
msgid "Numpad *"
msgstr "Доп. клав. *"

#: src/keycode.cpp
msgid "Numpad +"
msgstr "Доп. клав. +"

#: src/keycode.cpp
msgid "Numpad -"
msgstr "Доп. клав. -"

#: src/keycode.cpp
msgid "Numpad /"
msgstr "Доп. клав. /"

#: src/keycode.cpp
msgid "Numpad 0"
msgstr "Доп. клав. 0"

#: src/keycode.cpp
msgid "Numpad 1"
msgstr "Доп. клав. 1"

#: src/keycode.cpp
msgid "Numpad 2"
msgstr "Доп. клав. 2"

#: src/keycode.cpp
msgid "Numpad 3"
msgstr "Доп. клав. 3"

#: src/keycode.cpp
msgid "Numpad 4"
msgstr "Доп. клав. 4"

#: src/keycode.cpp
msgid "Numpad 5"
msgstr "Доп. клав. 5"

#: src/keycode.cpp
msgid "Numpad 6"
msgstr "Доп. клав. 6"

#: src/keycode.cpp
msgid "Numpad 7"
msgstr "Доп. клав. 7"

#: src/keycode.cpp
msgid "Numpad 8"
msgstr "Доп. клав. 8"

#: src/keycode.cpp
msgid "Numpad 9"
msgstr "Доп. клав. 9"

#: src/keycode.cpp
msgid "OEM Clear"
msgstr "Очистить OEM"

#: src/keycode.cpp
msgid "PA1"
msgstr "PA1"

#: src/keycode.cpp
msgid "Pause"
msgstr "Пауза"

#: src/keycode.cpp
msgid "Period"
msgstr "Период"

#: src/keycode.cpp
msgid "Plus"
msgstr "Плюс"

#: src/keycode.cpp
msgid "Print"
msgstr "Print"

#: src/keycode.cpp
msgid "Prior"
msgstr "Prior"

#: src/keycode.cpp
msgid "Return"
msgstr "Вернуться"

#: src/keycode.cpp
msgid "Right Button"
msgstr "Правая кнопка"

#: src/keycode.cpp
msgid "Right Control"
msgstr "Правый Ctrl"

#: src/keycode.cpp
msgid "Right Menu"
msgstr "Правая клавиша меню"

#: src/keycode.cpp
msgid "Right Shift"
msgstr "Правый Shift"

#: src/keycode.cpp
msgid "Right Windows"
msgstr "Прав. кл. Win"

#: src/keycode.cpp
msgid "Scroll Lock"
msgstr "Scroll Lock"

#: src/keycode.cpp
msgid "Select"
msgstr "Выбор"

#: src/keycode.cpp
msgid "Shift"
msgstr "Shift"

#: src/keycode.cpp
msgid "Sleep"
msgstr "Sleep"

#: src/keycode.cpp
msgid "Snapshot"
msgstr "Cнимок"

#: src/keycode.cpp
msgid "Space"
msgstr "Пробел"

#: src/keycode.cpp
msgid "Tab"
msgstr "Tab"

#: src/keycode.cpp
msgid "Up"
msgstr "Вверх"

#: src/keycode.cpp
msgid "X Button 1"
msgstr "Доп. кнопка 1"

#: src/keycode.cpp
msgid "X Button 2"
msgstr "Доп. кнопка 2"

#: src/keycode.cpp
msgid "Zoom"
msgstr "Масштаб"

#: src/settings_translation_file.cpp
msgid ""
"0 = parallax occlusion with slope information (faster).\n"
"1 = relief mapping (slower, more accurate)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "3D clouds"
msgstr "3D облака"

#: src/settings_translation_file.cpp
msgid "3D mode"
msgstr "3D режим"

#: src/settings_translation_file.cpp
msgid ""
"3D support.\n"
"Currently supported:\n"
"-    none: no 3d output.\n"
"-    anaglyph: cyan/magenta color 3d.\n"
"-    interlaced: odd/even line based polarisation screen support.\n"
"-    topbottom: split screen top/bottom.\n"
"-    sidebyside: split screen side by side."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"A chosen map seed for a new map, leave empty for random.\n"
"Will be overridden when creating a new world in the main menu."
msgstr ""

#: src/settings_translation_file.cpp
msgid "A message to be displayed to all clients when the server crashes."
msgstr "Сообщение, которое будет отображаться для всех при падении сервера."

#: src/settings_translation_file.cpp
msgid "A message to be displayed to all clients when the server shuts down."
msgstr "Сообщение, которое будет показано всем при отключении сервера."

#: src/settings_translation_file.cpp
msgid "Absolute limit of emerge queues"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Acceleration in air"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Active block range"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Active object send range"
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Address to connect to.\n"
"Leave this blank to start a local server.\n"
"Note that the address field in the main menu overrides this setting."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Adjust dpi configuration to your screen (non X11/Android only) e.g. for 4k "
"screens."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Adjust the gamma encoding for the light tables. Lower numbers are brighter.\n"
"This setting is for the client only and is ignored by the server."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Advanced"
msgstr "Дополнительно"

#: src/settings_translation_file.cpp
msgid "Always fly and fast"
msgstr "Всегда включен полёт и ускорение"

#: src/settings_translation_file.cpp
msgid "Ambient occlusion gamma"
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Anisotropic filtering"
msgstr "Анизотропная фильтрация"

#: src/settings_translation_file.cpp
msgid "Announce server"
msgstr "О сервере"

#: src/settings_translation_file.cpp
msgid ""
"Announce to this serverlist.\n"
"If you want to announce your ipv6 address, use  serverlist_url = v6.servers."
"minetest.net."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Ask to reconnect after crash"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Automaticaly report to the serverlist."
msgstr "Автоматически добавлять в список серверов."

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Backward key"
msgstr "Назад"

#: src/settings_translation_file.cpp
msgid "Basic"
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Bilinear filtering"
msgstr "Билинейная фильтрация"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Bind address"
msgstr "Адрес"

#: src/settings_translation_file.cpp
msgid "Bits per pixel (aka color depth) in fullscreen mode."
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Build inside player"
msgstr "Сетевая игра"

#: src/settings_translation_file.cpp
msgid "Bumpmapping"
msgstr "Бампмаппинг"

#: src/settings_translation_file.cpp
msgid "Camera smoothing"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Camera smoothing in cinematic mode"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Camera update toggle key"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Chat key"
msgstr "Кнопка чата"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Chat toggle key"
msgstr "Смена управления"

#: src/settings_translation_file.cpp
msgid "Chunk size"
msgstr "Размер чанка"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Cinematic mode"
msgstr "Режим творчества"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Cinematic mode key"
msgstr "Режим творчества"

#: src/settings_translation_file.cpp
msgid "Clean transparent textures"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Client and Server"
msgstr "Клиент и Сервер"

#: src/settings_translation_file.cpp
msgid "Climbing speed"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Cloud height"
msgstr "Высота облаков"

#: src/settings_translation_file.cpp
msgid "Cloud radius"
msgstr "Радиус облаков"

#: src/settings_translation_file.cpp
msgid "Clouds"
msgstr "Облака"

#: src/settings_translation_file.cpp
msgid "Clouds are a client side effect."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Clouds in menu"
msgstr "Облака в меню"

#: src/settings_translation_file.cpp
msgid "Colored fog"
msgstr "Цветной туман"

#: src/settings_translation_file.cpp
msgid ""
"Comma-separated list of trusted mods that are allowed to access insecure\n"
"functions even when mod security is on (via request_insecure_environment())."
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Command key"
msgstr "Команда"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Connect glass"
msgstr "Стёкла без швов"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Connect to external media server"
msgstr "Подключение к серверу..."

#: src/settings_translation_file.cpp
msgid "Connects glass if supported by node."
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Console alpha"
msgstr "Консоль"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Console color"
msgstr "Консоль"

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Console key"
msgstr "Консоль"

#: src/settings_translation_file.cpp
msgid "Continuous forward"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Continuous forward movement (only used for testing)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Controls"
msgstr "Управление"

#: src/settings_translation_file.cpp
msgid ""
"Controls length of day/night cycle.\n"
"Examples: 72 = 20min, 360 = 4min, 1 = 24hour, 0 = day/night/whatever stays "
"unchanged."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Controls size of deserts and beaches in Mapgen V6.\n"
"When snowbiomes are enabled 'mgv6_freq_desert' is ignored."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Crash message"
msgstr "Сообщение при падении"

#: src/settings_translation_file.cpp
msgid "Crosshair alpha"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Crosshair alpha (opaqueness, between 0 and 255)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Crosshair color"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Crosshair color (R,G,B)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Crouch speed"
msgstr ""

#: src/settings_translation_file.cpp
msgid "DPI"
msgstr "DPI"

#: src/settings_translation_file.cpp
msgid "Damage"
msgstr "Увечья"

#: src/settings_translation_file.cpp
msgid "Debug info toggle key"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Debug log level"
msgstr "Отладочный уровень"

#: src/settings_translation_file.cpp
msgid "Dedicated server step"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Default acceleration"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Default game"
msgstr "Стандартная игра"

#: src/settings_translation_file.cpp
msgid ""
"Default game when creating a new world.\n"
"This will be overridden when creating a world from the main menu."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Default password"
msgstr "Стандартный пароль"

#: src/settings_translation_file.cpp
msgid "Default privileges"
msgstr "Стандартные права"

#: src/settings_translation_file.cpp
msgid ""
"Default timeout for cURL, stated in milliseconds.\n"
"Only has an effect if compiled with cURL."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Defines sampling step of texture.\n"
"A higher value results in smoother normal maps."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Defines the maximal player transfer distance in blocks (0 = unlimited)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Delay showing tooltips, stated in milliseconds."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Deprecated Lua API handling"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Descending speed"
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Description of server, to be displayed when players join and in the "
"serverlist."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Desynchronize block animation"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Detailed mod profile data. Useful for mod developers."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Detailed mod profiling"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Disable anticheat"
msgstr "Отключить анти-чит"

#: src/settings_translation_file.cpp
msgid "Disallow empty passwords"
msgstr "Запретить пустой пароль"

#: src/settings_translation_file.cpp
msgid "Domain name of server, to be displayed in the serverlist."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Double tap jump for fly"
msgstr "Полет по двойному прыжку"

#: src/settings_translation_file.cpp
msgid "Double-tapping the jump key toggles fly mode."
msgstr "Двойное нажатие на прыжок включает режим полёта."

#: src/settings_translation_file.cpp
msgid "Drop item key"
msgstr "Кнопка выброса блока"

#: src/settings_translation_file.cpp
msgid "Dump the mapgen debug infos."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enable a bit lower water surface, so it doesn't "
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enable mod security"
msgstr "Включить защиту модов"

#: src/settings_translation_file.cpp
msgid "Enable players getting damage and dying."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enable random user input (only used for testing)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enable selection highlighting for nodes (disables selectionbox)."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enable smooth lighting with simple ambient occlusion.\n"
"Disable for speed or for different looks."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enable to disallow old clients from connecting.\n"
"Older clients are compatible in the sense that they will not crash when "
"connecting\n"
"to new servers, but they may not support all new features that you are "
"expecting."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enable usage of remote media server (if provided by server).\n"
"Remote servers offer a significantly faster way to download media (e.g. "
"textures)\n"
"when connecting to the server."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enable/disable running an IPv6 server.  An IPv6 server may be restricted\n"
"to IPv6 clients, depending on system configuration.\n"
"Ignored if bind_address is set."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enables bumpmapping for textures. Normalmaps need to be supplied by the "
"texture pack\n"
"or need to be auto-generated.\n"
"Requires shaders to be enabled."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enables caching of facedir rotated meshes."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Enables minimap."
msgstr "Включить мини-карту."

#: src/settings_translation_file.cpp
msgid ""
"Enables on the fly normalmap generation (Emboss effect).\n"
"Requires bumpmapping to be enabled."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Enables parallax occlusion mapping.\n"
"Requires shaders to be enabled."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Experimental option, might cause visible spaces between blocks\n"
"when set to higher number than 0."
msgstr ""

#: src/settings_translation_file.cpp
msgid "FPS in pause menu"
msgstr "FPS во время паузы"

#: src/settings_translation_file.cpp
msgid "FSAA"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fall bobbing"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fallback font"
msgstr "Fallback шрифт"

#: src/settings_translation_file.cpp
msgid "Fallback font shadow"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fallback font shadow alpha"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fallback font size"
msgstr "Fallback размер шрифта"

#: src/settings_translation_file.cpp
msgid "Fast key"
msgstr "Клавиша ускорения"

#: src/settings_translation_file.cpp
msgid "Fast mode acceleration"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fast mode speed"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fast movement"
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Fast movement (via use key).\n"
"This requires the "
msgstr ""

#: src/settings_translation_file.cpp
msgid "Field of view"
msgstr "Поле зрения"

#: src/settings_translation_file.cpp
msgid "Field of view in degrees."
msgstr "Поле зрения в градусах."

#: src/settings_translation_file.cpp
msgid ""
"File in client/serverlist/ that contains your favorite servers displayed in "
"the Multiplayer Tab."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Filtered textures can blend RGB values with fully-transparent neighbors,\n"
"which PNG optimizers usually discard, sometimes resulting in a dark or\n"
"light edge to transparent textures.  Apply this filter to clean that up\n"
"at texture load time."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Filtering"
msgstr "Фильтрация"

#: src/settings_translation_file.cpp
msgid "Fixed map seed"
msgstr "Конкретное семя мира"

#: src/settings_translation_file.cpp
msgid "Fly key"
msgstr "Кнопка полёта"

#: src/settings_translation_file.cpp
msgid "Flying"
msgstr "Полёт"

#: src/settings_translation_file.cpp
msgid "Fog"
msgstr "Туман"

#: src/settings_translation_file.cpp
msgid "Fog toggle key"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Font path"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Font shadow"
msgstr "Тень шрифта"

#: src/settings_translation_file.cpp
msgid "Font shadow alpha"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Font shadow alpha (opaqueness, between 0 and 255)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Font shadow offset, if 0 then shadow will not be drawn."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Font size"
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Forward key"
msgstr "Вперед"

#: src/settings_translation_file.cpp
msgid "Freetype fonts"
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"From how far blocks are generated for clients, stated in mapblocks (16 "
"nodes)."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"From how far blocks are sent to clients, stated in mapblocks (16 nodes)."
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"From how far clients know about objects, stated in mapblocks (16 nodes)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Full screen"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Full screen BPP"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Fullscreen mode."
msgstr ""

#: src/settings_translation_file.cpp
msgid "GUI scaling"
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "GUI scaling filter"
msgstr "Масштаб интерфейса"

#: src/settings_translation_file.cpp
msgid "GUI scaling filter txr2img"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Gamma"
msgstr ""

#: src/settings_translation_file.cpp
#, fuzzy
msgid "Generate normalmaps"
msgstr "Генерировать карты нормалей"

#: src/settings_translation_file.cpp
msgid ""
"Global map generation attributes.\n"
"Flags that are not specified in the flag string are not modified from the "
"default.\n"
"Flags starting with "
msgstr ""

#: src/settings_translation_file.cpp
msgid "Graphics"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Gravity"
msgstr ""

#: src/settings_translation_file.cpp
msgid "HUD toggle key"
msgstr ""

#: src/settings_translation_file.cpp
msgid ""
"Handling for deprecated lua api calls:\n"
"-    legacy: (try to) mimic old behaviour (default for release).\n"
"-    log: mimic and log backtrace of deprecated call (default for debug).\n"
"-    error: abort on usage of deprecated call (suggested for mod developers)."
msgstr ""

#: src/settings_translation_file.cpp
msgid "Height on which clouds are appearing."
msgstr ""

#: src/settings_translation_file.cpp
msgid "High-precision FPU"
msgstr ""

#: src/settings_translation_file.cpp
msgid "Homepage of server, to be displayed in the serverlist."
msgstr ""

#: src/settings_translation_file.cpp