Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
From 5dca237 of private spacestation13 repository on Bitbucket
  • Loading branch information
ZeWaka committed Apr 1, 2020
0 parents commit 4059e4b
Show file tree
Hide file tree
Showing 6,965 changed files with 997,967 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions +secret
Submodule +secret added at 1483f2
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

# Goonstation Standards
indent_style = tab
indent_size = 2
tab_width = 2

# File standards
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
55 changes: 55 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# gitattributes
* text=auto

# BYOND code and other detritus
*.dm text
*.dme text
*.dms text
*.dmf text

# BYOND Images, bytecode, maps
*.dmi binary
*.dmb binary
*.dmm binary

# Other text stuff
*.txt text
*.md text
*.html text
*.css text
*.scss text
*.js text
*.json text
*.ini text
*.conf text
*.ps1 text
*.sh text
*.bat text
*.rb text
*.py text
*.lua text
*.cpp text
*.h text

# Other binary stuff
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mp3 binary
*.ogg binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.svg binary
*.pdn binary

# Not everything actually needs to be here but it doesn't break stuff to
# make git recognize that yes, some of these dumb byond things really are text
# ...or binary
# plus the browserassets maps weren't treated that way so oops(?)
# By Zamujasa
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# DM build/intermediate files
*.dmb
*.rsc
*.int
*.lk

# runtime generated files
/data/*
*.log
/adventure

# ignore config
config/config.txt
config/admins.txt
_stdlib/__build.dm
z_build_opts.dm

# Pre-processor related
node_modules
.tmp
.sass-cache
Build System.dm

# Editor Files
*.sublime-project
*.sublime-workspace
*.vscode
*.idea

#Misc
Thumbs.db
goonstation/unversioned/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "+secret"]
path = +secret
url = [email protected]:spacewizards13/goonstation-secret.git
17 changes: 17 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"gbasood.byond-dm-language-support",
"platymuus.dm-langclient",
"coenraads.bracket-pair-colorizer-2",
"editorconfig.editorconfig",
"github.vscode-pull-request-github"
],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": [

]
}
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This work is licensed under the Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 United States License. To view a copy
of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/us/ or
send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Goonstation ![](https://i.imgur.com/mvQFRZm.png)

![contains resentment](https://forthebadge.com/images/badges/built-with-resentment.svg)![contains technical debt](https://forthebadge.com/images/badges/contains-technical-debt.svg)![made in byond](https://user-images.githubusercontent.com/5211576/29499758-4efff304-85e6-11e7-8267-62919c3688a9.gif)

**Website:** [goonhub.com](https://goonhub.com)

**Forums:** [forums.ss13.co](https://forums.ss13.co)

**Wiki:** [wiki.ss13.co](https://wiki.ss13.co)

**Goonstation Discord:** [0117EEzASKYV2vtek](https://discord.gg/0117EEzASKYV2vtek)

This is the codebase for the Goonstation branch of [Space Station 13](https://spacestation13.com/).

Space Station 13 is a community developed, multiplayer round-based role playing game, where players assume the role of a crewmember on a space station. Together they must keep the station running smoothly, whilst dealing with antagonistic forces who threaten to sabotage the mission.

## Downloading

[Goonstation Development Guide](https://hackmd.io/@ZeWaka/goondev)

## Contributing

[Code Guidelines](https://hackmd.io/@ZeWaka/gooncode)

[Spriting Guidelines](https://hackmd.io/@ZeWaka/goonsprite)

[Mapping Guidelines](https://hackmd.io/@ZeWaka/goonmap)

## LICENSE
All Goonstation contributions are licensed under [Creative Commons BY-NC-SA](https://creativecommons.org/licenses/by-nc-sa/3.0/).
See LICENSE for more details.
115 changes: 115 additions & 0 deletions _stdlib/__build.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
#define DEBUG
/*
ANY CHANGES HERE WILL BE OVERWRITTEN BY THE SERVER BUILD PROCESS.
THAT BEING SAID, THIS IS THE IDEAL PLACE TO FORCE A CERTAIN MAP/FLAGS FOR LOCAL DEVELOPMENT.
ALSO HERE'S A BEE
.-..-.`` ```````
.........` s-`../-...` `...........`
o+` `-` ``..-:yooos-..----------..`
.-`osyyyhssyh:.............-
`+hh+/::::s::::::/oyysssys-`
.sh+:o/:::::s:::::::::+yNNNNNs.
od+:::++:::::s:::::::::::/yNNNmdy`
.ds::::::+:::::/:::::::::::::/dNNNhd-
`d+////::::::::::://///::::::::/hNNNym.
ddmNNNNmy/::::::/ymNNNNds/::::::/dNNNsd`
:MNNNNNNNNm+::::+mNNNNNNNNd/::::::oNNNydyooyy
yNNNs::sNNNy::::dNNh/:/mNNN+:::::::mNNdsMNNd-
dNNd....dNN+::::+NN:...oNNd/:::::::mNNNoNs:
yyymdoodNd+::::::+hmyoyNNh/::::::::mNNdsh
/m://ooo/::::::::::/+oo+/:::::::::/NNNhd/
ds::::::::++:::/++:::::::::::::::sNNNhm`
.m+::::::::+++++/:::::::::::::::/NNNNm-
.do:::::::::::::::::::::::::::/mNNNN:
`yh+::::::::::::::::::::::::/mNMMyd-
.ydo/::::::::::::::::::::oNNmds :d
.N:+yhyso//::::::://+osyyN- /h N`
.N y:-:++osssssso++:` M` :s
`d. .d`
*/

