Project Zomboid

Project Zomboid

2,030 ratings
Spear Traps
4
4
4
2
5
5
4
2
3
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.300 MB
29 Oct, 2021 @ 1:30pm
26 Jan @ 10:31am
26 Change Notes ( view )

Subscribe to download
Spear Traps

Description
Brings spear traps to the game.

How to build a spear trap?
First you have to dig a grave. Then you need one or more spear in your inventory (up to 5 spears per grave). Finally, simply right-click the grave and you'll see a menu option:
  • Add Spear to Grave
Once a spear has been added to the trap, it can also be retrieved with the menu option:
  • Remove Spear from Grave

Beware, spear traps are dangerous! It's a double-edged sword. While it can kill zombies quite efficiently, you will also die if you walk on the trap!!!

Features
  • When zombies walk over a grave with no spear, they'll get knocked down.
  • When zombies walk over a grave with at least one non-broken spear, they'll get killed instantly, breaking one spear.
  • When players run over a grave with no spear, they will get injured (foot or lower leg).
  • When players walk over a grave with at least one non-broken spear, they will get killed instantly too.

If you don't want to risk dying by walking over a spear trap, you can disable this behavior in Sandbox settings. In that case the players won't die, but will receive as many injuries as there are spears in the grave:
Sandbox settings -> Sadistic AI Director -> Spear Traps Kill Players


Version
Latest version: 0.0.9

Can I use this mod in a modpack?
No. Redistribution of this mod without explicit permission from the original author is strictly prohibited under any circumstances. This includes, but not limited to, uploading this mod to the Steam Workshop or any other site, distribution as part of another mod or modpack, distribution of modified versions.

Contribute
Your help is needed for translations! If you speak any of the language supported in the game, please help!

Translation files are available here:
https://github.com/quarantin/zomboid-spear-traps/tree/main/media/lua/shared/Translate

Bugs
Please submit any bug you find here:
https://github.com/quarantin/zomboid-spear-traps/issues

Feedbacks are welcome! You can find me on the official Project Zomboid Discord server:
https://discord.com/invite/theindiestone

Support Me
If you like my work please consider supporting me on Ko-Fi!

[ko-fi.com]

Have fun! ;D

Workshop ID: 2640351732
Mod ID: SpearTraps
Popular Discussions View All (6)
6
14 Jan, 2022 @ 11:42am
Install more than one spear at once?
co`
4
10 Aug, 2022 @ 9:14pm
PINNED: Problem about zombie corpses disapearing
co`
1
14 Jan, 2022 @ 2:44am
Log entry
BeatlJoe
472 Comments
(TFW)NotHighEnough(ricky) 5 Jun @ 3:19pm 
Filled graves deal damage to legs when running over them. Cool mod, but kind of unusable because of this
Red Rocket.TTV 24 May @ 12:51am 
Filled graves also trip zombies.
PuerNoctis 4 May @ 4:13am 
I have to concur. Something has to be added, like the non-traversable or injury-option. Had a long and very good run just now, but died from just turning after applying a spear to a grave. Sure, I could just respawn and use debug mode to get were I was before, or disable the option of dying to spear traps altogether. But it's a hassle. There are more player friendly ways to tackle this.
Noisy Koi 14 Apr @ 6:21pm 
or maybe an option to make graves/speartraps non-traversible for players? so that you *can't* walk over them?
Noisy Koi 14 Apr @ 6:02pm 
could their be an option so that instead of players instantly dying, they just get a serious leg injury? cuz it feels too cheaty to just turn off death but feels too broken to die on a trap you *just* loaded just by turning around
Noisy Koi 14 Apr @ 6:01pm 
I just died, standing still, turning around after setting the spears into the trap. rip
NivJake 3 Mar @ 6:38pm 
Would you consider making a setting in sandbox for the spear to not instantly break, but instead use the spears durability. Someone had made a mod for this in b41 that did that, but i think it just make more sense for it to be a base mod feature
co`  [author] 21 Feb @ 10:23pm 
@E_DuB: I thought about it. Maybe at next update
E_DuB 21 Feb @ 5:34pm 
Not sure if its possible but the ability to add stakes to the hole instead of only spears would be awesome.
5TK7 3 Feb @ 7:56am 
nice its b42 compatible :HESSTILLGOOD: