Bot port from /tg/

This commit is contained in:
Markolie
2014-12-02 06:29:15 +01:00
parent 79125ffb37
commit b21575f088
26 changed files with 2745 additions and 2882 deletions
-3
View File
@@ -572,8 +572,5 @@
src << "You do not have enough chemicals stored to reproduce."
return
/mob/living/carbon/proc/assess_threat()
return
/mob/living/carbon/proc/canBeHandcuffed()
return 0
@@ -1555,7 +1555,7 @@
//Check for ID
var/obj/item/weapon/card/id/idcard = get_idcard()
if(judgebot.idcheck && !idcard)
if(judgebot.idcheck && !idcard && name=="Unknown")
threatcount += 4
//Check for weapons
@@ -1595,7 +1595,7 @@
//Agent cards lower threatlevel.
if(istype(idcard, /obj/item/weapon/card/id/syndicate))
threatcount -= 2
threatcount -= 5
return threatcount
@@ -507,6 +507,10 @@
return 10 //Everyone is a criminal!
var/threatcount = 0
//Securitrons can't identify monkeys
if(!lasercolor && judgebot.idcheck )
threatcount += 4
//Lasertag bullshit
if(lasercolor)
if(lasercolor == "b")//Lasertag turrets target the opposing team, how great is that? -Sieve
+2 -1
View File
@@ -233,4 +233,5 @@
step(AM, t)
now_pushing = null
/mob/living/silicon/assess_threat() //Secbots won't hunt silicon units
return -10
+4
View File
@@ -869,6 +869,7 @@ var/list/slot_equipment_priority = list( \
stat(null, "Mob-[master_controller.mobs_cost]\t#[mob_list.len]")
stat(null, "Dis-[master_controller.diseases_cost]\t#[active_diseases.len]")
stat(null, "Mch-[master_controller.machines_cost]\t#[machines.len]")
stat(null, "Bots-[master_controller.aibots_cost]\t#[aibots.len]")
stat(null, "Obj-[master_controller.objects_cost]\t#[processing_objects.len]")
stat(null, "PiNet-[master_controller.networks_cost]\t#[pipe_networks.len]")
stat(null, "Ponet-[master_controller.powernets_cost]\t#[powernets.len]")
@@ -1308,3 +1309,6 @@ mob/proc/yank_out_object()
if(paralysis)
AdjustParalysis(-1)
return paralysis
/mob/proc/assess_threat() //For sec bot threat assessment
return