Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
2771ed2
Updated vox.dm
HatredMcrageanger Aug 15, 2015
6e8c90f
Freeze command fix
SophiaMiller Aug 15, 2015
572ef39
Merge pull request #1 from HatredMcrageanger/HatredMcrageanger-patch-1
sshado Aug 15, 2015
d44f267
ClearToxin in Area command
SophiaMiller Aug 15, 2015
9811d5b
Fixing Aphelion text and opening up the hub PW.
sshado Aug 15, 2015
a811890
Cleartox permission fix
SophiaMiller Aug 15, 2015
1422570
Merge remote-tracking branch 'origin/master'
SophiaMiller Aug 15, 2015
5591403
Cloner starts now with 900 Biomass
SophiaMiller Aug 15, 2015
eec703a
badpipe (valve)
SophiaMiller Aug 16, 2015
72a0916
Merge pull request #3 from sshado/DJP
sshado Aug 16, 2015
35ad88d
Rejuv Hallos fix
SophiaMiller Aug 16, 2015
940d0cb
xray guns instead of snipers
Isratosh Aug 16, 2015
83230e7
updated station.dm
HatredMcrageanger Aug 16, 2015
5a08035
Changed fuel tank explosions
BlueNexus Aug 16, 2015
4ea6daf
Set the admin room to require no power
BlueNexus Aug 16, 2015
dd3a4c2
Ported the new bullet sprites
BlueNexus Aug 16, 2015
f546c7d
New device sprites
BlueNexus Aug 16, 2015
3da91c2
Rejuvenate fix
BlueNexus Aug 16, 2015
8098ca0
Merge pull request #5 from sshado/HatredMcrageanger-patch-1
sshado Aug 16, 2015
c763e59
Merge pull request #4 from Isratosh/master
sshado Aug 16, 2015
83af1ef
Merge remote-tracking branch 'Baystation12/master'
sshado Aug 16, 2015
4828540
Merge branch 'master' of https://github.com/sshado/Aphelion-Code
sshado Aug 16, 2015
ca6db92
Added freeze function
DJPantheris Aug 15, 2015
b3d35fe
Updated vox.dm
HatredMcrageanger Aug 15, 2015
9ca0943
Reimplementing Admin-Clean command
SophiaMiller Aug 15, 2015
8abb3c4
Quick Clean fix
SophiaMiller Aug 15, 2015
62db0d5
Clean() command perms fix
SophiaMiller Aug 15, 2015
974827f
Clean() addition
SophiaMiller Aug 15, 2015
75b4290
Freeze command fix
SophiaMiller Aug 15, 2015
d4afae5
ClearToxin in Area command
SophiaMiller Aug 15, 2015
98cebb9
Fixing Aphelion text and opening up the hub PW.
sshado Aug 15, 2015
6a71a01
Cloner starts now with 900 Biomass
SophiaMiller Aug 15, 2015
593c9fc
Fix for unfreeze mode.
DJPantheris Aug 16, 2015
e615065
Changing Freeze name
DJPantheris Aug 16, 2015
6e9c755
Rejuv Hallos fix
SophiaMiller Aug 16, 2015
d3f3581
xray guns instead of snipers
Isratosh Aug 16, 2015
8ea9549
updated station.dm
HatredMcrageanger Aug 16, 2015
038b12b
Changed fuel tank explosions
BlueNexus Aug 16, 2015
e8da0f8
Set the admin room to require no power
BlueNexus Aug 16, 2015
51392e6
Ported the new bullet sprites
BlueNexus Aug 16, 2015
45da89a
New device sprites
BlueNexus Aug 16, 2015
653c1c3
Rejuvenate fix
BlueNexus Aug 16, 2015
c9e9178
Merge remote-tracking branch 'origin/master'
sshado Aug 16, 2015
b2338a2
Walruses
Isratosh Aug 16, 2015
dc8d211
Walrus Icons
Isratosh Aug 16, 2015
a467d1a
Broken Merge
sshado Aug 16, 2015
e6d170c
Update outsider.dm
HatredMcrageanger Aug 17, 2015
9fe5462
Admin OOC Color
walmartcheapo Aug 17, 2015
95d06ed
Brightness change.
LykLykLykLyk Aug 17, 2015
bd5cee9
Cryostorage Tweak
walmartcheapo Aug 17, 2015
49fb90f
Merge pull request #6 from sshado/HatredMcrageanger-patch-2
Isratosh Aug 17, 2015
8034f01
Merge pull request #9 from Lykayos/master
Isratosh Aug 17, 2015
6bbdbd4
Merge pull request #8 from walmartcheapo/master
Isratosh Aug 17, 2015
4479b93
Merge branch 'sshado/master'
walmartcheapo Aug 17, 2015
66a8410
Revert "Cryostorage Tweak"
walmartcheapo Aug 17, 2015
f591220
Revert "Revert "Cryostorage Tweak""
walmartcheapo Aug 17, 2015
aaa0af1
Merge branch 'sshado/master'
walmartcheapo Aug 17, 2015
2764ba1
Direct Narration/Subtle Messaging Formatting Fix
walmartcheapo Aug 17, 2015
e599779
Merge pull request #12 from walmartcheapo/master
Isratosh Aug 17, 2015
3a5a08e
The hailer mask is back.
LykLykLykLyk Aug 17, 2015
6eb49ec
Fix to direct narration fix
walmartcheapo Aug 17, 2015
555d46e
Merge pull request #13 from walmartcheapo/master
Isratosh Aug 17, 2015
36bde02
Backpacks with more slots.
LykLykLykLyk Aug 17, 2015
5a3b97f
Merge pull request #1 from sshado/master
LykLykLykLyk Aug 17, 2015
53d45be
Merge pull request #14 from Lykayos/master
Isratosh Aug 17, 2015
e16dd73
Permission fixes
BlueNexus Aug 17, 2015
dfcd08a
Fixed adminjump
BlueNexus Aug 17, 2015
40e5575
Made mods and mentors show up in staffwho
BlueNexus Aug 17, 2015
53946ef
Asteroid fix
BlueNexus Aug 17, 2015
8e9a1ba
Emergency Access
BlueNexus Aug 17, 2015
f1c372a
Revert "Emergency Access"
BlueNexus Aug 17, 2015
a263108
Revert "Revert "Emergency Access""
BlueNexus Aug 17, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,434 changes: 1,719 additions & 1,715 deletions baystation12.dme

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions baystation12.int
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// BEGIN_INTERNALS
/*
MAP_ICON_TYPE: 0
WINDOW: code\stylesheet.dm
LAST_COMPILE_VERSION: 506.1247
DIR: code code\game\machinery code\game\verbs code\modules code\modules\admin code\modules\admin\verbs code\modules\clothing code\modules\clothing\spacesuits code\modules\economy code\modules\events code\modules\mob code\modules\mob\living
FILE: code\stylesheet.dm
LAST_COMPILE_TIME: 1439679616
AUTO_FILE_DIR: OFF
*/
// END_INTERNALS
4 changes: 4 additions & 0 deletions code/ATMOSPHERICS/components/valve.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

