Merge pull request #224 from SoundScopes/master

Change log
This commit is contained in:
skull132
2014-08-19 20:56:22 +03:00
7 changed files with 86 additions and 4 deletions
+9
View File
@@ -725,7 +725,16 @@ var/list/ai_list = list()
user.visible_message("\blue \The [user] decides not to bolt \the [src].")
return
user.visible_message("\blue \The [user] finishes fastening down \the [src]!")
if(floating)
float(0)
anchored = 1
return
else
return ..()
/mob/living/silicon/ai/float(var/on = 0)
if(anchored)
msg_scopes("AI is bolted")
..(0)
else
..(on)
@@ -9,4 +9,7 @@
src.icon = 'icons/mob/AI.dmi'
src.icon_state = "ai"
src.anchored = 1
src.canmove = 0
src.canmove = 0
/mob/living/silicon/decoy/float(var/on)
return //No, just no floating for these - SoundScopes
@@ -236,6 +236,10 @@
src.unset_machine()
src:cameraFollow = null
/mob/living/silicon/pai/float(var/on) //No, just no floating for these - SoundScopes
return
//Addition by Mord_Sith to define AI's network change ability
/*
/mob/living/silicon/pai/proc/pai_network_change()
@@ -278,7 +278,7 @@
deepfried = 1
New()
..()
reagents.add_reagent("nutriment", 30)
reagents.add_reagent("nutriment", 10)
/obj/item/weapon/reagent_containers/food/snacks/candy
name = "candy"