From 992265670533c87f874d1e8c2042507b123d9a39 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Sun, 3 Dec 2023 19:59:15 -0300 Subject: [PATCH] changed trunk limit of catrelle TL and added recipe --- automobiles_catrelle/crafts.lua | 6 ++++++ automobiles_catrelle/entities.lua | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/automobiles_catrelle/crafts.lua b/automobiles_catrelle/crafts.lua index d29f45a..6a42207 100644 --- a/automobiles_catrelle/crafts.lua +++ b/automobiles_catrelle/crafts.lua @@ -80,6 +80,12 @@ minetest.register_craftitem("automobiles_catrelle:catrelle_tl", { -- crafting -- if minetest.get_modpath("default") then + minetest.register_craft({ + output = "automobiles_catrelle:catrelle_tl", + recipe = { + {"automobiles_catrelle:catrelle", "default:glass", "default:steelblock"}, + } + }) minetest.register_craft({ output = "automobiles_catrelle:catrelle", recipe = { diff --git a/automobiles_catrelle/entities.lua b/automobiles_catrelle/entities.lua index b6ffca4..98c17bc 100755 --- a/automobiles_catrelle/entities.lua +++ b/automobiles_catrelle/entities.lua @@ -632,7 +632,7 @@ catrelle.car_properties2.initial_properties.textures[9] = "automobiles_alpha.png catrelle.car_properties2.initial_properties.textures[10] = "automobiles_catrelle_lat_glass.png" catrelle.car_properties2._seat_pos = {{x=-4.0,y=3,z=15},{x=4.0,y=3,z=15}, {x=-4.0,y=3,z=7},{x=4.0,y=3,z=7}} catrelle.car_properties2._color = "#0063b0" -catrelle.car_properties2._trunk_slots = 24 +catrelle.car_properties2._trunk_slots = 16 catrelle.car_properties2._extra_items_function = catrelle.extra_parts catrelle.car_properties2._destroy_function = catrelle.destroy