gigaturbo / codeblock

Use lua code in Minetest to build anything you want
GNU General Public License v3.0
4 stars 2 forks source link

Puprose: Lua Enhanced Programmer for Ingame Control(EPIC) #3

Open snowyu opened 2 years ago

snowyu commented 2 years ago

I think it can be treat it as EPIC when codelevel is trusted. Maybe add a new codelevel: admin to do.

DONE(See PR):

TODO:

Pantyhose-X commented 2 years ago

I think the code should use default:obsidian_block lua edit Click on a block to automatically write default:obsidian_block.All blocks are obtained from Inventory, which can support any mods

ggg

Modern

for i = 1, 10 do
  place(blocks.obsidian)
  up(1)
end

Future

for i = 1, 10 do
  place(default:obsidian_block)
  up(1)
end
snowyu commented 2 years ago

Currently I've used:

for i = 1, 10 do
  place("default:obsidian_block")
  up(1)
end
Pantyhose-X commented 2 years ago

feat 👍