mirror of
https://github.com/APercy/automobiles_pck
synced 2025-10-16 06:03:04 +02:00
fix names
This commit is contained in:
parent
926a79ace2
commit
5e3852cbaa
@ -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",
|
||||
|
@ -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)
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user