Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
When a monster dies, a corpse is created, that corpse decays to the skinable corpse after 10 seconds, check what is the id of the skinable corpse and change it in monsters/monster_name.xml
But wouldn't that only make them skinnable after the 10 seconds delay?
I would want the corpses skinnable while the 10 seconds delay is in effect.
Edit:
If they are skinnable with the 10 seconds delay, it would perfect if it was only allowed by the owner of the kill, and after the delay everyone can skin it.
local MINOTAUR = {2830, 2871, 2876, 2866, xxxx, xxxx} --xxxx is the id of the 10 sec corpses
Just adding them after the others.
This would allow ANYONE to skin them. You should ask a better scripter if there is a way to check who killed it -> then only let the player kill it skin it. However, the script works with that after you have skinned a corpse it will be decayed to an unskinnable state. Guess this could be fixed with a work-around or something.. But yea im not sure how..
Much easier to just let people skin them after 10 sec ^^, Or you could change the decay time in items.xml to a shorter duration. This however would change the time player has to loot the monster slain to a much shorter time.
I can see the problem with it, but I would actually rather have it this way than waiting 5 or 10 seconds.
But could it be possible to make it so when it has been skinned, the corpse can still be looted?
Edit:
Nevermind, it wouldn't be possible, would it?
'Cause it creates a new corpse, thus the loot is destroyed.
try getItemAttribute(uid, "owner"), if it works it gonna return owners uid, so if current body is not moveable only owner can skin it, else anyone can
but you gonna need aid as not-skinnable attribute to prevent some abuses