Merge remote-tracking branch 'refs/remotes/ParadiseSS13/master' into motherfucking-delta-station

This commit is contained in:
Sam
2017-10-16 10:39:21 +01:00
1371 changed files with 12893 additions and 18591 deletions
+9
View File
@@ -30,6 +30,8 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
luminosity = 0
mouse_opacity = 0
invisibility = INVISIBILITY_LIGHTING
var/valid_territory = TRUE //used for cult summoning areas on station zlevel
var/map_name // Set in New(); preserves the name set by the map maker, even if renamed by the Blueprints.
var/lightswitch = 1
var/eject = null
@@ -122,6 +124,7 @@ var/list/ghostteleportlocs = list()
power_light = 0
power_equip = 0
power_environ = 0
valid_territory = FALSE
outdoors = 1
ambientsounds = list('sound/ambience/ambispace.ogg','sound/music/title2.ogg','sound/music/space.ogg','sound/music/traitor.ogg')
@@ -150,6 +153,7 @@ var/list/ghostteleportlocs = list()
/area/shuttle
no_teleportlocs = 1
requires_power = 0
valid_territory = FALSE
/area/shuttle/arrival
name = "\improper Arrival Shuttle"
@@ -557,6 +561,7 @@ var/list/ghostteleportlocs = list()
name = "\improper Asteroid"
icon_state = "asteroid"
requires_power = 0
valid_territory = FALSE
/area/asteroid/cave // -- TLE
name = "\improper Asteroid - Underground"
@@ -884,6 +889,7 @@ var/list/ghostteleportlocs = list()
//Maintenance
/area/maintenance
ambientsounds = list('sound/ambience/ambimaint1.ogg', 'sound/ambience/ambimaint2.ogg', 'sound/ambience/ambimaint3.ogg', 'sound/ambience/ambimaint4.ogg', 'sound/ambience/ambimaint5.ogg')
valid_territory = FALSE
/area/maintenance/atmos_control
name = "Atmospherics Maintenance"
@@ -1148,6 +1154,7 @@ var/list/ghostteleportlocs = list()
/area/crew_quarters/sleep
name = "\improper Dormitories"
icon_state = "Sleep"
valid_territory = FALSE
/area/crew_quarters/sleep_male
name = "\improper Male Dorm"
@@ -1399,6 +1406,7 @@ var/list/ghostteleportlocs = list()
/area/solar
requires_power = 0
dynamic_lighting = 0
valid_territory = FALSE
auxport
name = "\improper Fore Port Solar Array"
@@ -1907,6 +1915,7 @@ area/security/podbay
/area/toxins/test_area
name = "\improper Toxins Test Area"
icon_state = "toxtest"
valid_territory = FALSE
/area/toxins/mixing
name = "\improper Toxins Mixing Room"
+5 -3
View File
@@ -25,6 +25,7 @@
layer = 10
uid = ++global_uid
all_areas += src
map_name = name // Save the initial (the name set in the map) name of the area.
if(type == /area) // override defaults for space. TODO: make space areas of type /area/space rather than /area
requires_power = 1
@@ -313,14 +314,15 @@
// Ambience goes down here -- make sure to list each area seperately for ease of adding things in later, thanks! Note: areas adjacent to each other should have the same sounds to prevent cutoff when possible.- LastyScratch
if(L && L.client && !L.client.ambience_playing && (L.client.prefs.sound & SOUND_BUZZ)) //split off the white noise from the rest of the ambience because of annoyance complaints - Kluys
L.client.ambience_playing = 1
L << sound('sound/ambience/shipambience.ogg', repeat = 1, wait = 0, volume = 35, channel = 2)
else if(L && L.client && !(L.client.prefs.sound & SOUND_BUZZ)) L.client.ambience_playing = 0
L << sound('sound/ambience/shipambience.ogg', repeat = 1, wait = 0, volume = 35, channel = CHANNEL_BUZZ)
else if(L && L.client && !(L.client.prefs.sound & SOUND_BUZZ))
L.client.ambience_playing = 0
if(prob(35) && L && L.client && (L.client.prefs.sound & SOUND_AMBIENCE))
var/sound = pick(ambientsounds)
if(!L.client.played)
L << sound(sound, repeat = 0, wait = 0, volume = 25, channel = 1)
L << sound(sound, repeat = 0, wait = 0, volume = 25, channel = CHANNEL_AMBIENCE)
L.client.played = 1
spawn(600) //ewww - this is very very bad
if(L.&& L.client)