Merge pull request #24 from Markolie/master

Re-add missing Telecomms service server, other fixes
This commit is contained in:
Fox-McCloud
2014-12-01 18:18:49 -05:00
5 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -63,7 +63,7 @@
alarm_list+=alarm
for(var/obj/machinery/alarm/alarm in sortAtom(alarm_list))
if(!is_in_filter(alarm.alarm_area.type))
continue // NO ACCESS 4 U
continue
if(!alarm.remote_control)
continue
var/turf/pos = get_turf(alarm)
+3 -3
View File
@@ -245,11 +245,11 @@
remote_control = 0
if(RCON_AUTO)
if(local_danger_level == 2)
remote_control = 1
remote_control = 2
else
remote_control = 0
remote_control = 1
if(RCON_YES)
remote_control = 1
remote_control = 3
if(screen == AALARM_SCREEN_MAIN)
updateDialog()
return
+17 -13
View File
@@ -32,7 +32,7 @@ obj/structure/sign/poster
anchored = 1
var/serial_number //Will hold the value of src.loc if nobody initialises it
var/ruined = 0
var/checking = 0
obj/structure/sign/poster/New(var/serial)
@@ -64,19 +64,23 @@ obj/structure/sign/poster/attackby(obj/item/weapon/W as obj, mob/user as mob)
if(ruined)
return
var/temp_loc = user.loc
switch(alert("Do I want to rip the poster from the wall?","You think...","Yes","No"))
if("Yes")
if(user.loc != temp_loc)
if(!checking)
checking = 1
switch(alert("Do I want to rip the poster from the wall?","You think...","Yes","No"))
if("Yes")
if(user.loc != temp_loc)
return
visible_message("<span class='warning'>[user] rips [src] in a single, decisive motion!</span>" )
playsound(src.loc, 'sound/items/poster_ripped.ogg', 100, 1)
ruined = 1
icon_state = "poster_ripped"
name = "ripped poster"
desc = "You can't make out anything from the poster's original print. It's ruined."
add_fingerprint(user)
checking = 0
if("No")
checking = 0
return
visible_message("<span class='warning'>[user] rips [src] in a single, decisive motion!</span>" )
playsound(src.loc, 'sound/items/poster_ripped.ogg', 100, 1)
ruined = 1
icon_state = "poster_ripped"
name = "ripped poster"
desc = "You can't make out anything from the poster's original print. It's ruined."
add_fingerprint(user)
if("No")
return
/obj/structure/sign/poster/proc/roll_and_drop(turf/newloc)
var/obj/item/weapon/contraband/poster/P = new(src, serial_number)