Right now a trap placed by a player will always kill someone if it does lethal damage. This makes it kind of hard to use them in muggings or colony defense since they're just as likely to kill your prey or allies. I'd suggest we make any trap a player places, use whatever damage mode they are using when they first set the trap.
This would be ideal but I don't believe it is possible.
Just tested this briefly and it is possible.
Some pseudocode: One of the scripting DMs should know what to do with it in the OnPlayerdeath and how to make it work with subdual.
object oKiller = GetLastDamager();
object oTrapper = GetTrapCreator(oKiller);
if (oTrapper != OBJECT_INVALID)
{
Get Integer (oTrapper, subdualmode)
if (Subual = Spar) return winded effect
if (subdual = FD) return dead
if (subdual = subdual) return subdued effect
}
}
object oBox = MassiveTool();