Fixed explosive biter spawn check:
game.entity_prototypes[...] → safe prototypes.entity[...]
Fixed old item prototype lookups:
game.item_prototypes[...] → safe prototypes.item[...]
Added compatibility fallback helpers, but wrapped old access in pcall so it will not crash on Factorio 2.x.