renamed catrelle tl to 4f
This commit is contained in:
parent
af6bbd3c5f
commit
ccb0ed37b2
@ -44,8 +44,8 @@ minetest.register_craftitem("automobiles_catrelle:catrelle", {
|
||||
})
|
||||
|
||||
-- catrelle TL
|
||||
minetest.register_craftitem("automobiles_catrelle:catrelle_tl", {
|
||||
description = S("Catrelle TL"),
|
||||
minetest.register_craftitem("automobiles_catrelle:catrelle_4f", {
|
||||
description = S("Catrelle 4F"),
|
||||
inventory_image = "automobiles_catrelle.png",
|
||||
liquids_pointable = false,
|
||||
|
||||
@ -56,7 +56,7 @@ minetest.register_craftitem("automobiles_catrelle:catrelle_tl", {
|
||||
|
||||
local pointed_pos = pointed_thing.above
|
||||
--pointed_pos.y=pointed_pos.y+0.2
|
||||
local car = minetest.add_entity(pointed_pos, "automobiles_catrelle:catrelle_tl")
|
||||
local car = minetest.add_entity(pointed_pos, "automobiles_catrelle:catrelle_4f")
|
||||
if car and placer then
|
||||
local ent = car:get_luaentity()
|
||||
local owner = placer:get_player_name()
|
||||
@ -67,7 +67,7 @@ minetest.register_craftitem("automobiles_catrelle:catrelle_tl", {
|
||||
car:set_yaw(placer:get_look_horizontal())
|
||||
itemstack:take_item()
|
||||
ent.object:set_acceleration({x=0,y=-automobiles_lib.gravity,z=0})
|
||||
automobiles_lib.setText(ent, "Catrelle TL")
|
||||
automobiles_lib.setText(ent, "Catrelle 4F")
|
||||
automobiles_lib.create_inventory(ent, ent._trunk_slots, owner)
|
||||
end
|
||||
end
|
||||
@ -81,7 +81,7 @@ minetest.register_craftitem("automobiles_catrelle:catrelle_tl", {
|
||||
--
|
||||
if minetest.get_modpath("default") then
|
||||
minetest.register_craft({
|
||||
output = "automobiles_catrelle:catrelle_tl",
|
||||
output = "automobiles_catrelle:catrelle_4f",
|
||||
recipe = {
|
||||
{"automobiles_catrelle:catrelle", "default:glass", "default:steelblock"},
|
||||
}
|
||||
|
@ -625,7 +625,7 @@ catrelle.car_properties1 = {
|
||||
minetest.register_entity("automobiles_catrelle:catrelle", catrelle.car_properties1)
|
||||
|
||||
catrelle.car_properties2 = automobiles_lib.properties_copy(catrelle.car_properties1)
|
||||
catrelle.car_properties2._vehicle_name = "Catrelle TL"
|
||||
catrelle.car_properties2._vehicle_name = "Catrelle 4F"
|
||||
catrelle.car_properties2.initial_properties = automobiles_lib.properties_copy(catrelle.car_properties1.initial_properties)
|
||||
catrelle.car_properties2.initial_properties.textures = automobiles_lib.properties_copy(catrelle.car_properties1.initial_properties.textures)
|
||||
catrelle.car_properties2.initial_properties.textures[9] = "automobiles_alpha.png"
|
||||
@ -636,5 +636,5 @@ catrelle.car_properties2._trunk_slots = 16
|
||||
catrelle.car_properties2._extra_items_function = catrelle.extra_parts
|
||||
catrelle.car_properties2._destroy_function = catrelle.destroy
|
||||
|
||||
minetest.register_entity("automobiles_catrelle:catrelle_tl", catrelle.car_properties2)
|
||||
minetest.register_entity("automobiles_catrelle:catrelle_4f", catrelle.car_properties2)
|
||||
|
||||
|
@ -733,6 +733,7 @@ local old_entities = {
|
||||
"automobiles_buggy:pointer",
|
||||
"automobiles_catrelle:pivot_mesh",
|
||||
"automobiles_catrelle:pointer",
|
||||
"automobiles_catrelle:catrelle_tl",
|
||||
"automobiles_coupe:pivot_mesh",
|
||||
"automobiles_coupe:pointer",
|
||||
"automobiles_delorean:pivot_mesh",
|
||||
|
Loading…
x
Reference in New Issue
Block a user