var/datum/pipe_network/network_node1
var/datum/pipe_network/network_node2
var/badpipe = 0

/obj/machinery/atmospherics/valve/open
open = 1
Expand Down Expand Up @@ -94,6 +95,9 @@
open = 1
update_icon()

if(badpipe == 1)
message_admins("[usr] ([usr.ckey]) is opening a potential bad valve that could ruin the stations atmos! Either Co2, Phoron, or N2O! (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[usr.x];Y=[usr.y];Z=[usr.z]'>JMP</a>)")

if(network_node1&&network_node2)
network_node1.merge(network_node2)
network_node2 = network_node1
Expand Down
7 changes: 4 additions & 3 deletions code/_onclick/ai.dm
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,13 @@
return

/obj/machinery/door/airlock/AIMiddleClick() // Toggles door bolt lights.
if(!src.lights)
Topic(src, list("src"= "\ref[src]", "command"="lights", "activate" = "1"), 1) // 1 meaning no window (consistency!)
if(!src.emergency)
Topic(src, list("src"= "\ref[src]", "command"="emergency", "activate" = "1"), 1) // 1 meaning no window (consistency!)
else
Topic(src, list("src"= "\ref[src]", "command"="lights", "activate" = "0"), 1)
Topic(src, list("src"= "\ref[src]", "command"="emergency", "activate" = "0"), 1)
return


