The script turns an ordinary dynamite object (ID 223) into a working dynamite that will explode as soon as the player gets close to it. Dynamite does not react to the approach of actors, only to the player.