//Delete queue debug toggle
//This is expensive. don't turn it on on the server unless you want things to be bad and slow
//#define DELETE_QUEUE_DEBUG

//#define UPDATE_QUEUE_DEBUG

//Image deletion debug
//DO NOT ENABLE THIS ON THE SERVER FOR FUCKS SAKE
//#define IMAGE_DEL_DEBUG

// Machine processing debug
//Apparently not that hefty but still
//#define MACHINE_PROCESSING_DEBUG

//Queue worker statistics
//Probably hefty
//#define QUEUE_STAT_DEBUG

//Map overrides

//Construction mode
//#define MAP_OVERRIDE_CONSTRUCTION

// Destiny/RP
//#define MAP_OVERRIDE_DESTINY

// Destiny/Alt RP
//#define MAP_OVERRIDE_CLARION

// Cogmap
//#define MAP_OVERRIDE_COGMAP

// Cogmap 2
//#define MAP_OVERRIDE_COGMAP2

// Updated Donut2
//#define MAP_OVERRIDE_DONUT2

// Linemap by pgoat
//#define MAP_OVERRIDE_LINEMAP

// Updated Mushroom
//#define MAP_OVERRIDE_MUSHROOM

// Updated Ovary
//#define MAP_OVERRIDE_TRUNKMAP

// Chiron by Kusibu
//#define MAP_OVERRIDE_CHIRON

// Samedi by Kusibu
//#define MAP_OVERRIDE_SAMEDI

// Oshan
//#define MAP_OVERRIDE_OSHAN

// Horizon by Warcrimes
//#define MAP_OVERRIDE_HORIZON

// gannetmap OR IS IT KUBIUSGANNETMAP??
//#define MAP_OVERRIDE_ATLAS

//#define MAP_OVERRIDE_MANTA

//WIP do not use
//#define MAP_OVERRIDE_GEHENNA

var/global/vcs_revision = "1"
var/global/vcs_author = "bob"

var/global/ci_dm_version_major = "1"
var/global/ci_dm_version_minor = "100"

