player:set_inventory_formspec("image goes here")RHR wrote:How can I replace the inventory formspec with an image file?
*BUMP for viewtopic.php?pid=130675#p130675*
player:set_inventory_formspec("image goes here")RHR wrote:How can I replace the inventory formspec with an image file?
How about this?hoodedice wrote:I need a part of the 'run code' to stop running after timer > 0.10
I cannot move the 'run code' anywhere else. It needs to stay within that on_call function
Code: Select all
local ttime = 0
local called_ttime = false
function:on_call(ntime)
called_ttime = true
ttime = ntime
end
minetest.register_globalstep(function(dtime)
ttime = dtime+ttime
if(ttime > 0.10) then --every 0.1 second, IF SERVER IS ENOUGH FAST
ttime = 0
if(called_ttime) then
called_ttime = false
run code
end
end
end
You mean this?AMMOnym wrote:I really long time search on google mod like stargate which i saw in the SKY server.Could someone help me please ?
No, I didnt. But thank u. In mod which i mean was stargate 2d.hoodedice wrote:You mean this?AMMOnym wrote:I really long time search on google mod like stargate which i saw in the SKY server.Could someone help me please ?
"Is it possible to block an inventory object from being placed in the crafting grid?"jonatjano wrote:Hello,
Is it possible to block the put of item in the crafting part of the player inventory?
edit : I've asked something wrong first
I don't think so. If you use free move and noclip, you can go inside a node - you'll see that the nodes become transparent when viewed from inside.DeepGaze wrote:is it possible to view a texture from inside a node?
Or make a node-box, inside empty and around 6 thin sides.hoodedice wrote:I don't think so. If you use free move and noclip, you can go inside a node - you'll see that the nodes become transparent when viewed from inside.DeepGaze wrote:is it possible to view a texture from inside a node?
It is that , I've difficulties with english (i'm french)hoodedice wrote:"Is it possible to block an inventory object from being placed in the crafting grid?"jonatjano wrote:Hello,
Is it possible to block the put of item in the crafting part of the player inventory?
edit : I've asked something wrong first
#GRAMMARNAZI
Welcome to the Minetest Forums.open scource=open future wrote:My quastion is "HOW TO PROGRAMMING A MOD"????
can me help everyone?
Code: Select all
https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
http://dev.minetest.net/Main_Page
http://www.lua.org/pil/
--rtzm--
The easiest way is with WorldEdit. You may also use the lua api directly if you like.4aiman wrote: How can one create schematics files? Are there some rules for this?
Why don't you use entity with " visual = "wielditem" "?D0431791 wrote:Topic: How to make a visual effect "a small block within a glass block"?
Reason: Creating texture for 6 sides is not what I want.
More Info(optional):
The glass block is normal-size {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5} and
the small block is half-size {-0.25,-0.25,-0.25,0.25,0.25,0.25}.
However, the problem is the param "tiles".
Using two arrays cause Minetest displays "unknown node".
Is there solutions?
That depends on the items. There are normal blocks, blocks made out of nodeboxes, entities (i.e. mobs) etc.Megazell wrote: My kids and I made some items using GIMP and a guide from Youtube that was made for Minecraft.
How can we put our custom items into Minetest?
Code: Select all
minetest.register_node("default:cobble", {
description = "Cobblestone",
tiles = {"default_cobble.png"},
is_ground_content = true,
groups = {cracky=3, stone=2},
sounds = default.node_sound_stone_defaults(),
})
Code: Select all
minetest.register_craft({
output = 'default:chest_locked',
recipe = {
{'group:wood', 'group:wood', 'group:wood'},
{'group:wood', 'default:steel_ingot', 'group:wood'},
{'group:wood', 'group:wood', 'group:wood'},
}
})
Users browsing this forum: No registered users and 5 guests