Page 1 of 2

[Mod] Traps Mod [1.3] [traps]

PostPosted: 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

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

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

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

PostPosted: 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

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

PostPosted: 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.

PostPosted: 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

PostPosted: 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?

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

PostPosted: 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

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

PostPosted: Fri Sep 14, 2012 18:01
by rubenwardy
irksomeduck wrote:Was it you who made the trapstone?


No, that is in Moreblocks.

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

spikes
sink dirt and sand

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

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

PostPosted: 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

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

PostPosted: 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.

PostPosted: 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

PostPosted: 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"?

PostPosted: 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

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

PostPosted: 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

PostPosted: 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 :-)

PostPosted: Wed Apr 03, 2013 21:17
by Luke123
The crafting recipes are not working

PostPosted: Thu Apr 04, 2013 12:24
by rubenwardy
Luke123 wrote:The crafting recipes are not working


It is because VanessaE and PilzAdam pissed about with mese a few months ago, and changed it to a new structure.

Fixed. Use mese crystals instead of mese

https://github.com/rubenwardy/Minetest-Traps-Mod/commit/b43584a497fb2e87495879699a705425c8c8bfb9

PostPosted: Thu Apr 04, 2013 21:20
by Luke123
rubenwardy wrote:
Luke123 wrote:The crafting recipes are not working


It is because VanessaE and PilzAdam pissed about with mese a few months ago, and changed it to a new structure.

Fixed. Use mese crystals instead of mese

https://github.com/rubenwardy/Minetest-Traps-Mod/commit/b43584a497fb2e87495879699a705425c8c8bfb9

do I copy this into init.lua?

PostPosted: Thu Apr 04, 2013 21:38
by Topywo
Luke123 wrote:do I copy this into init.lua?


No, use a download link in the first post and unzip/install that download (maybe delete the older version first).

PostPosted: Fri Apr 05, 2013 20:08
by Luke123
Topywo wrote:
Luke123 wrote:do I copy this into init.lua?


No, use a download link in the first post and unzip/install that download (maybe delete the older version first).

Ok, I got this