// The following describe when the server was compiled
#define BUILD_TIME_TIMEZONE_ALPHA "EST" // Server is EST
#define BUILD_TIME_TIMEZONE_OFFSET -0500
#define BUILD_TIME_FULL "2009-02-13 18:31:30"
#define BUILD_TIME_YEAR 2053
#define BUILD_TIME_MONTH 01
#define BUILD_TIME_DAY 01
#define BUILD_TIME_HOUR 18
#define BUILD_TIME_MINUTE 31
#define BUILD_TIME_SECOND 30
#define BUILD_TIME_UNIX 1234567890 // Unix epoch, second precision
93 changes: 93 additions & 0 deletions _stdlib/_accessLevels.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
// Note: Don't forget to check and modify /obj/machinery/computer/card (the ID computer) as needed
// when you re-enable old credentials or add new ones.
// Also check proc/get_access_desc() (ID computer lookup) in access.dm

#define access_fuck_all 0 // Because completely empty access lists can make things grump
#define access_security 1
#define access_brig 2
#define access_armory 3 // Unused and replaced by maxsec (HoS-exclusive).
#define access_forensics_lockers 4
#define access_medical 5
#define access_morgue 6
#define access_tox 7
#define access_tox_storage 8
#define access_medlab 9
#define access_medical_lockers 10
#define access_research_director 11
#define access_maint_tunnels 12
#define access_external_airlocks 13 // Unused. Most are all- or maintenance access these days.
#define access_emergency_storage 14
#define access_change_ids 15
#define access_ai_upload 16
#define access_teleporter 17
#define access_eva 18
#define access_heads 19 // Mostly just the bridge.
#define access_captain 20
#define access_all_personal_lockers 21 // Unused. Personal lockers are always linked to ID that was swiped first.
#define access_chapel_office 22
#define access_tech_storage 23
#define access_research 24
#define access_bar 25
#define access_janitor 26
#define access_crematorium 27
#define access_kitchen 28
#define access_robotics 29
#define access_hangar 30 // Unused. Theoretically the pod hangars, but not implemented as such in practice.
#define access_cargo 31 // QM.
#define access_construction 32 // Unused.
#define access_chemistry 33
#define access_dwaine_superuser 34 // So it's not the same as the RD's office and locker.
#define access_hydro 35
#define access_mail 36 // Unused.
#define access_maxsec 37 // The HoS' armory.
#define access_securitylockers 38
#define access_carrypermit 39 // Are allowed to carry sidearms as far as guardbuddies and secbots are concerned.
#define access_engineering 40 // General engineering area and substations.
#define access_engineering_storage 41 // Main metal/tool storage things.
#define access_engineering_eva 42 // Engineering space suits. Currently unused.
#define access_engineering_power 43 // APCs and related supplies.
#define access_engineering_engine 44 // Engine room.
#define access_engineering_mechanic 45 // Electronics lab.
#define access_engineering_atmos 46 // Engineering's supply of gas canisters.
#define access_engineering_control 48 // Engine control room.
#define access_engineering_chief 49 // CE's office.

#define access_mining_shuttle 47
#define access_mining 50
#define access_mining_outpost 51

#define access_syndicate_shuttle 52 // Also to the listening post.
#define access_medical_director 53
#define access_head_of_personnel 55

#define access_special_club 54 //Shouldnt be used for general gameplay. Used for adminevents.

#define access_ghostdrone 56 // drooooones

#define access_centcom 57 // self-explanatory? :v

// skipping a few here to reserve a block
// for terra 8 and syndicate security clearances
#define access_syndicate_4 60
#define access_syndicate_8 61
#define access_syndicate_16 62
#define access_syndicate_32 63
#define access_syndicate_64 64 // level needed for access to terra8 underside
#define access_syndicate_128 65
#define access_syndicate_256 66 // highest level documents in terra8
#define access_syndicate_512 67 // allude to this but don't use it except for super special things

//Owlzone access
#define access_owlerymaint 70
#define access_owlerysec 71
#define access_owlerycommand 72

//Polaris access
#define access_polariscargo 73
#define access_polarisimportant 74

//Reliquary access, reserving a couple - Azungar
#define access_reliquarybasic 75
#define access_reliquary2 76
#define access_reliquary3 77
#define access_reliquary4 78
Loading

0 comments on commit 4059e4b

Please sign in to comment.