mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Bot's lights ow turn off when they are turned off.
Removed a shed-load of lights. Mainly ones right next to eachother and a whole bunch from the mining asteroid (it's a mining site not a god damn stadium!) Number of light_sources at round start has nearly halved. Fixed the title-screen again because apparently it didn't commit last time. Fixed some more broken icon_states git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4575 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/obj/machinery/bot
|
||||
icon = 'icons/obj/aibots.dmi'
|
||||
layer = MOB_LAYER
|
||||
luminosity = 2
|
||||
luminosity = 3
|
||||
var/obj/item/weapon/card/id/botcard // the ID card that the bot "holds"
|
||||
var/on = 1
|
||||
var/health = 0 //do not forget to set health for your bot!
|
||||
@@ -16,13 +16,14 @@
|
||||
|
||||
|
||||
/obj/machinery/bot/proc/turn_on()
|
||||
if (stat)
|
||||
return 0
|
||||
src.on = 1
|
||||
if(stat) return 0
|
||||
on = 1
|
||||
SetLuminosity(initial(luminosity))
|
||||
return 1
|
||||
|
||||
/obj/machinery/bot/proc/turn_off()
|
||||
src.on = 0
|
||||
on = 0
|
||||
SetLuminosity(0)
|
||||
|
||||
/obj/machinery/bot/proc/explode()
|
||||
del(src)
|
||||
|
||||
+9253
-9307
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user