[MOD] Block of Xeprione [BOX] [WIP]

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

[MOD] Block of Xeprione [BOX] [WIP]

by Ragnar » Sat Sep 21, 2013 09:26

The development of BOX has begun.
[spoiler=What is BOX?]
BOX is the Minetest mod that will have most of the stuff that Wrath of Xeprione will have.
Wrath of Xeprione is a " Zelda - A Link to the past " -like game that is being developed by GNADev
The project is currently stopped until further notice.
[/spoiler]

Code: GNADev|zRokh [ME]
Textures: Currently nobody.
Sounds: Currently nobody.
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Tue Sep 24, 2013 13:23

I have a problem in my code that i can't fix... :/
The code is below:
[spoiler=Code]
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
-- The ore of Xeprionite
minetest.register_node("box:xeprionite_ore", {
        tiles                   = {
                                        "box_obsidian.png^box_xeprionite_ore.png"
                                },
        description     = "Ore of Xeprionite",
        groups = {cracky=3, stone=3},
        is_ground_content = true,
        drop                    = {
                max_items       = 1,
                items           = {
                        {
                                items = {"default:coal_lump"},
                                rarity = 1
                        }
                        {
                                items = {"box:xeprionite"},
                                rarity = 5
                        }
                }
        },
})
 
minetest.register_ore({
        clust_size              = 25,
        height_min      = -31000,
        height_max      = 0,
        ore_scarcity    = 30*30*30,
        clus_num_ores   = 1,
        ore_type                = "scatter",
        ore                             = "box:xeprione_ore",
        wherein                 = "default:stone"
})
 
minetest.register_alias("xeprionite_ore", "box:xeprionite_ore")
 
-- Xeprionite
minetest.register_craftitem("box:xeprionite", {
        description             = "Xeprionite",
        inventory_image = "box_xeprionite.png"
})
 
minetest.register_alias("xeprionite", "box:xeprionite")
[/spoiler]
When launching the game with this mod installed i get the error below:
[spoiler=Error]
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ERROR: ModError: Failed to load and run
/home/zrokh/Desktop/minetest/bin /mods/box/init.lua
[/spoiler]
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 

jin_xi
Member
 
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Tue Sep 24, 2013 13:30

missing a comma between the two tables in the item subtable
 

Ragnar
Member
 
Posts: 850
Joined: Thu Oct 25, 2012 15:19

by Ragnar » Wed Sep 25, 2013 07:51

oh..... thanks, i had the same problem with Terror :D
but i fixed that :D
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 14 guests

cron