Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/tgstation/-tg-station int…
Browse files Browse the repository at this point in the history
…o NanoSMES

Thanks Razharas, hehe
Merge new SMES vars and Nanou in with constructable SMES and whatnot
  • Loading branch information
MrPerson committed Feb 8, 2014
2 parents a5eb0b5 + 863e6aa commit 6488b34
Show file tree
Hide file tree
Showing 74 changed files with 2,362 additions and 1,717 deletions.
8 changes: 4 additions & 4 deletions _maps/map_files/MiniStation/MiniStation.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -1414,15 +1414,15 @@
"aBj" = (/obj/machinery/atmospherics/pipe/simple{pipe_color = "yellow"; icon_state = "intact-y"; level = 2},/turf/simulated/floor/plating,/area/engine/engineering)
"aBk" = (/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 4},/area/engine/engineering)
"aBl" = (/obj/machinery/light/small{dir = 1},/turf/simulated/floor,/area/engine/engineering)
"aBm" = (/obj/structure/transit_tube{tag = "icon-D-Block"; icon_state = "D-Block"},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBm" = (/obj/structure/transit_tube{tag = "icon-Block"; icon_state = "Block"},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBn" = (/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 10},/area/engine/engineering)
"aBo" = (/obj/machinery/atmospherics/pipe/simple{pipe_color = "cyan"; icon_state = "intact-c"},/obj/machinery/meter,/turf/simulated/floor/plating,/area/engine/engineering)
"aBp" = (/obj/machinery/atmospherics/pipe/simple{pipe_color = "cyan"; icon_state = "intact-c"},/obj/machinery/meter,/turf/simulated/floor/plating{icon_state = "warnplatecorner"; dir = 2},/area/engine/engineering)
"aBq" = (/obj/item/weapon/paper/generator,/obj/item/device/multitool,/turf/simulated/floor/plating{dir = 2; icon_state = "warnplate"},/area/engine/engineering)
"aBr" = (/obj/machinery/atmospherics/pipe/simple{pipe_color = "yellow"; icon_state = "intact-y"; level = 2},/obj/machinery/meter,/turf/simulated/floor/plating{icon_state = "warnplatecorner"; dir = 1},/area/engine/engineering)
"aBs" = (/obj/machinery/atmospherics/pipe/simple{pipe_color = "yellow"; icon_state = "intact-y"; level = 2},/obj/machinery/meter,/turf/simulated/floor/plating,/area/engine/engineering)
"aBt" = (/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 6},/area/engine/engineering)
"aBu" = (/obj/structure/transit_tube_pod,/obj/structure/transit_tube/station/reverse{tag = "icon-closed (EAST)"; icon_state = "closed"; dir = 4},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBu" = (/obj/structure/transit_tube/station/reverse{dir = 8; icon_state = "closed"; tag = "icon-closed (EAST)"},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBv" = (/obj/machinery/atmospherics/pipe/simple/supply/hidden{dir = 4},/turf/simulated/wall,/area/engine/engineering)
"aBw" = (/obj/machinery/atmospherics/pipe/simple/supply/hidden{dir = 9},/obj/structure/closet/secure_closet/engineering_electrical,/turf/simulated/floor,/area/engine/engineering)
"aBx" = (/obj/machinery/alarm{dir = 1; icon_state = "alarm0"; pixel_y = -22},/turf/simulated/floor,/area/engine/engineering)
Expand All @@ -1437,7 +1437,7 @@
"aBG" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 4},/turf/simulated/wall,/area/engine/engineering)
"aBH" = (/obj/machinery/atmospherics/pipe/manifold/scrubbers/hidden{dir = 4},/turf/simulated/floor,/area/engine/engineering)
"aBI" = (/obj/machinery/light/small,/turf/simulated/floor,/area/engine/engineering)
"aBJ" = (/obj/structure/transit_tube{icon_state = "N-S"},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBJ" = (/obj/structure/transit_tube{icon_state = "N-S"},/obj/structure/transit_tube_pod,/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 8},/area/engine/engineering)
"aBK" = (/obj/structure/reagent_dispensers/fueltank,/obj/machinery/camera/autoname,/turf/simulated/floor,/area/engine/engineering)
"aBL" = (/obj/structure/grille,/obj/structure/window/reinforced{dir = 8},/obj/structure/window/reinforced{dir = 1},/obj/structure/window/reinforced,/obj/machinery/atmospherics/pipe/simple{pipe_color = "cyan"; icon_state = "intact-c"},/turf/simulated/floor/plating,/area/engine/engineering)
"aBM" = (/obj/structure/grille,/obj/structure/window/reinforced{dir = 1},/obj/structure/window/reinforced{dir = 4},/obj/structure/window/reinforced,/obj/machinery/atmospherics/pipe/simple{pipe_color = "cyan"; icon_state = "intact-c"},/turf/simulated/floor/plating,/area/engine/engineering)
Expand Down Expand Up @@ -1613,7 +1613,7 @@
"aFa" = (/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 4},/obj/machinery/meter,/turf/simulated/floor/plating,/area/tcommsat/computer)
"aFb" = (/obj/structure/grille,/obj/structure/window/reinforced{dir = 8},/obj/structure/window/reinforced{dir = 1},/obj/structure/window/reinforced,/obj/structure/window/reinforced{dir = 4},/obj/machinery/atmospherics/pipe/simple/scrubbers/hidden{dir = 4},/turf/simulated/floor/plating,/area/tcommsat/computer)
"aFc" = (/obj/machinery/atmospherics/pipe/vent{dir = 8},/turf/simulated/floor/plating/airless,/area)
"aFd" = (/obj/structure/transit_tube{tag = "icon-D-Block (NORTH)"; icon_state = "D-Block"; dir = 1},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 4},/area/tcommsat/computer)
"aFd" = (/obj/structure/transit_tube{tag = "icon-Block (NORTH)"; icon_state = "Block"; dir = 1},/turf/simulated/floor/plating{icon_state = "warnplate"; dir = 4},/area/tcommsat/computer)
"aFe" = (/obj/machinery/atmospherics/unary/vent_pump{dir = 4; on = 1},/turf/simulated/floor/plating,/area/tcommsat/computer)
"aFf" = (/obj/machinery/atmospherics/pipe/simple/supply/hidden{dir = 10},/turf/simulated/wall/r_wall,/area/tcommsat/computer)
"aFg" = (/obj/machinery/camera/autoname{dir = 4; network = list("SS13")},/turf/simulated/floor/bluegrid{name = "Mainframe Base"; nitrogen = 100; oxygen = 0; temperature = 80},/area/tcommsat/computer)
Expand Down
1 change: 1 addition & 0 deletions code/ATMOSPHERICS/components/unary/unary_base.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
if(target.initialize_directions & get_dir(target,src))
node = target
break
build_network()

