[ create a new paste ] login | about

ExcaliburZero

Name:
Email:
Site/Blog:
Location:
Default language: Lua
Favorite languages:
About:

Saved pastes by ExcaliburZero:

Lua, pasted on Jun 6:
1
2
3
4
5
neoblocks = {}

neoblocks.default_page = "main"

neoblocks.get_formspec = function(player_name,page)
...
view (56 lines, 4 lines of output)
Lua, pasted on Jun 5:
1
2
3
4
5
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)
Lua, pasted on Jun 4:
1
2
3
4
5
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)
Lua, pasted on Jun 2:
1
2
3
4
5
--
--
-- Green
--
--
...
view (152 lines, 4 lines of output)
Lua, pasted on Jun 1:
1
2
3
4
5
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)
Lua, pasted on May 30:
1
2
3
4
5
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)
Lua, pasted on May 30:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 29:
1
2
3
4
5
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)
Lua, pasted on May 28:
1
2
3
4
5
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)
Lua, pasted on May 23:
1
2
3
4
5
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)
Lua, pasted on May 23:
1
2
3
4
5
--
--
-- Probe
--
--
...
view (43 lines, 1 line of output)