Add files via upload

master
AiTechEye 2018-09-18 14:49:53 +02:00 committed by GitHub
parent b9a2ef164e
commit 960d766bd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -595,6 +595,12 @@ aliveai.register_rndcheck_on_generated({
end
})
end
aliveai.register_buildings_spawner("UFO",{
on_use=function(itemstack, user, pointed_thing)
local pos=user:get_pos()
minetest.place_schematic({x=pos.x-15,y=pos.y,z=pos.z-15}, minetest.get_modpath("aliveai_aliens").."/schematics/ufo.mts", "random", {}, true)
end,
})
aliveai.register_rndcheck_on_generated({
node="air",