Merge pull request #35 from CompactNinja/master

Talking Vending Machines
This commit is contained in:
CIB
2011-11-28 22:30:16 -08:00
+2 -2
View File
@@ -370,11 +370,11 @@
if(src.seconds_electrified > 0)
src.seconds_electrified--
//Pitch to the people! Really sell it!
/*Pitch to the people! Really sell it!
if(prob(5) && ((src.last_slogan + src.slogan_delay) <= world.time) && (src.slogan_list.len > 0) && (!src.shut_up))
var/slogan = pick(src.slogan_list)
src.speak(slogan)
src.last_slogan = world.time
src.last_slogan = world.time*/
if((prob(2)) && (src.shoot_inventory))
src.throw_item()