Thank you. But there are so many mods out there I really do not know if mine is the
only one.
Thank you. But there are so many mods out there I really do not know if mine is the
In fact, I tested at Lilly in The Valley server and I was poisoned by Mr CrocBastrabun wrote: ↑Thu Aug 27, 2020 12:12I need to figure out a way to tell the players about this new mechanic before they die.
Can you please make the poison configurable? Either a timer with a maximum time a player is poisoned or enable/disable?
I have not looked at the code, but a player claims he was poisoned with no Mr. Snek around, but Mr. Croc. I wasn't able to reproduce, but is it possible not only the snakes distribute poison?
Yes that was bug and not intended.Bastrabun wrote: ↑Thu Aug 27, 2020 12:12I need to figure out a way to tell the players about this new mechanic before they die.
Can you please make the poison configurable? Either a timer with a maximum time a player is poisoned or enable/disable?
I have not looked at the code, but a player claims he was poisoned with no Mr. Snek around, but Mr. Croc. I wasn't able to reproduce, but is it possible not only the snakes distribute poison?
It is the wolve's jump attack from wildlife mod :)
...but I can't find anything regarding your code or the rest of the models (especially the awesome piranha model by ElCeejo)Gundul wrote: ↑Fri Oct 04, 2019 15:02License:
CC BY-SA 3.0 UNPORTED. Created by D00Med for model/texture of whale
whale_1.ogg - CC0 Public Domain - https://en.wikipedia.org/wiki/File:Humpbackwhale2.ogg
MIT License - Copyright (c) 2019 TheTermos for sharks
CC-BY-NC-SA 3.0 Riverfish by Melkor (memberlist.php?mode=viewprofile&u=301)
CC-BY-SA 3.0 for coral-, clownfish and gulls by Sapier
URL: http://creativecommons.org/licenses/by- ... /legalcode
You find the licenses in the water_life/doc folder.
Thank you very much.
Code: Select all
Entity damage mechanism
=======================
[...]
The group `immortal` completely disables normal damage.
[...]
To punch an entity/object in Lua, call:
object:punch(puncher, time_from_last_punch, tool_capabilities, direction)
* Return value is tool wear.
* Parameters are equal to the above callback.
* If `direction` equals `nil` and `puncher` does not equal `nil`, `direction`
will be automatically filled in based on the location of `puncher`.
Code: Select all
function mobkit.hurt(luaent,dmg)
if not luaent then return false end
if type(luaent) == 'table' then
luaent.hp = max((luaent.hp or 0) - dmg,0)
end
end
This is intended. Poison of rattlesnake is deadly. You could easily do /killme or alike to get rid of poison effect. In Singleplayer it is easy, just give yourself antidote as much as you need.timsoft wrote: ↑Sun Sep 20, 2020 12:23what tool/method do you have to use to catch snakes to make serum?.
Even after death you remain poisoned on respawn, which effectively ends the game, unless I can catch 3 of them to make serum. It makes sense to be poisoned for a period of time, or until you take an antidote, but not past death.
This is not intended nor do I know of. I never used it together with an armour mod. Maybe also
Yup, all entities get the immortal group in order to bypass the default damage handling which is just unacceptable.
Users browsing this forum: No registered users and 4 guests