//
// Override AdjacentQuick for AltClicking
//
Expand Down
6 changes: 3 additions & 3 deletions code/controllers/configuration.dm
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ var/list/gamemode_cache = list()
var/guest_jobban = 1
var/usewhitelist = 0
var/kick_inactive = 0 //force disconnect for inactive players after this many minutes, if non-0
var/show_mods = 0
var/show_mentors = 0
var/show_mods = 1
var/show_mentors = 1
var/mods_can_tempban = 0
var/mods_can_job_tempban = 0
var/mod_tempban_max = 1440
Expand Down Expand Up @@ -138,7 +138,7 @@ var/list/gamemode_cache = list()
var/use_loyalty_implants = 0

var/welder_vision = 1
var/generate_asteroid = 0
var/generate_asteroid = 1

//Used for modifying movement speed for mobs.
//Unversal modifiers
Expand Down
4 changes: 2 additions & 2 deletions code/datums/supplypacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,8 @@ var/list/all_supply_groups = list("Operations","Security","Hospitality","Enginee
name = "Energy marksman crate"
contains = list(/obj/item/clothing/suit/armor/laserproof,
/obj/item/clothing/suit/armor/laserproof,
/obj/item/weapon/gun/energy/sniperrifle,
/obj/item/weapon/gun/energy/sniperrifle)
/obj/item/weapon/gun/energy/xray,
/obj/item/weapon/gun/energy/xray)
cost = 90
containertype = /obj/structure/closet/crate/secure
containername = "Energy marksman crate"
Expand Down
2 changes: 1 addition & 1 deletion code/game/area/Space Station 13 areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ area/space/atmosalert()
/area/admin
name = "\improper Admin room"
icon_state = "start"

requires_power = 0


////////////
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/cryopod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@

var/mob/occupant = null // Person waiting to be despawned.
var/orient_right = null // Flips the sprite.
var/time_till_despawn = 18000 // 30 minutes-ish safe period before being despawned.
var/time_till_despawn = 6000 // 10 minutes-ish safe period before being despawned.
var/time_entered = 0 // Used to keep track of the safe period.
var/obj/item/device/radio/intercom/announce //

Expand Down
12 changes: 11 additions & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ About the new airlock wires panel:
icon_state = "door_locked"
else
icon_state = "door_closed"
if(p_open || welded)
if(p_open || welded || emergency)
overlays = list()
if(p_open)
overlays += image(icon, "panel_open")
Expand All @@ -500,6 +500,8 @@ About the new airlock wires panel:
overlays += image(icon, "sparks_damaged")
if(welded)
overlays += image(icon, "welded")
if(emergency && !locked)
overlays += image(icon, "elights")
else if (health < maxhealth * 3/4 && !(stat & NOPOWER))
overlays += image(icon, "sparks_damaged")
else
Expand Down Expand Up @@ -556,6 +558,7 @@ About the new airlock wires panel:
commands[++commands.len] = list("name" = "Safeties", "command"= "safeties", "active" = safe, "enabled" = "Nominal", "disabled" = "Overridden", "danger" = 1, "act" = 0)
commands[++commands.len] = list("name" = "Timing", "command"= "timing", "active" = normalspeed, "enabled" = "Nominal", "disabled" = "Overridden", "danger" = 1, "act" = 0)
commands[++commands.len] = list("name" = "Door State", "command"= "open", "active" = density, "enabled" = "Closed", "disabled" = "Opened", "danger" = 0, "act" = 0)
commands[++commands.len] = list("name" = "Emergency", "command"= "emergency", "active" = !emergency, "enabled" = "Disabled", "disabled" = "Enabled", "danger" = 0, "act" = 0)

data["commands"] = commands

Expand Down Expand Up @@ -728,6 +731,13 @@ About the new airlock wires panel:
else if (activate && !src.lights)
lights = 1
usr << "The door bolt lights have been enabled."
if("emergency")
// Emergency access
if (src.emergency)
emergency = 0
else
emergency = 1


