diff --git a/code/game/mecha/equipment/mecha_equipment.dm b/code/game/mecha/equipment/mecha_equipment.dm index 97b8a95277..e434daa38d 100644 --- a/code/game/mecha/equipment/mecha_equipment.dm +++ b/code/game/mecha/equipment/mecha_equipment.dm @@ -14,7 +14,7 @@ var/range = MELEE //bitFflags var/salvageable = 1 var/selectable = 1 // Set to 0 for passive equipment such as mining scanner or armor plates - var/pacifist_safe = TRUE //Controls if equipment can be used to attack by a pacifist. + var/harmful = FALSE //Controls if equipment can be used to attack by a pacifist. /obj/item/mecha_parts/mecha_equipment/proc/update_chassis_page() if(chassis) diff --git a/code/game/mecha/equipment/tools/mining_tools.dm b/code/game/mecha/equipment/tools/mining_tools.dm index 37f12f1bc2..71790e0a44 100644 --- a/code/game/mecha/equipment/tools/mining_tools.dm +++ b/code/game/mecha/equipment/tools/mining_tools.dm @@ -12,7 +12,7 @@ equip_cooldown = 15 energy_drain = 10 force = 15 - pacifist_safe = FALSE + harmful = TRUE var/drill_delay = 7 var/drill_level = DRILL_BASIC diff --git a/code/game/mecha/equipment/tools/work_tools.dm b/code/game/mecha/equipment/tools/work_tools.dm index 330247f88c..2054a6ba9a 100644 --- a/code/game/mecha/equipment/tools/work_tools.dm +++ b/code/game/mecha/equipment/tools/work_tools.dm @@ -10,7 +10,7 @@ energy_drain = 10 var/dam_force = 20 var/obj/mecha/working/ripley/cargo_holder - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/hydraulic_clamp/can_attach(obj/mecha/working/ripley/M as obj) if(..()) diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm index f6a05c3fa6..061bf0a727 100644 --- a/code/game/mecha/equipment/weapons/weapons.dm +++ b/code/game/mecha/equipment/weapons/weapons.dm @@ -75,7 +75,7 @@ energy_drain = 30 projectile = /obj/item/projectile/beam/laser fire_sound = 'sound/weapons/laser.ogg' - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/energy/laser/heavy equip_cooldown = 15 @@ -103,7 +103,7 @@ energy_drain = 500 projectile = /obj/item/projectile/energy/tesla/cannon fire_sound = 'sound/magic/lightningbolt.ogg' - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/energy/pulse equip_cooldown = 30 @@ -113,7 +113,7 @@ energy_drain = 120 projectile = /obj/item/projectile/beam/pulse/heavy fire_sound = 'sound/weapons/marauder.ogg' - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/energy/plasma equip_cooldown = 10 @@ -126,7 +126,7 @@ energy_drain = 30 projectile = /obj/item/projectile/plasma/adv/mech fire_sound = 'sound/weapons/plasma_cutter.ogg' - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/energy/plasma/can_attach(obj/mecha/working/M) if(..()) //combat mech @@ -246,7 +246,7 @@ projectile = /obj/item/projectile/bullet/incendiary/fnx99 projectiles = 24 projectile_energy_cost = 15 - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/silenced name = "\improper S.H.H. \"Quietus\" Carbine" @@ -257,7 +257,7 @@ projectile = /obj/item/projectile/bullet/mime projectiles = 6 projectile_energy_cost = 50 - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/scattershot name = "\improper LBX AC 10 \"Scattershot\"" @@ -269,7 +269,7 @@ projectile_energy_cost = 25 projectiles_per_shot = 4 variance = 25 - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/lmg name = "\improper Ultra AC 2" @@ -283,7 +283,7 @@ variance = 6 randomspread = 1 projectile_delay = 2 - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack name = "\improper SRM-8 missile rack" @@ -294,7 +294,7 @@ projectiles = 8 projectile_energy_cost = 1000 equip_cooldown = 60 - pacifist_safe = FALSE + harmful = TRUE /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/launcher diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 82394ba480..8c371ada2f 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -442,22 +442,17 @@ return var/mob/living/L = user - var/obj/structure/closet/C = target if(!Adjacent(target)) if(selected && selected.is_ranged()) - if(L.has_trait(TRAIT_PACIFISM) && !selected.pacifist_safe) + if(L.has_trait(TRAIT_PACIFISM) && selected.harmful) to_chat(user, "You don't want to harm other living beings!") return if(selected.action(target,params)) selected.start_cooldown() else if(selected && selected.is_melee()) - if(isliving(target) && !selected.pacifist_safe && L.has_trait(TRAIT_PACIFISM)) + if(isliving(target) && selected.harmful && L.has_trait(TRAIT_PACIFISM)) to_chat(user, "You don't want to harm other living beings!") return - if(istype(C) && L.has_trait(TRAIT_PACIFISM) && !selected.pacifist_safe && !istype(selected,/obj/item/mecha_parts/mecha_equipment/hydraulic_clamp/)) - for(var/mob/living/M in C) - to_chat(user, "There's someone in there! I don't want to hurt them.") - return if(selected.action(target,params)) selected.start_cooldown() else