diff options
Diffstat (limited to 'moretrains_steam/init.lua')
-rw-r--r-- | moretrains_steam/init.lua | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/moretrains_steam/init.lua b/moretrains_steam/init.lua index 7db6c3f..b37f0ce 100644 --- a/moretrains_steam/init.lua +++ b/moretrains_steam/init.lua @@ -112,64 +112,6 @@ advtrains.register_wagon("moretrains_tender", { }, }, S("Tender #1"), "moretrains_steam_tender_inv.png") -advtrains.register_wagon("steam_train", { - mesh="moretrains_steam_train.b3d", - textures = {"moretrains_steam_train.png"}, - is_locomotive=true, - drives_on={default=true}, - max_speed=11, - seats = { - { - name=S("Driver Stand (left)"), - attach_offset={x=-5, y=0, z=-15}, - view_offset={x=0, y=6, z=0}, - group = "dstand", - }, - { - name=S("Driver Stand (right)"), - attach_offset={x=5, y=0, z=-15}, - view_offset={x=0, y=6, z=0}, - group = "dstand", - }, - }, - seat_groups = { - dstand={ - name = "Driver Stand", - driving_ctrl_access=true, - access_to = {}, - }, - }, - assign_to_seat_group = {"dstand"}, - visual_size = {x=1, y=1}, - wagon_span=2.567, - collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0}, - drops={"default:steelblock 1"}, - horn_sound = "advtrains_steam_whistle", -}, S("Steam Train (Deprecated) will be removed soon"), "moretrains_deprecated.png") - -advtrains.register_wagon("tender", { - mesh="moretrains_steam_tender.b3d", - textures = {"moretrains_steam_tender.png"}, - drives_on={default=true}, - max_speed=30, - seats = {}, - visual_size = {x=1, y=1}, - wagon_span=1.667, - collisionbox = {-1.0,-0.5,-1.0, 1.0,2.5,1.0}, - drops={"default:steelblock 1"}, - has_inventory = true, - get_inventory_formspec = function(self, pname, invname) - return "size[8,11]".. - "list["..invname..";box;0,0;8,3;]".. - "list[current_player;main;0,5;8,4;]".. - "listring[]" - end, - inventory_list_sizes = { - box=1*8, - }, -}, S("Tender (Deprecated) will be removed soon"), "moretrains_deprecated.png") - - minetest.register_craft({ |