Page 1 of 2

[Mod] Traps Mod [1.3] [traps]

Posted: Tue Aug 21, 2012 19:42
by rubenwardy
Traps

This is my first mod, be nice...

This mod adds booby traps to Minetest, I made it especially for the Hunger Games Server.

1) Mine (traps:mine)
A block disguised as a grass block
Ka Boom!. Code used from the Nuke Mod

2) Cage Trap (traps:cage)
A block disguised as a grass block
When a player walks over the block, they get trapped in by glass.
Another player has to release them by standing on the release block beside them.

NOTE: You can use the variable "block_to_place" to change which block is placed for the walls of the cage (eg: to obidistan)


3) Lava Drop Trap (traps:lava)
Spawns lava above the player that cascades around them, trapping them.

4) Spikes
Credits to RabbiBob for the code.

Image Image


5) Sink Blocks

I am open for any critisms, suggestions, alternate textures, and ideas for new traps

License: GPLv2 for code, CC0 for textures (excluding Minetest Default textures)

Requires / Depends
Moreblocks, but you can make it not require it by using a different block for the cage
(change the variable block_to_add in cage.lua)

Downloads
Github Repo Page
Latest Version

Posted: Wed Aug 22, 2012 06:13
by cornernote
awesome! this is a lot of fun

Posted: Wed Aug 22, 2012 08:12
by Josh
Cool idea Rubenwardy! I might try this tommorow.

Posted: Wed Aug 22, 2012 11:12
by Echo
Could be nice for co-op adventure maps. Nice.

Posted: Wed Aug 22, 2012 11:16
by rubenwardy
Echo wrote:Could be nice for co-op adventure maps. Nice.
Yes, i built it for servers : ), specifically adventure ones

I would like someone to test it on a server

Posted: Wed Aug 22, 2012 20:19
by rubenwardy
Added a new trap: Lava Drop

Posted: Tue Aug 28, 2012 01:26
by 2cool4me4
Maybe the blocks should look a little different from the originals? I mean, I know the Hunger Games is no-holds-barred, but it still seems a bit unfair.

Posted: Tue Aug 28, 2012 01:31
by RabbiBob
2cool4me4 wrote:Maybe the blocks should look a little different from the originals? I mean, I know the Hunger Games is no-holds-barred, but it still seems a bit unfair.
I disagree. When I did my fake grass trap, I figured a good trap is not noticeable. Of course I'm evil too....

I did leave a mark where I set my spike trap though ;-)

http://www.youtube.com/watch?v=u8TY5ddrerY

Posted: Tue Aug 28, 2012 16:14
by rubenwardy
How about i make it a file in textures, eg: traps_cage_spawn, so you can change it?

Posted: Fri Sep 07, 2012 22:12
by Miner99
You could make traps you get through and damage traps

Posted: Sun Sep 09, 2012 11:22
by rubenwardy
Miner99 wrote:You could make traps you get through and damage traps
Yes, i was thinking about that. I will add them soon

Posted: Sun Sep 09, 2012 17:55
by irksomeduck
Was it you who made the trapstone?

Posted: Fri Sep 14, 2012 18:01
by rubenwardy
irksomeduck wrote:Was it you who made the trapstone?
No, that is in Moreblocks.

Posted: Fri Sep 14, 2012 19:00
by rubenwardy
I have added:

spikes
sink dirt and sand

Posted: Sun Oct 21, 2012 16:43
by prof-turbo
If there is sands traps and grass traps why not cobbles traps?

Posted: Mon Oct 29, 2012 21:24
by Dragonop
WHIT MESE! ... REALLY

Posted: Tue Oct 30, 2012 17:32
by rubenwardy
Mese is often used as a magic block. If you are thinking mese is too hard to find, then let me tell you that it is really not that hard, when you know a technique

Posted: Tue Oct 30, 2012 18:58
by GloopMaster
Mese is mese

Posted: Fri Dec 21, 2012 03:31
by VanessaE
Mese has changed:

http://minetest.net/forum/viewtopic.php?id=4154

You should probably change your recipes to use Mese Crystals and Mese Crystal Fragments where they are most appropriate, in place of the old Mese objects.

Posted: Mon Apr 01, 2013 16:01
by Luke123
I try to load the mod but when I open up minetest it says failed to load and run etc. This happened to some of my other mods but don't know why. Please reply if you can help, thx.

- Luke

Also known as Luca

Posted: Mon Apr 01, 2013 18:19
by rubenwardy
what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?

Posted: Mon Apr 01, 2013 19:06
by Likwid H-Craft
Wow Nice Mod Ruben it be great for, The Legend of Zelda Link to the Test :) hey, do like help Ruben? since you can if like.

Make a Node spawn lava when dig is a idea :)

Oh and btw, I have more ideas just for TLOZ:LTTT

Posted: Tue Apr 02, 2013 03:50
by jojoa1997
There should be a nyan cat trap

Posted: Wed Apr 03, 2013 02:41
by Luke123
rubenwardy wrote:what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?
I will try this, thanks Ruben :-) I will let you know if it works.

- Luke

Posted: Wed Apr 03, 2013 21:10
by Luke123
Luke123 wrote:
rubenwardy wrote:what is the mod error (in debug.txt)? did you rename the folder from "traps-master" to "traps"?
I will try this, thanks Ruben :-) I will let you know if it works.

- Luke
It worked :-)