Fixes Photos (#19427)

* Fixed photos not displaying atoms with a dir that their icon does not have.
Fixed photo descriptions describing mobs with low max health as being hurt when they were not.

* Fixed direction issue.
This commit is contained in:
Cruix
2016-07-25 09:55:26 +02:00
committed by AnturK
parent e7171ed2b1
commit 98688abe2d
3 changed files with 15 additions and 4 deletions
+2 -2
View File
@@ -258,9 +258,9 @@
holding = "They are holding \a [L.r_hand]"
if(!mob_detail)
mob_detail = "You can see [L] on the photo[L.health < 75 ? " - [L] looks hurt":""].[holding ? " [holding]":"."]. "
mob_detail = "You can see [L] on the photo[L.health < (L.maxHealth * 0.75) ? " - [L] looks hurt":""].[holding ? " [holding]":"."]. "
else
mob_detail += "You can also see [L] on the photo[L.health < 75 ? " - [L] looks hurt":""].[holding ? " [holding]":"."]."
mob_detail += "You can also see [L] on the photo[L.health < (L.maxHealth * 0.75) ? " - [L] looks hurt":""].[holding ? " [holding]":"."]."
return mob_detail