This mod damages players when they stand on dangerous terrain. Anything with the "surface_hot" or "poison" group set will cause damage every three seconds. The surface_cold group will cause damage more slowly. Players are informed in chat when they take damage from nodes. Ice and snow are automatically added to the surface_cold group.
It also provides support for traps set off by a player coming too close. A trap node must have two groups set, the "trap" group and a group specific for the trap type, including:
electricity_trap
explosive_trap (my favorite)
fire_trap
ice_trap (entombs the player)
lava_trap (set this in a low ceiling)
slippery_floor_trap
This is mostly support for my other mods, but you might want to play with it.
The source is available on github.
Code: LGPL2
Textures: CC0
Mod dependencies: default
Download: https://github.com/duane-r/bad_terrain/ ... master.zip
[Mod] Bad Terrain [bad_terrain]
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
[Mod] Bad Terrain [bad_terrain]
Believe in people and you don't need to believe anything else.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: [Mod] Bad Terrain [bad_terrain]
hey, why no one saw this :D
it's excellent!
it's excellent!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- Skamiz Kazzarch
- Member
- Posts: 613
- Joined: Fri Mar 09, 2018 20:34
- GitHub: Skamiz
- In-game: Skamiz
- Location: la lojbaugag.
Re: [Mod] Bad Terrain [bad_terrain]
Trying to remake your setup described in your mapgen mod thread and got the error that dinv is a null variable on line 192. An optional dependency on dinv fixed it.
- duane
- Member
- Posts: 1715
- Joined: Wed Aug 19, 2015 19:11
- GitHub: duane-r
- Location: Oklahoma City
- Contact:
Re: [Mod] Bad Terrain [bad_terrain]
Thanks. I've added that.Skamiz Kazzarch wrote:Trying to remake your setup described in your mapgen mod thread and got the error that dinv is a null variable on line 192. An optional dependency on dinv fixed it.
Believe in people and you don't need to believe anything else.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 23 guests