forked from luanti-org/minetest_game
		
	Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| -- carts/cart_entity.lua | ||||
|  | ||||
| -- support for MT game translation. | ||||
| local S = carts.get_translator | ||||
|  | ||||
| local cart_entity = { | ||||
| 	initial_properties = { | ||||
| 		physical = false, -- otherwise going uphill breaks | ||||
| @@ -383,7 +388,7 @@ end | ||||
| minetest.register_entity("carts:cart", cart_entity) | ||||
|  | ||||
| minetest.register_craftitem("carts:cart", { | ||||
| 	description = "Cart (Sneak+Click to pick up)", | ||||
| 	description = S("Cart (Sneak+Click to pick up)"), | ||||
| 	inventory_image = minetest.inventorycube("carts_cart_top.png", "carts_cart_side.png", "carts_cart_side.png"), | ||||
| 	wield_image = "carts_cart_side.png", | ||||
| 	on_place = function(itemstack, placer, pointed_thing) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user