Add files via upload
parent
18dacfa422
commit
ce96cd0116
|
@ -1,15 +1,14 @@
|
|||
aliveai_threats.fort={furnishings={"aliveai_threats:toxic_tank","aliveai_threats:labbottle_containing","aliveai_threats:timed_bumb","aliveai_threats:timed_nitrobumb","aliveai_threat_eletric:timed_ebumb","aliveai_threats:landmine","aliveai_threats:deadlock","aliveai_massdestruction:nuclearbarrel"},}
|
||||
|
||||
minetest.register_tool("aliveai_threats:fortspawner", {
|
||||
description = "fort spawner",
|
||||
range=15,
|
||||
groups={not_in_creative_inventory=1},
|
||||
inventory_image = "default_stick.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
|
||||
aliveai.register_buildings_spawner("Fort",{
|
||||
on_use=function(itemstack, user, pointed_thing)
|
||||
if pointed_thing.type=="node" then
|
||||
aliveai_threats.fort.spawning(pointed_thing.under,1)
|
||||
end
|
||||
end,
|
||||
on_place=function(itemstack, user, pointed_thing)
|
||||
end
|
||||
})
|
||||
|
||||
aliveai.register_rndcheck_on_generated({
|
||||
|
|
|
@ -4,23 +4,20 @@ aliveai_threats.lab={
|
|||
cam={"aliveai_threats:secam","aliveai_threats:secam2","aliveai_threat_eletric:secam"}
|
||||
}
|
||||
|
||||
minetest.register_tool("aliveai_threats:labspawner", {
|
||||
description = "labspawner",
|
||||
range=15,
|
||||
groups={not_in_creative_inventory=1},
|
||||
inventory_image = "default_stick.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
aliveai.register_buildings_spawner("Lab",{
|
||||
on_use=function(itemstack, user, pointed_thing)
|
||||
if pointed_thing.type=="node" then
|
||||
aliveai_threats.lab.spawning(pointed_thing.under,1)
|
||||
end
|
||||
end,
|
||||
on_place = function(itemstack, user, pointed_thing)
|
||||
on_place=function(itemstack, user, pointed_thing)
|
||||
if pointed_thing.type=="node" then
|
||||
aliveai_threats.lab.gen_stair2(pointed_thing.above)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
aliveai.register_rndcheck_on_generated({
|
||||
node="default:stone_with_coal",
|
||||
chance=30,
|
||||
|
|
Loading…
Reference in New Issue