All pastes #462160 Raw Edit

Miscellany

public lua v1 · immutable
#462160 ·published 2007-04-28 02:46 UTC
rendered paste body
function Player_OnDeath(killer, victim)	local pos = victim:coords()		if (victim:inventory_find("Bomb") >= 1) then			g_arena:item_create("Bomb", 1, pos.x, pos.y)			victim:inventory_modify("Bomb",-1)			g_arena:message("" .. victim .. " has lost the bomb!")	return trueend