Post your mod requests/ideas here

User avatar
CaKeSs
Member
 
Posts: 48
Joined: Sat Oct 13, 2012 02:48
Location: Philippines

by CaKeSs » Sun Nov 11, 2012 13:24

Some Traps:
There are two triggers,
One is a block with many camouflages the recipes are like
M=any(dirt,cobble,chest,tree..)O=iron ingot X=nothing
XOX
MXM
XOX
Then a pressure plate with camos again =)
XXX
XOX
MMM
Then it digs one hole so it can open a manually built trap
like:
M=trigger; O=trap(where it will dig one block or two) X=useless blocks
M
XXXOXX
XXX XX
XXX XX
XXX XX (this isn't a recipe.)
lalalalala, Hit, dig, break, collect! -JusticeV before he fell in lava.
|Youtube||Unrealsoftware Account|Granite Mod|
 

User avatar
rubenwardy
Moderator
 
Posts: 6016
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sun Nov 11, 2012 17:51

CaKeSs wrote:Some Traps:
There are two triggers,
One is a block with many camouflages the recipes are like
M=any(dirt,cobble,chest,tree..)O=iron ingot X=nothing
XOX
MXM
XOX
Then a pressure plate with camos again =)
XXX
XOX
MMM
Then it digs one hole so it can open a manually built trap
like:
M=trigger; O=trap(where it will dig one block or two) X=useless blocks
M
XXXOXX
XXX XX
XXX XX
XXX XX (this isn't a recipe.)


I made a traps mod (see link below post).
Would it be able to do this? I could make a block that just disappears when stepped on.
 

User avatar
CaKeSs
Member
 
Posts: 48
Joined: Sat Oct 13, 2012 02:48
Location: Philippines

by CaKeSs » Mon Nov 12, 2012 00:41

Oh.. Okay!
lalalalala, Hit, dig, break, collect! -JusticeV before he fell in lava.
|Youtube||Unrealsoftware Account|Granite Mod|
 

Vincentius_Maximus
Member
 
Posts: 14
Joined: Mon Nov 05, 2012 13:52

by Vincentius_Maximus » Tue Nov 13, 2012 14:49

A tool that works like a destruction catalyst from Tekkit.

Edit: Since my topic was closed, I'll add this here. Perhaps, we should have a forum dedicated to mod requests/ideas instead of a 9 page single post.
Last edited by Vincentius_Maximus on Tue Nov 13, 2012 14:53, edited 1 time in total.
 

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

by jin_xi » Tue Nov 13, 2012 21:39

Vincentius_Maximus wrote:Perhaps, we should have a forum dedicated to mod requests/ideas instead of a 9 page single post.


i like the idea
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Wed Nov 14, 2012 03:39

What about Night Vision goggles, and when you use them you can see in the dark?
 

User avatar
nomohakon
Member
 
Posts: 219
Joined: Fri Aug 10, 2012 16:34
Location: VanessaE's servers
IRC: nomohakon
In-game: nomohakon

by nomohakon » Wed Nov 14, 2012 10:42

Josh wrote:What about Night Vision goggles, and when you use them you can see in the dark?

+1
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

User avatar
Aqua
Member
 
Posts: 641
Joined: Wed Aug 22, 2012 09:11
Location: Sydney~Singapore

by Aqua » Wed Nov 14, 2012 10:43

Josh wrote:What about Night Vision goggles, and when you use them you can see in the dark?


+1 I think I can make that
Hi there ^.~
 

User avatar
Zeg9
Member
 
Posts: 608
Joined: Fri Sep 21, 2012 11:02
Location: France

by Zeg9 » Wed Nov 14, 2012 14:29

Josh wrote:What about Night Vision goggles, and when you use them you can see in the dark?


Nice idea, but is it possible as a lua mod ?
There is a simple way to make it (using an invisible light block) but everyone would be able to see in the dark...
And I think there isn't any other way.

+1 for the good idea though
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Thu Nov 15, 2012 02:01

Zeg9 wrote:
Josh wrote:What about Night Vision goggles, and when you use them you can see in the dark?


Nice idea, but is it possible as a lua mod ?
There is a simple way to make it (using an invisible light block) but everyone would be able to see in the dark...
And I think there isn't any other way.

+1 for the good idea though


Or Thermal Vision goggles where you can see heat signatures?
Maybe it could be made using C++ instead of lua.
Last edited by Josh on Thu Nov 15, 2012 02:02, edited 1 time in total.
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Thu Nov 15, 2012 22:35

More of a question than an idea: Could a node through a function turn all nodes of a certain type in a set radius into entities and have them move? I'm wondering this because if this could happen you could create a spinning wind mill for mesecons.
 

User avatar
Casimir
Member
 
Posts: 1163
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi

by Casimir » Fri Nov 16, 2012 14:20

I think that's what the code for falling nodes actually does.
 

User avatar
CaKeSs
Member
 
Posts: 48
Joined: Sat Oct 13, 2012 02:48
Location: Philippines

by CaKeSs » Sat Nov 17, 2012 02:05

Time clock =D

It shows the time, like it's time 6000(morning) then it shows like /
lalalalala, Hit, dig, break, collect! -JusticeV before he fell in lava.
|Youtube||Unrealsoftware Account|Granite Mod|
 

User avatar
Echo
Member
 
Posts: 121
Joined: Tue Jul 31, 2012 08:11
Location: Germany

by Echo » Sat Nov 17, 2012 07:49

CaKeSs wrote:Time clock =D

It shows the time, like it's time 6000(morning) then it shows like /


Can be done just like my compass-mod (or PilzAdams Version of my mod). Even the textures can be used (if accouracy by the hour is enough)
 

User avatar
CaKeSs
Member
 
Posts: 48
Joined: Sat Oct 13, 2012 02:48
Location: Philippines

by CaKeSs » Sat Nov 17, 2012 09:34

Thanks Echo.

---

I have a problem
It's from my alchemy mod, It's not crashing it's just when I place my Custom furnace. It won't open the menu to cook the potions.

Here's the code:

Code: Select all
---Potion Flask mod
---By Michael<JusticeV; CaKeSs> <creslic_123@yahoo.com>
---

---furnace

local flask_inactive_formspec =
    "invsize[8,9;]"..
    "image[2,2;1,1;default_furnace_fire_bg.png]"..
    "list[current_name;fuel;2,3;1,1;]"..
    "list[current_name;src;3,1;1,1;]"..
    "list[current_name;dst;5,1;2,2;]"..
    "list[current_player;main;0,5;8,4;]"

minetest.register_node("alchemy:flask", {
    description = "Flask",
    tiles = {"flask_top.png", "flask_bottom.png", "flask_side.png",
        "flask_side.png", "flask_side.png", "flask_front.png"},
    paramtype2 = "facedir",
    groups = {cracky=2},
    legacy_facedir_simple = true,
    sounds = default.node_sound_stone_defaults(),
    on_construct = function(pos)
        local meta = minetest.env:get_meta(pos)
        meta:set_string("formspec", flask_inactive_formspec)
        meta:set_string("infotext", "Flask")
        local inv = meta:get_inventory()
        inv:set_size("fuel", 1)
        inv:set_size("src", 3)
        inv:set_size("dst", 4)
    end,
    can_dig = function(pos,player)
        local meta = minetest.env:get_meta(pos);
        local inv = meta:get_inventory()
        if not inv:is_empty("fuel") then
            return false
        elseif not inv:is_empty("dst") then
            return false
        elseif not inv:is_empty("src") then
            return false
        end
        return true
    end,
})

minetest.register_node("alchemy:flask_active", {
    description = "Flask",
    tiles = {"flask_top.png", "flask_bottom.png", "flask_side.png",
        "flask_side.png", "flask_side.png", "flask_front.png"},
    paramtype2 = "facedir",
    light_source = 8,
    drop = "alchemy:flask",
    groups = {cracky=2, not_in_creative_inventory=1},
    legacy_facedir_simple = true,
    sounds = default.node_sound_stone_defaults(),
    on_construct = function(pos)
        local meta = minetest.env:get_meta(pos)
        meta:set_string("formspec", flask_inactive_formspec)
        meta:set_string("infotext", "Flask");
        local inv = meta:get_inventory()
        inv:set_size("fuel", 1)
        inv:set_size("src", 3)
        inv:set_size("dst", 4)
    end,
    can_dig = function(pos,player)
        local meta = minetest.env:get_meta(pos);
        local inv = meta:get_inventory()
        if not inv:is_empty("fuel") then
            return false
        elseif not inv:is_empty("dst") then
            return false
        elseif not inv:is_empty("src") then
            return false
        end
        return true
    end,
})

function hacky_swap_node(pos,name)
    local node = minetest.env:get_node(pos)
    local meta = minetest.env:get_meta(pos)
    local meta0 = meta:to_table()
    if node.name == name then
        return
    end
    node.name = name
    local meta0 = meta:to_table()
    minetest.env:set_node(pos,node)
    meta = minetest.env:get_meta(pos)
    meta:from_table(meta0)
end

minetest.register_abm({
    nodenames = {"alchemy:flask","alchemy:flask_active"},
    interval = 1.0,
    chance = 1,
    action = function(pos, node, active_object_count, active_object_count_wider)
        local meta = minetest.env:get_meta(pos)
        for i, name in ipairs({
                "fuel_totaltime",
                "fuel_time",
                "src_totaltime",
                "src_time"
        }) do
            if meta:get_string(name) == "" then
                meta:set_float(name, 0.0)
            end
        end

        local inv = meta:get_inventory()

        local srclist = inv:get_list("src")
        local Alchemized = nil
       
        if srclist then
            Alchemized = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
        end
       
        local was_active = false
       
        if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
            was_active = true
            meta:set_float("fuel_time", meta:get_float("fuel_time") + 1)
            meta:set_float("src_time", meta:get_float("src_time") + 1)
            if Alchemized and Alchemized.item and meta:get_float("src_time") >= Alchemized.time then
                -- check if there's room for output in "dst" list
                if inv:room_for_item("dst",Alchemized.item) then
                    -- Put result in "dst" list
                    inv:add_item("dst", Alchemized.item)
                    -- take stuff from "src" list
                    srcstack = inv:get_stack("src", 1)
                    srcstack:take_item()
                    inv:set_stack("src", 1, srcstack)
                else
                    --print("Could not insert '"..Alchemized.item.."'")
                end
                meta:set_string("src_time", 0)
            end
        end
       
        if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
            local percent = math.floor(meta:get_float("fuel_time") /
                    meta:get_float("fuel_totaltime") * 100)
            meta:set_string("infotext","Alchemy active: "..percent.."%")
            hacky_swap_node(pos,"alchemy:flask")
            meta:set_string("formspec",
                "invsize[8,9;]"..
                "image[2,2;1,1;alchemycraft1.png^[lowpart:"..
                        (100-percent)..":alchemycraft.png]"..
                "list[current_name;fuel;2,3;1,1;]"..
                "list[current_name;src;2,1;1,1;]"..
                "list[current_name;dst;5,1;2,2;]"..
                "list[current_player;main;0,5;8,4;]")
            return
        end

        local fuel = nil
        local Alchemized = nil
        local fuellist = inv:get_list("fuel")
        local srclist = inv:get_list("src")
       
        if srclist then
            Alchemized = minetest.get_craft_result({method = "cooking", width = 1, items = srclist})
        end
        if fuellist then
            fuel = minetest.get_craft_result({method = "fuel", width = 1, items = fuellist})
        end

        if fuel.time <= 0 then
            meta:set_string("infotext","Alchemy is out of power")
            hacky_swap_node(pos,"alchemy:flask")
            meta:set_string("formspec", oven_inactive_formspec)
            return
        end

        if cooked.item:is_empty() then
            if was_active then
                meta:set_string("infotext","Flask is empty")
                hacky_swap_node(pos,"alchemy:flask")
                meta:set_string("formspec", flask_inactive_formspec)
            end
            return
        end

        meta:set_string("fuel_totaltime", fuel.time)
        meta:set_string("fuel_time", 0)
       
        local stack = inv:get_stack("fuel", 1)
        stack:take_item()
        inv:set_stack("fuel", 1, stack)
    end,
})

---Items

minetest.register_craftitem("alchemy:apple_juice", {
description = "Apple juice",
inventory_image = "full_bottle.png",
on_use = minetest.item_eat(3.5),
})

minetest.register_craftitem("alchemy:potion", {
description = "Health potion",
inventory_image = "full_bottle.png",
on_use = minetest.item_eat(7),
})

minetest.register_craftitem("alchemy:empty_bottle", {
description = "Empty bottle",
inventory_image = "empty_bottle.png",
})

---Craft

minetest.register_craft({
    output = 'alchemy:empty_bottle',
    recipe = {
        {'', '', ''},
        {'', 'default:glass', ''},
        {'', 'default:glass', ''},
    }
})

minetest.register_craft({
    output = 'alchemy:flask',
    recipe = {
        {'default:cobble', 'default:cobble', 'default:cobble'},
        {'default:cobble', 'default:wood', 'default:cobble'},
        {'default:cobble', 'default:cobble', 'default:cobble'},
    }
})


---Alchemy recipes

minetest.register_craft({
    type = "cooking",
    output = "alchemy:potion",
    recipe = "alchemy:empty_bottle","bucket:bucket_lava","default:stick"
})

minetest.register_craft({
    type = "cooking",
    output = "alchemy:apple_juice",
    recipe = "alchemy:empty_bottle","bucket:bucket_water","default:apple"
})
lalalalala, Hit, dig, break, collect! -JusticeV before he fell in lava.
|Youtube||Unrealsoftware Account|Granite Mod|
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

by kaeza » Tue Nov 20, 2012 13:12

I don't know if this has already been suggested, but could we make an electrified fence?
Maybe two versions: one standalone, and one using mesecons.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

User avatar
cactuz_pl
Member
 
Posts: 876
Joined: Tue Jun 05, 2012 16:34
Location: Poland

by cactuz_pl » Tue Nov 20, 2012 16:58

kaeza wrote:I don't know if this has already been suggested, but could we make an electrified fence?
Maybe two versions: one standalone, and one using mesecons.


Or just hurt-blocks:

- on touch (like Mintecraft cactuses) taking 1 HP per hit/sec.
- on touch taking 5 HP per hit/sec.
- on touch taking 10 HP per hit/sec.
- on touch taking 20 HP per hit/sec. (instant death)
- in radius 3 units 2 HP per hit/sec.
- in radius 5 units 2 HP per hit/sec.
- in radius 10 units 2 HP per hit/sec.

Is that possible with lua?

EDIT:

Heal-blocks:

- Heal in radius 3 units 2 HP per sec.
- Heal in radius 5 units 2 HP per sec.
- Heal in radius 10 units 2 HP per sec.

EDIT 2:

Hurt block don't hurt player who put it. But everyone could remove this block.
Last edited by cactuz_pl on Tue Nov 20, 2012 17:07, edited 1 time in total.
Nope
 

User avatar
InfinityProject
Member
 
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Tue Nov 20, 2012 22:30

cactuz_pl wrote:Or just hurt-blocks

I believe calinou had blocks like this in his maptools mod. But I do not know if they still work.
 

User avatar
Casimir
Member
 
Posts: 1163
Joined: Fri Aug 03, 2012 16:59
GitHub: CasimirKaPazi
 

User avatar
cactuz_pl
Member
 
Posts: 876
Joined: Tue Jun 05, 2012 16:34
Location: Poland

by cactuz_pl » Fri Nov 30, 2012 12:12

Achievements

Examples:
- Chop 200 tree blocks.
- Mine 10000 cobblestone.
- Eat 100 apples.
- Reach altitude: 100
- Reach altitude: 500
- Reach altitude: 1000
- Reach altitude: -100
- Reach altitude: -500
- Reach altitude: -1000
- Go 1000 km.
- Reach place where one of cords is higher than 1000.
- Craft 1000 tools.
- Craft 200 mese tools.
- Craft 100 books.
- Put 100000 blocks.

Any player could check their achievements (and achievements in progress) in game or in internet browser.

Existing example, Steam achievements:
Here
This is random profile, it doesn't belongs to me.
Nope
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Nov 30, 2012 12:18

cactuz_pl wrote:Achievements

Examples:
- Chop 200 tree blocks.
- Mine 10000 cobblestone.
- Eat 100 apples.
- Reach altitude: 100
- Reach altitude: 500
- Reach altitude: 1000
- Reach altitude: -100
- Reach altitude: -500
- Reach altitude: -1000
- Go 1000 km.
- Reach place where one of cords is higher than 1000.
- Craft 1000 tools.
- Craft 200 mese tools.
- Craft 100 books.
- Put 100000 blocks.

Any player could check their achievements (and achievements in progress) in game or in internet browser.

Existing example, Steam achievements:
Here
This is random profile, it doesn't belongs to me.

Skyblock has some kind of achievement, IIRC.
 

User avatar
neko259
Member
 
Posts: 804
Joined: Sun Jun 19, 2011 06:51

by neko259 » Sun Dec 02, 2012 19:10

Node can hold text in its metadata. You can show text input dialogs AFAIK. So I assume someone can make a mailbox node that can accept messages from others and show them to its owner on use.

I could do that myself, but don't have time. Please somebody notify me if you're going to implement this :)
s3tuPDfUv2IyvXHzPmE31MQvnWULv1zj
 

User avatar
rubenwardy
Moderator
 
Posts: 6016
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Mon Dec 03, 2012 10:59

neko259 wrote:Node can hold text in its metadata. You can show text input dialogs AFAIK. So I assume someone can make a mailbox node that can accept messages from others and show them to its owner on use.

I could do that myself, but don't have time. Please somebody notify me if you're going to implement this :)


Aqua made something similar to this.

You could just use signs
 

User avatar
qwrwed
Member
 
Posts: 325
Joined: Sun Jul 22, 2012 20:56
In-game: qwrwed or Nitro

by qwrwed » Mon Dec 03, 2012 20:19

Aqua's mailbox is a chest that anyone can put something into, but only the owner can take something out of. It can't be used to send messages yet.
 

kylet115
New member
 
Posts: 1
Joined: Tue Dec 04, 2012 00:49

by kylet115 » Tue Dec 04, 2012 00:51

you should make one with alot of decorative items like beds,sofas,tvs,tables, and alot of stuff in that nature.
 

PreviousNext

Return to Modding Discussion



Who is online

Users browsing this forum: No registered users and 6 guests