charset=UTF-8 Last-Modified: Wed, 02 Dec 2026 17:38:52 GMT Expires: Sat, 29 Nov 2036 17:38:52 GMT basic_trains.git - basic trains for advtrains
summaryrefslogtreecommitdiff
path: root/advtrains_train_steam
Commit message (Expand)AuthorAge
* Merge branch 'mt5-fixes'orwell962020-01-04
|\
| * Move attachment positions down 1 nodeorwell962019-12-05
* | Remove fullbright (H#140)MT0.4orwell962019-12-18
|/
* Fix steam engine sound playing forever (H#121)ywang2019-11-27
* Change get_inventory_formspec API - add invname parameterorwell962018-12-10
* lower steel returnThomas Rudin2018-09-28
* Fix box wagonsorwell962018-06-14
* Fix bugs found while testingorwell962018-06-14
* Move driving_ctrl_access property to seat grouporwell962018-01-09
* steam locomotive: Add sounds and improve texturesmbb2017-12-23
* Implement sound api and some soundsorwell962017-12-06
* Change name of update_animation functionorwell962017-11-29
* Moved default train track to separate mod, for integration with advcarts.Gabriel Pérez-Cerezo2017-10-25
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
* Restructure mod directoryorwell962017-01-04
* remove train type concept and calculate train's capabilities based on used wa...orwell962016-12-22
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20
ss="hl kwa">then local pos=pointed_thing.under if advtrains.is_passive(pos) then local form = "size[7,5]label[0.5,0.5;Route lock inspector]" local pts = minetest.pos_to_string(pos) local rtl = ilrs.has_route_lock(pts) if rtl then form = form.."label[0.5,1;Route locks currently put:\n"..rtl.."]" form = form.."button_exit[0.5,3.5; 5,1;clear;Clear]" else form = form.."label[0.5,1;No route locks set]" form = form.."button_exit[0.5,3.5; 5,1;emplace;Emplace manual lock]" end minetest.show_formspec(pname, "at_il_rtool_"..pts, form) else minetest.chat_send_player(pname, "Cannot use this here.") return end end end, }) minetest.register_on_player_receive_fields(function(player, formname, fields) local pname = player:get_player_name() if not minetest.check_player_privs(pname, "interlocking") then return end local pos local pts = string.match(formname, "^at_il_rtool_(.+)$") if pts then pos = minetest.string_to_pos(pts) end if pos then if advtrains.is_passive(pos) then if fields.clear then ilrs.remove_route_locks(pts) end if fields.emplace then ilrs.add_manual_route_lock(pts, "Manual lock ("..pname..")") end end end end)