ExcaliburZero
|
codepad
|
|
ExcaliburZero
|
Saved pastes by ExcaliburZero:
neoblocks = {}
neoblocks.default_page = "main"
neoblocks.get_formspec = function(player_name,page)
|
view (56 lines, 4 lines of output) |
neoblocks.default_page = "main"
neoblocks.get_formspec = function(player_name,page)
local formspec = "size[14,10]"
formspec = formspec.."button[6.5,.6;.6,.6;fireballs_fireball.png;testing;]"
|
view (48 lines, 4 lines of output) |
minetest.register_tool("neoblocks:ocarina", {
description = "Ocarina of Time",
inventory_image = "fireballs_fireball.png",
on_use = function(itemstack, placer, pointed_thing)
local playerpos = placer:getpos();
|
view (28 lines, 4 lines of output) |
minetest.register_entity("neoblocks:rupee_green_en", {
visual = "sprite",
visual_size = {x=1, y=1},
textures = {"zelda_rupee_green.png"},
velocity = 0,
|
view (44 lines, 4 lines of output) |
minetest.register_node("neoblocks:lightice", {
tile_images = {"default_water.png^fireballs_lightice.png"},
description = "Light Ice",
groups={snappy=2,choppy=2,oddly_breakable_by_hand=2},
light_source = 1,
|
view (14 lines, 4 lines of output) |
minetest.register_node("neoblocks:lightice", {
tile_images = {"default_water.png^fireballs_lightice.png"},
description = "Light Ice",
groups={snappy=2,choppy=2,oddly_breakable_by_hand=2},
light_source = 1,
|
view (13 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (89 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (89 lines, 1 line of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (89 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (90 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (91 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (91 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (75 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (74 lines, 4 lines of output) |
minetest.register_entity("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (72 lines, 4 lines of output) |
mobs:register_arrow("neoblocks:fireball", {
visual = "sprite",
visual_size = {x=1, y=1},
--textures = {{name="mobs_fireball.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.5}}}, FIXME
textures = {"mobs_fireball.png"},
|
view (72 lines, 4 lines of output) |
local function removeNode(pos)
local n = minetest.env:get_node(pos).name
if (n == "default:stone") then
local chance = math.random(200)
if (chance == 10) then
|
view (191 lines, 1 line of output) |