update_icon()
return 1
Expand Down
13 changes: 8 additions & 5 deletions code/game/machinery/doors/door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
var/operating = 0
var/autoclose = 0
var/glass = 0
var/emergency = 0 // Emergency access override
var/normalspeed = 1
var/heat_proof = 0 // For glass airlocks/opacity firedoors
var/air_properties_vary_with_direction = 0
Expand Down Expand Up @@ -105,7 +106,7 @@

if(istype(AM, /obj/machinery/bot))
var/obj/machinery/bot/bot = AM
if(src.check_access(bot.botcard))
if(src.check_access(bot.botcard) || emergency == 1)
if(density)
open()
return
Expand All @@ -120,7 +121,7 @@
if(istype(AM, /obj/mecha))
var/obj/mecha/mecha = AM
if(density)
if(mecha.occupant && (src.allowed(mecha.occupant) || src.check_access_list(mecha.operation_req_access)))
if(mecha.occupant && (src.allowed(mecha.occupant) || src.check_access_list(mecha.operation_req_access) || emergency == 1))
open()
else
do_animate("deny")
Expand Down Expand Up @@ -149,8 +150,10 @@
return
src.add_fingerprint(user)
if(density)
if(allowed(user)) open()
else do_animate("deny")
if(allowed(user) || src.emergency == 1)
open()
else
do_animate("deny")
return

/obj/machinery/door/meteorhit(obj/M as obj)
Expand Down Expand Up @@ -291,7 +294,7 @@
operating = -1
return 1

if(src.allowed(user) && operable())
if(src.allowed(user) && operable() || src.emergency == 1)
if(src.density)
open()
else
Expand Down
38 changes: 37 additions & 1 deletion code/game/objects/items/weapons/storage/backpack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
return
*/
..()

//Please don't clutter the parent storage item with stupid hacks.
can_be_inserted(obj/item/W as obj, stop_messages = 0)
if(istype(W, /obj/item/weapon/storage/backpack/holding))
Expand Down Expand Up @@ -121,23 +121,31 @@
name = "medical backpack"
desc = "It's a backpack especially designed for use in a sterile environment."
icon_state = "medicalpack"
storage_slots = 10
max_storage_space = 36
item_state_slots = null

/obj/item/weapon/storage/backpack/security
name = "security backpack"
desc = "It's a very robust backpack."
icon_state = "securitypack"
storage_slots = 10
max_storage_space = 36
item_state_slots = null

/obj/item/weapon/storage/backpack/captain
name = "captain's backpack"
desc = "It's a special backpack made exclusively for Nanotrasen officers."
icon_state = "captainpack"
storage_slots = 14
max_storage_space = 46
item_state_slots = null

/obj/item/weapon/storage/backpack/industrial
name = "industrial backpack"
desc = "It's a tough backpack for the daily grind of station life."
storage_slots = 14
max_storage_space = 46
icon_state = "engiepack"
item_state_slots = null

Expand All @@ -155,16 +163,22 @@
name = "geneticist backpack"
desc = "It's a backpack fitted with slots for diskettes and other workplace tools."
icon_state = "genpack"
storage_slots = 10
max_storage_space = 36

/obj/item/weapon/storage/backpack/virology
name = "sterile backpack"
desc = "It's a sterile backpack able to withstand different pathogens from entering its fabric."
icon_state = "viropack"
storage_slots = 10
max_storage_space = 36

/obj/item/weapon/storage/backpack/chemistry
name = "chemistry backpack"
desc = "It's an orange backpack which was designed to hold beakers, pill bottles and bottles."
icon_state = "chempack"
storage_slots = 10
max_storage_space = 36

