I made a mod that makes the player invulnerable. If you want you can add it as optional dependency, as alternative for using shields. https://mods.factorio.com/mod/invulnerable
There's a different mod I'm working on, that's designed to simplify Factorio. Your Pacifist mod really fits well with that theme, but I ran into a small issue with your fluid-turret dummy using heavy oil, which my mod removes. As a result the game does not load. Currently I replace it in data-final-fixes.lua with the prototype below, but I thought you might want to use this prototype in your mod directly. It's a minimal amount of gibberish data that makes the game load without errors.
{
type="fluid-turret",
name="pacifist-dummy-fluid-turret",
attack_parameters={
type="stream",
range=0,
cooldown=0,
ammo_type={
category="melee",
},
},
folded_animation={
direction_count=1,
size=1,
filename="__base__/graphics/entity/flamethrower-turret/flamethrower-turret-gun-extension.png",
},
call_for_help_radius=0,
fluid_buffer_size=0,
fluid_buffer_input_flow=0,
activation_buffer_ratio=1,
fluid_box={
pipe_connections={},
},
turret_base_has_direction=true,
}