LCD bugfix
This commit is contained in:
parent
6dc1bf5515
commit
5f6fbe0282
@ -205,18 +205,12 @@ _sl
|
||||
]
|
||||
_sr
|
||||
2
|
||||
'
|
||||
_ap
|
||||
1
|
||||
!
|
||||
_ex
|
||||
1
|
||||
?
|
||||
_qu
|
||||
4
|
||||
@
|
||||
_at
|
||||
5
|
||||
#
|
||||
_hs
|
||||
5
|
||||
@ -229,12 +223,6 @@ _pr
|
||||
^
|
||||
_ca
|
||||
3
|
||||
&
|
||||
_am
|
||||
5
|
||||
*
|
||||
_as
|
||||
3
|
||||
_
|
||||
_un
|
||||
3
|
2
lcd.lua
2
lcd.lua
@ -11,7 +11,7 @@
|
||||
]]--
|
||||
|
||||
-- load characters map
|
||||
local chars_file = io.open(minetest.get_modpath("digilines").."/characters", "r")
|
||||
local chars_file = io.open(minetest.get_modpath("hyperloop").."/characters.data", "r")
|
||||
local charmap = {}
|
||||
local max_chars = 16
|
||||
if not chars_file then
|
||||
|
4
seat.lua
4
seat.lua
@ -46,7 +46,7 @@ local function on_arrival(player, src_pos, dst_pos, snd, radiant)
|
||||
})
|
||||
-- activate display
|
||||
local station_name = meta:get_string("station_name")
|
||||
local text = "Wellcome in | | "..station_name
|
||||
local text = " | Wellcome in | | "..station_name
|
||||
hyperloop.enter_display(dst_pos, facedir, text)
|
||||
|
||||
-- open the door an the departure station
|
||||
@ -139,7 +139,7 @@ local function on_start_travel(pos, node, clicker)
|
||||
|
||||
-- activate display
|
||||
local dist = hyperloop.distance(pos, dest_pos)
|
||||
local text = "Destination: | "..dest_name.." | Dist: "..dist.." | Arrival in: | "
|
||||
local text = "Destination: | "..dest_name.." | Distance: | "..dist.." m | Arrival in: | "
|
||||
local atime = 10 + math.floor(dist/200)
|
||||
hyperloop.enter_display(pos, dest_facedir, text..atime.." sec")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user