This commit is contained in:
Aurorablade
2017-12-02 01:28:40 -05:00
parent 620a23a267
commit 2346b899d5
4 changed files with 14 additions and 5 deletions
+3
View File
@@ -94,6 +94,9 @@
if(!(M in view(1)))
..()
return
if(!Adjacent(user))
..()
return
if(ishuman(M))
var/mob/living/carbon/human/H = M
var/dye_list = list("hair", "alt. hair theme")
+1 -1
View File
@@ -59,11 +59,11 @@
qdel(decal)
/obj/machinery/poolcontroller/proc/handleTemp(var/mob/M)
M.water_act(100, 0, src)//leave temp at 0, we handle it in the switch.
if(temperature == "normal") //This setting does nothing, so let's skip the next checks since we won't be doing jack
return
if(!M || isAIEye(M) || issilicon(M) || isobserver(M) || M.stat == DEAD)
return
switch(temperature) //Apply different effects based on what the temperature is set to.
if("scalding") //Burn the mob.
M.bodytemperature = min(500, M.bodytemperature + 35) //heat mob at 35k(elvin) per cycle
+4 -3
View File
@@ -213,9 +213,10 @@
if(candidates.len)
var/mob/C = pick(candidates)
S.key = C.key
if(master_commander)
to_chat(S, "<span class='userdanger'>You are a spider who is loyal to [master_commander], obey [master_commander]'s every order and assist them in completing their goals at any cost.</span>")
if(C)
S.key = C.key
if(master_commander)
to_chat(S, "<span class='userdanger'>You are a spider who is loyal to [master_commander], obey [master_commander]'s every order and assist them in completing their goals at any cost.</span>")
qdel(src)
/obj/effect/decal/cleanable/spiderling_remains
+6 -1
View File
@@ -81,6 +81,9 @@ log transactions
/obj/machinery/atm/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/weapon/card))
if(!powered())
return
if(!held_card)
user.drop_item()
I.forceMove(src)
@@ -91,6 +94,8 @@ log transactions
else if(authenticated_account)
if(istype(I, /obj/item/stack/spacecash))
//consume the money
if(!powered())
return
var/obj/item/stack/spacecash/C = I
authenticated_account.money += C.amount
playsound(loc, pick('sound/items/polaroid1.ogg', 'sound/items/polaroid2.ogg'), 50, 1)
@@ -118,7 +123,7 @@ log transactions
to_chat(user, "<span class='warning'>Artificial unit recognized. Artificial units do not currently receive monetary compensation, as per Nanotrasen regulation #1005.</span>")
return
ui_interact(user)
/obj/machinery/atm/attack_ghost(mob/user)
ui_interact(user)