Add cars to creative inventory. Add information to readme
This commit is contained in:
parent
d351187b5f
commit
d8d5831270
69
README.txt
69
README.txt
@ -2,3 +2,72 @@ mesecar 0.4.0 by paramat
|
|||||||
For Minetest 0.4.10 and later
|
For Minetest 0.4.10 and later
|
||||||
Depends default
|
Depends default
|
||||||
Licenses: code WTFPL, textures CC BY-SA
|
Licenses: code WTFPL, textures CC BY-SA
|
||||||
|
|
||||||
|
4 styles of microcar: skycar, nyancart, mesecar and oerkka.
|
||||||
|
Will only turn when moving, turn speed reduces near top speed.
|
||||||
|
Dual-motor 4 wheel drive update (inspired by Tesla Model S).
|
||||||
|
By default will climb slabs but not full blocks, edit STEPH to 1.1 to climb blocks.
|
||||||
|
16 pixel textures scaled to a 1.5 node cube, the player is sitting inside and has to be hidden because scaling the car also scales the driver.
|
||||||
|
My pathv6alt mod https://forum.minetest.net/viewtopic.php?f=11&t=10064 generates roads in mgv6 to drive on.
|
||||||
|
Noisegrid lua mapgen also has roads https://forum.minetest.net/viewtopic.php?f=11&t=9296.
|
||||||
|
|
||||||
|
Crafting recipies
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:motor",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
|
||||||
|
{"default:copper_ingot", "default:steel_ingot", "default:copper_ingot"},
|
||||||
|
{"default:steel_ingot", "default:copper_ingot", "default:steel_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:battery",
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "default:steel_ingot", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "default:mese_block", "default:steel_ingot"},
|
||||||
|
{"default:copper_ingot", "default:copper_ingot", "default:steel_ingot"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:mesecar1", -- Skycar
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "dye:blue", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "group:wool", "default:glass"},
|
||||||
|
{"mesecar:motor", "mesecar:battery", "mesecar:motor"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:mesecar2", -- Oerkka
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "dye:magenta", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "group:wool", "default:glass"},
|
||||||
|
{"mesecar:motor", "mesecar:battery", "mesecar:motor"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:mesecar3", -- Nyancart
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "dye:pink", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "group:wool", "default:glass"},
|
||||||
|
{"mesecar:motor", "mesecar:battery", "mesecar:motor"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mesecar:mesecar4", -- Mesecar
|
||||||
|
recipe = {
|
||||||
|
{"default:steel_ingot", "dye:yellow", "default:steel_ingot"},
|
||||||
|
{"default:steel_ingot", "group:wool", "default:glass"},
|
||||||
|
{"mesecar:motor", "mesecar:battery", "mesecar:motor"},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
4
init.lua
4
init.lua
@ -540,7 +540,6 @@ minetest.register_craftitem("mesecar:mesecar1", { -- Skycar
|
|||||||
wield_image = "mesecar_car1front.png",
|
wield_image = "mesecar_car1front.png",
|
||||||
wield_scale = {x = 2, y = 2, z = 2},
|
wield_scale = {x = 2, y = 2, z = 2},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {not_in_creative_inventory=1},
|
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
@ -565,7 +564,6 @@ minetest.register_craftitem("mesecar:mesecar2", { -- Oerkka
|
|||||||
wield_image = "mesecar_car2front.png",
|
wield_image = "mesecar_car2front.png",
|
||||||
wield_scale = {x = 2, y = 2, z = 2},
|
wield_scale = {x = 2, y = 2, z = 2},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {not_in_creative_inventory=1},
|
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
@ -590,7 +588,6 @@ minetest.register_craftitem("mesecar:mesecar3", { -- Nyancart
|
|||||||
wield_image = "mesecar_car3front.png",
|
wield_image = "mesecar_car3front.png",
|
||||||
wield_scale = {x = 2, y = 2, z = 2},
|
wield_scale = {x = 2, y = 2, z = 2},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {not_in_creative_inventory=1},
|
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
@ -615,7 +612,6 @@ minetest.register_craftitem("mesecar:mesecar4", { -- Mesecar
|
|||||||
wield_image = "mesecar_car4front.png",
|
wield_image = "mesecar_car4front.png",
|
||||||
wield_scale = {x = 2, y = 2, z = 2},
|
wield_scale = {x = 2, y = 2, z = 2},
|
||||||
liquids_pointable = true,
|
liquids_pointable = true,
|
||||||
groups = {not_in_creative_inventory=1},
|
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if pointed_thing.type ~= "node" then
|
if pointed_thing.type ~= "node" then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user