diff options
| author | Singularis <singularis@volny.cz> | 2022-11-27 09:42:59 +0100 |
|---|---|---|
| committer | orwell <orwell@bleipb.de> | 2025-05-27 20:22:01 +0200 |
| commit | bc3493b54e237f0e5d6b723a56cae4cddbd85082 (patch) | |
| tree | d5e081b8167e60e99cbe160188b8a3a6d090282d /advtrains | |
| parent | f21c908d344a4c3c624c39f568e14a015fe8c6e7 (diff) | |
[advtrains] lokalizace výpisu id vlaku a vagonu
Diffstat (limited to 'advtrains')
| -rw-r--r-- | advtrains/wagons.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua index e709a9b..106bb2b 100644 --- a/advtrains/wagons.lua +++ b/advtrains/wagons.lua @@ -344,7 +344,7 @@ function wagon:on_step(dtime) if pc.up or pc.down then self:get_off(seatno) end - end + end end if pc.aux1 and pc.sneak then self:get_off(seatno) @@ -355,10 +355,9 @@ function wagon:on_step(dtime) --check infotext local outside=train.text_outside or "" if setting_show_ids then - outside = outside .. "\nT:" .. data.train_id .. " W:" .. self.id .. " O:" .. data.owner + outside = outside .. "\nvlak:" .. data.train_id .. " vagon:" .. self.id .. " vlastník/ice:" .. data.owner end - - + --show off-track information in outside text instead of notifying the whole server about this if train.off_track then outside = outside .."\n" .. attrans("!!! Train off track !!!") |