update_icon()

Expand Down
5 changes: 4 additions & 1 deletion code/game/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,7 @@ var/list/blood_splatter_icons = list()
if(istype(get_turf(src), /turf/space))
return 1
else
return 0
return 0

/atom/proc/handle_fall()
return
19 changes: 2 additions & 17 deletions code/game/dna.dm
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@
density = 1
var/locked = 0
var/open = 0
var/mob/occupant = null
anchored = 1
use_power = 1
idle_power_usage = 50
Expand Down Expand Up @@ -454,28 +453,14 @@

/obj/machinery/dna_scannernew/attackby(obj/item/weapon/grab/G, mob/user)

if(istype(G, /obj/item/weapon/screwdriver))
if(occupant)
user << "<span class='notice'>The maintenance panel is locked.</span>"
return
playsound(src.loc, 'sound/items/Screwdriver.ogg', 50, 1)
panel_open = !panel_open
if(panel_open)
icon_state = "[icon_state]_maintenance"
user << "<span class='notice'>You open the maintenance panel of [src].</span>"
else
if(open)
icon_state = "[initial(icon_state)]_open"
else
icon_state = "[initial(icon_state)]"
user << "<span class='notice'>You close the maintenance panel of [src].</span>"
if(!occupant && default_deconstruction_screwdriver(user, "[initial(icon_state)]_open", "[initial(icon_state)]", G))
return

if(istype(G, /obj/item/weapon/crowbar))
if(panel_open)
for(var/obj/I in contents) // in case there is something in the scanner
I.loc = src.loc
default_deconstruction_crowbar()
default_deconstruction_crowbar(G)
return

if(!istype(G, /obj/item/weapon/grab) || !ismob(G.affecting))
Expand Down
16 changes: 8 additions & 8 deletions code/game/gamemodes/events.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
continue
S.charge = 0
S.output_level = 0
S.outputting = 0
S.updateicon()
S.output_attempt = 0
S.update_icon()
S.power_change()

var/list/skipped_areas = list(/area/engine/engineering, /area/turret_protected/ai)
Expand Down Expand Up @@ -133,9 +133,9 @@
if(S.z != 1)
continue
S.charge = S.capacity
S.output_level = 200000
S.outputting = 1
S.updateicon()
S.output_level = S.output_level_max
S.output_attempt = 1
S.update_icon()
S.power_change()
for(var/area/A in world)
if(A.name != "Space" && A.name != "Engine Walls" && A.name != "Chemical Lab Test Chamber" && A.name != "space" && A.name != "Escape Shuttle" && A.name != "Arrival Area" && A.name != "Arrival Shuttle" && A.name != "start area" && A.name != "Engine Combustion Chamber")
Expand All @@ -153,8 +153,8 @@
if(S.z != 1)
continue
S.charge = S.capacity
S.output_level = 200000
S.outputting = 1
S.updateicon()
S.output_level = S.output_level_max
S.output_attempt = 1
S.update_icon()
S.power_change()

Loading

0 comments on commit 6488b34

Please sign in to comment.