优化注释
This commit is contained in:
parent
d54cb51377
commit
2452cf2bcf
4
api.lua
4
api.lua
@ -445,8 +445,6 @@ function vehicles.object_glide(entity, dtime, speed, decell, gravity, moving_ani
|
||||
end
|
||||
end
|
||||
|
||||
--spawner
|
||||
|
||||
function vehicles.register_spawner(vehicle, desc, texture, is_boat)
|
||||
minetest.register_craftitem(vehicle.."_spawner", {
|
||||
description = desc,
|
||||
@ -474,8 +472,6 @@ minetest.register_craftitem(vehicle.."_spawner", {
|
||||
})
|
||||
end
|
||||
|
||||
--explodinate
|
||||
|
||||
function vehicles.explodinate(ent, radius)
|
||||
local pos = ent.object:getpos()
|
||||
minetest.add_particlespawner({
|
||||
|
6
init.lua
6
init.lua
@ -2060,7 +2060,7 @@ minetest.register_node("vehicles:"..name, {
|
||||
light_source = light,
|
||||
sound = default.node_sound_stone_defaults(),
|
||||
})
|
||||
end
|
||||
end--function vehicles.register_simplenode(name, desc, texture, light)
|
||||
|
||||
vehicles.register_simplenode("road", "Road surface", "vehicles_road.png", 0)
|
||||
vehicles.register_simplenode("concrete", "Concrete", "vehicles_concrete.png", 0)
|
||||
@ -2368,6 +2368,6 @@ minetest.register_node("vehicles:tyres", {
|
||||
},
|
||||
groups = {cracky=1, falling_node=1},
|
||||
})
|
||||
end
|
||||
end--if minetest.setting_get("vehicles_nodes") then
|
||||
|
||||
end
|
||||
end--if enable_built_in then
|
||||
|
Loading…
x
Reference in New Issue
Block a user