fix names

This commit is contained in:
Alexsandro Percy 2022-02-09 20:08:07 -03:00
parent 926a79ace2
commit 5e3852cbaa
3 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ minetest.register_craftitem("automobiles_coupe:coupe_body",{
inventory_image = "automobiles_coupe_body.png",
})
-- buggy
-- coupe
minetest.register_craftitem("automobiles_coupe:coupe", {
description = "Coupe",
inventory_image = "automobiles_coupe.png",

View File

@ -320,7 +320,7 @@ minetest.register_entity("automobiles_coupe:coupe", {
self._show_rag = data.stored_rag
self._pitch = data.stored_pitch
self._light_old_pos = data.stored_light_old_pos
automobiles_lib.setText(self, "Buggy")
automobiles_lib.setText(self, "Coupe")
end
self.object:set_animation({x = 1, y = 8}, 0, 0, true)

View File

@ -1,7 +1,7 @@
--dofile(minetest.get_modpath("automobiles_buggy") .. DIR_DELIM .. "coupe_global_definitions.lua")
--dofile(minetest.get_modpath("automobiles_buggy") .. DIR_DELIM .. "coupe_hud.lua")
--dofile(minetest.get_modpath("automobiles_coupe") .. DIR_DELIM .. "coupe_global_definitions.lua")
--dofile(minetest.get_modpath("automobiles_coupe") .. DIR_DELIM .. "coupe_hud.lua")
-- destroy the buggy
-- destroy the coupe
function coupe.destroy(self, puncher)
automobiles_lib.remove_light(self)
if self.sound_handle then
@ -46,7 +46,7 @@ function coupe.destroy(self, puncher)
pos.y=pos.y+2
--minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'automobiles_coupe:buggy')
--minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'automobiles_coupe:coupe')
minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'automobiles_lib:engine')
minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'automobiles_lib:wheel')
minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'automobiles_lib:wheel')