remove code, since last action always points to inventory
add fdie() subroutine