Skip to content

Commit

Permalink
Merge pull request tgstation#5704 from phil235/TypoFix1
Browse files Browse the repository at this point in the history
Fixes the ability to beat up a pAI.
  • Loading branch information
Cheridan committed Nov 8, 2014
2 parents 78e7398 + 20e90d1 commit e49e4ef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/ATMOSPHERICS/atmospherics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Pipelines + Other Objects -> Pipe network
var/datum/gas_mixture/int_air = return_air()
var/datum/gas_mixture/env_air = loc.return_air()
if ((int_air.return_pressure()-env_air.return_pressure()) > 2*ONE_ATMOSPHERE)
user << "<span class='danger'>You cannot unwrench this [src], it is too exerted due to internal pressure.</span>"
user << "<span class='danger'>You cannot unwrench [src], it is too exerted due to internal pressure.</span>"
add_fingerprint(user)
return 1
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
Expand Down
1 change: 1 addition & 0 deletions code/game/mecha/mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ obj/mecha/proc/can_use(mob/user)

/obj/mecha/attack_animal(mob/living/simple_animal/user as mob)
src.log_message("Attack by simple animal. Attacker - [user].",1)
user.changeNext_move(CLICK_CD_MELEE)
if(user.melee_damage_upper == 0)
user.emote("[user.friendly] [src]")
else
Expand Down
3 changes: 2 additions & 1 deletion code/modules/mob/living/silicon/pai/pai.dm
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/mob/living/silicon/pai
name = "pAI"
icon = 'icons/obj/status_display.dmi' //invisibility!
mouse_opacity
mouse_opacity = 0
density = 0
mob_size = 0
invisibility = 101

var/network = "SS13"
var/obj/machinery/camera/current = null
Expand Down
Binary file modified icons/mecha/mecha.dmi
Binary file not shown.

0 comments on commit e49e4ef

Please sign in to comment.