Progress Update

This commit is contained in:
Aurorablade
2015-06-24 16:02:27 -04:00
parent aefcb4128a
commit 5e84ab8fcc
4 changed files with 17 additions and 7 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
small = 1
pass_flags = 1
density = 0
var/holder_type = /obj/item/weapon/holder/pai
//var/holder_type = /obj/item/weapon/holder/pai
var/network = "SS13"
var/obj/machinery/camera/current = null
@@ -539,10 +539,10 @@
pie << "You scoop up [src]."
src << "[held] scoops you up."
//pie.status_flags |= PASSEMOTES
held.put_in_active_hand(pie)
pie.icon_state = "pai-[icon_state]"
held.put_in_active_hand(pie)
pie.icon_override = 'icons/mob/head.dmi'
pie.item_state = "pai-[icon_state]"
pie.icon_override = 'icons/mob/in-hand/paiheld.dmi'
return
..()
@@ -565,11 +565,11 @@
while(!istype(held, /mob/living))
if(!held || !held.loc || count > 6)
//For a runtime where M ends up in nullspace (similar to bluespace but less colourful)
//src << "You are not being carried by anyone!"
src << "You are not being carried by anyone!"
return 0
held = held.loc
count++
user << "held"
user << "[held]"
if(istype(held, /mob/living))
data["holder"] = held
data["health"] = "[held.stat > 1 ? "dead" : "[held.health]% healthy"]"
@@ -577,7 +577,7 @@
data["tox"] = "[held.getToxLoss() > 50 ? "<font color=#FF5555>" : "<font color=#55FF55>"][held.getToxLoss()]</font>"
data["burn"] = "[held.getFireLoss() > 50 ? "<font color=#FF5555>" : "<font color=#55FF55>"][held.getFireLoss()]</font>"
data["temp"] = "[held.bodytemperature-T0C]&deg;C ([held.bodytemperature*1.8-459.67]&deg;F)"
data["infected"] = 0
data["infected"] = null
if (held.viruses)
data["infected"] = 1
var/virus[0]
Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 138 KiB

+11 -1
View File
@@ -9,14 +9,21 @@ code/modules/mob/living/silicon/pai/software_modules.dm
</div>
<div class="itemContent">
Health Status : {{:data.health}}
</div>
<div class="itemContent">
Oxygen Content : {{:data.oxy}}
<div class="itemContent">
Toxin Cotnet : {{:data.tox}}
</div>
<div class="itemContent">
Burn Status : {{:data.burn}}
</div>
<div class="itemContent">
User Temprature : {{:data.temp}}
</div>
</div>
{{if data.infected}}
<span class="bad"> Alert:Viral pathogen detected, Attempting to find information... </spab>
<span class="bad"> Alert:Viral pathogen detected, Attempting to find information... </span>
{{for data.infectionDat}}
<div class="item">
<div class="itemLabel">
@@ -24,7 +31,10 @@ code/modules/mob/living/silicon/pai/software_modules.dm
</div>
<div class="itemContent">
Type : {{:value.type}}
</div>
<div class="itemContent">
Stage: {{:value.stage}} / {{:value.stagemax}}
<div class="itemContent">
Possible Cure or Antigen: {{:value.cure}}
</div>