/*
* Satchel Types
Expand All @@ -189,6 +203,8 @@
name = "industrial satchel"
desc = "A tough satchel with extra pockets."
icon_state = "satchel-eng"
storage_slots = 14
max_storage_space = 46
item_state_slots = list(
slot_l_hand_str = "engiepack",
slot_r_hand_str = "engiepack",
Expand All @@ -198,6 +214,8 @@
name = "medical satchel"
desc = "A sterile satchel used in medical departments."
icon_state = "satchel-med"
storage_slots = 10
max_storage_space = 36
item_state_slots = list(
slot_l_hand_str = "medicalpack",
slot_r_hand_str = "medicalpack",
Expand All @@ -207,16 +225,22 @@
name = "virologist satchel"
desc = "A sterile satchel with virologist colours."
icon_state = "satchel-vir"
storage_slots = 10
max_storage_space = 36

/obj/item/weapon/storage/backpack/satchel_chem
name = "chemist satchel"
desc = "A sterile satchel with chemist colours."
icon_state = "satchel-chem"
storage_slots = 10
max_storage_space = 36

/obj/item/weapon/storage/backpack/satchel_gen
name = "geneticist satchel"
desc = "A sterile satchel with geneticist colours."
icon_state = "satchel-gen"
storage_slots = 10
max_storage_space = 36

/obj/item/weapon/storage/backpack/satchel_tox
name = "scientist satchel"
Expand All @@ -227,6 +251,8 @@
name = "security satchel"
desc = "A robust satchel for security related needs."
icon_state = "satchel-sec"
storage_slots = 10
max_storage_space = 36
item_state_slots = list(
slot_l_hand_str = "securitypack",
slot_r_hand_str = "securitypack",
Expand All @@ -241,6 +267,8 @@
name = "captain's satchel"
desc = "An exclusive satchel for Nanotrasen officers."
icon_state = "satchel-cap"
storage_slots = 14
max_storage_space = 46
item_state_slots = list(
slot_l_hand_str = "satchel-cap",
slot_r_hand_str = "satchel-cap",
Expand All @@ -260,21 +288,29 @@
/obj/item/weapon/storage/backpack/ert/commander
name = "emergency response team commander backpack"
desc = "A spacious backpack with lots of pockets, worn by the commander of a Nanotrasen Emergency Response Team."
storage_slots = 14
max_storage_space = 46

//Security
/obj/item/weapon/storage/backpack/ert/security
name = "emergency response team security backpack"
desc = "A spacious backpack with lots of pockets, worn by security members of a Nanotrasen Emergency Response Team."
icon_state = "ert_security"
storage_slots = 10
max_storage_space = 36

//Engineering
/obj/item/weapon/storage/backpack/ert/engineer
name = "emergency response team engineer backpack"
desc = "A spacious backpack with lots of pockets, worn by engineering members of a Nanotrasen Emergency Response Team."
icon_state = "ert_engineering"
storage_slots = 14
max_storage_space = 46

//Medical
/obj/item/weapon/storage/backpack/ert/medical
name = "emergency response team medical backpack"
desc = "A spacious backpack with lots of pockets, worn by medical members of a Nanotrasen Emergency Response Team."
icon_state = "ert_medical"
storage_slots = 10
max_storage_space = 36
4 changes: 2 additions & 2 deletions code/global.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ var/SMALLSIZEBLOCK = 0

var/skipupdate = 0

var/eventchance = 10 // Percent chance per 5 minutes.
var/eventchance = 20 // Percent chance per 5 minutes.
var/event = 0
var/hadevent = 0
var/blobevent = 0

var/diary = null
var/href_logfile = null
var/station_name = "NSS Exodus"
var/station_name = "NSS Aphelion"
var/game_version = "Baystation12"
var/changelog_hash = ""
var/game_year = (text2num(time2text(world.realtime, "YYYY")) + 544)
Expand Down
2 changes: 1 addition & 1 deletion code/hub.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/world

hub = "Exadv1.spacestation13"
hub_password = "SORRYNOPASSWORD"
hub_password = "kMZy3U5jJHSiBQjr"
name = "Space Station 13"
/* This is for any host that would like their server to appear on the main SS13 hub.
To use it, simply replace the password above, with the password found below, and it should work.
Expand Down
2 changes: 1 addition & 1 deletion code/modules/admin/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var/global/floorIsLava = 0
log_attack(text)
var/rendered = "<span class=\"log_message\"><span class=\"prefix\">ATTACK:</span> <span class=\"message\">[text]</span></span>"
for(var/client/C in admins)
if(R_ADMIN & C.holder.rights)
if(R_MOD & C.holder.rights)
if(C.prefs.toggles & CHAT_ATTACKLOGS)
var/msg = rendered
C << msg
Expand Down
Loading