Skip to content

Commit fdeefbf

Browse files
Merge pull request #129 from MistakeNot4892/pyrelight
Updating from Neb dev
2 parents 1299c08 + a70ccd0 commit fdeefbf

File tree

254 files changed

+5506
-5458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+5506
-5458
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ indent_size = 4
1919
[*.yml]
2020
indent_style = space
2121
indent_size = 2
22+
end_of_line = crlf
2223

2324
[*.txt]
2425
end_of_line = crlf

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ html/changelog.html merge=union
1313
*.dm text eol=crlf
1414
*.dmm text eol=crlf
1515
*.txt text eol=crlf
16-
*.md text eol=crlf
16+
*.md text eol=crlf
17+
*.yml text eol=crlf

.gitignore

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
# ignore misc BYOND files
2-
*.log
3-
*.int
4-
*.rsc
5-
*.dmb
6-
*.lk
7-
*.backup
8-
*.before
9-
data/
10-
dmdoc/
11-
cfg/
12-
build_log.txt
13-
use_map
14-
stopserver
15-
reboot_called
16-
atupdate
17-
18-
# ignore config, but not subdirs
19-
!config/*/
20-
config/*
21-
sql/test_db
22-
23-
# misc OS garbage
24-
Thumbs.db
25-
Thumbs.db:encryptable
26-
.DS_Store
27-
28-
# vscode
29-
.vscode/*
30-
*.code-workspace
31-
.history
32-
33-
# git/kdiff4
34-
*.orig
35-
36-
# swap
37-
[._]*.s[a-v][a-z]
38-
[._]*.sw[a-p]
39-
[._]s[a-v][a-z]
40-
[._]sw[a-p]
41-
42-
# session
43-
Session.vim
44-
45-
# temporary
46-
.netrwhist
47-
*~
48-
49-
# auto-generated tag files
50-
tags
51-
52-
# ignore built libs
53-
lib/*.dll
54-
lib/*.so
55-
/prof.dll
56-
57-
# python
58-
*.pyc
59-
__pycache__
60-
61-
# Running OpenDream locally
62-
nebula.json
1+
# ignore misc BYOND files
2+
*.log
3+
*.int
4+
*.rsc
5+
*.dmb
6+
*.lk
7+
*.backup
8+
*.before
9+
data/
10+
dmdoc/
11+
cfg/
12+
build_log.txt
13+
use_map
14+
stopserver
15+
reboot_called
16+
atupdate
17+
18+
# ignore config, but not subdirs
19+
!config/*/
20+
config/*
21+
sql/test_db
22+
23+
# misc OS garbage
24+
Thumbs.db
25+
Thumbs.db:encryptable
26+
.DS_Store
27+
28+
# vscode
29+
.vscode/*
30+
*.code-workspace
31+
.history
32+
33+
# git/kdiff4
34+
*.orig
35+
36+
# swap
37+
[._]*.s[a-v][a-z]
38+
[._]*.sw[a-p]
39+
[._]s[a-v][a-z]
40+
[._]sw[a-p]
41+
42+
# session
43+
Session.vim
44+
45+
# temporary
46+
.netrwhist
47+
*~
48+
49+
# auto-generated tag files
50+
tags
51+
52+
# ignore built libs
53+
lib/*.dll
54+
lib/*.so
55+
/prof.dll
56+
57+
# python
58+
*.pyc
59+
__pycache__
60+
61+
# Running OpenDream locally
62+
nebula.json

README.md

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,99 @@
1-
<h1 align="center">
2-
<br>
3-
<a href="https://github.com/PyrelightSS13/Pyrelight"><img src="https://avatars1.githubusercontent.com/u/128199108" alt="Pyrelight" width="200"></a>
4-
<br>
5-
Pyrelight
6-
<br>
7-
</h1>
8-
9-
<p align="center">
10-
<a href="https://github.com/PyrelightSS13/Pyrelight/actions">
11-
<img src="https://github.com/PyrelightSS13/Pyrelight/workflows/Run%20Tests/badge.svg"
12-
alt="Build Status">
13-
</a>
14-
<a href="https://www.codefactor.io/repository/github/PyrelightSS13/Pyrelight">
15-
<img src="https://www.codefactor.io/repository/github/PyrelightSS13/Pyrelight/badge"
16-
alt="CodeFactor">
17-
</a>
18-
<a href="https://github.com/PyrelightSS13/Pyrelight/commits/dev">
19-
<img src="https://img.shields.io/github/last-commit/PyrelightSS13/Pyrelight"
20-
alt="Last Commit">
21-
</a>
22-
<a href="https://github.com/PyrelightSS13/Pyrelight/issues">
23-
<img src="https://img.shields.io/github/issues/PyrelightSS13/Pyrelight"
24-
alt="Issues">
25-
</a>
26-
<a href="https://github.com/NebulaSS13/Nebula/issues">
27-
<img src="https://img.shields.io/github/issues/NebulaSS13/Nebula"
28-
alt="Upstream Issues">
29-
</a>
30-
<a href="https://discord.gg/Ddw58yF">
31-
<img src="https://img.shields.io/discord/678820025355862045?style=plastic"
32-
alt="Discord">
33-
</a>
34-
<a href="https://github.com/PyrelightSS13/Pyrelight/blob/dev/LICENSE">
35-
<img src="https://img.shields.io/github/license/PyrelightSS13/Pyrelight"
36-
alt="License">
37-
</a>
38-
</p>
39-
40-
| Website | Link |
41-
|---------------------------|---------------------------------------------------|
42-
| Code | [https://github.com/PyrelightSS13/Pyrelight](https://github.com/PyrelightSS13/Pyrelight) |
43-
| Issues | [https://github.com/PyrelightSS13/Pyrelight/issues](https://github.com/PyrelightSS13/Pyrelight/issues) |
44-
| Upstream Issues | [https://github.com/NebulaSS13/Nebula/issues](https://github.com/NebulaSS13/Nebula/issues) |
45-
| Discord | [https://discord.gg/BqXq6Mkys5](https://discord.gg/BqXq6Mkys5) |
46-
| Nebula Discord | [https://discord.gg/DYGXkN2S](https://discord.gg/DYGXkN2S) |
47-
48-
This is the codebase for Pyrelight, a middle-fantasy total conversion project for Space Station 13, derived from Nebula SS13.
49-
50-
A round of this game intends to represent a lived day (or days) in the life of someone in a remote fantasy village, whether it's a day where they struck it rich or where their house burnt down and they caught the plague.
51-
52-
An emphasis is placed on interconnected, generalized systems that allow for unique, emergent gameplay. Boil your tea with fire magic, forage herbs to concoct medicinal tinctures, or hunt in the woods and use your prey's bones and pelt to make your own equipment; what will *you* do?
53-
54-
<p align="center">
55-
<a href="#contributing-guidelines">Contributing Guidelines</a> •
56-
<a href="#security">Security</a> •
57-
<a href="#license">License</a> •
58-
<a href="#getting-the-code-and-installing">Getting the Code and Installing</a>
59-
</p>
60-
61-
---
62-
63-
### NOTICE OF MODIFICATION
64-
65-
This project was forked from [Nebula SS13](https://github.com/NebulaSS13/Nebula) on 15 Jul 2024. Nebula SS13 was forked from [Baystation 12](https://github.com/Baystation12/Baystation12) on 6 Jan 2020.
66-
67-
---
68-
69-
### CONTRIBUTING GUIDELINES
70-
71-
All users are expected to review [/docs/CODE_OF_CONDUCT.md](/docs/CODE_OF_CONDUCT.md) before interacting with the repository or other users.
72-
73-
---
74-
75-
### SECURITY
76-
77-
Please see [/docs/SECURITY.md](/docs/SECURITY.md) for this repository's security policy, and how to report security issues.
78-
79-
---
80-
81-
### LICENSE
82-
83-
The code for Pyrelight is licensed under the [GNU Affero General Public License v3](http://www.gnu.org/licenses/agpl.html), which can be found in full in [/LICENSE](/LICENSE).
84-
85-
Code with a git authorship date prior to `1420675200 +0000` (2015/01/08 00:00 GMT) is licensed under the GNU General Public License version 3, which can be found in full in [/docs/GPL3.txt](/docs/GPL3.txt)
86-
87-
All code where the authorship dates on or after `1420675200 +0000` is assumed to be licensed under AGPL v3, if you wish to license under GPL v3 please make this clear in the commit message and any added files.
88-
89-
If you wish to develop and host this codebase in a closed source manner you may use all commits prior to `1420675200 +0000`, which are licensed under GPL v3. The major change here is that if you host a server using any code licensed under AGPLv3 you are required to provide full source code for your servers users as well including addons and modifications you have made.
90-
91-
See [here](https://www.gnu.org/licenses/why-affero-gpl.html) for more information.
92-
93-
All assets including icons and sound are under a [Creative Commons 3.0 BY-SA license](http://creativecommons.org/licenses/by-sa/3.0/) unless otherwise indicated.
94-
95-
---
96-
97-
### GETTING THE CODE AND INSTALLING
98-
99-
Please see [/docs/installation.md](/docs/installation.md) for instructions on obtaining, installing, updating, and running this code.
1+
<h1 align="center">
2+
<br>
3+
<a href="https://github.com/PyrelightSS13/Pyrelight"><img src="https://avatars1.githubusercontent.com/u/128199108" alt="Pyrelight" width="200"></a>
4+
<br>
5+
Pyrelight
6+
<br>
7+
</h1>
8+
9+
<p align="center">
10+
<a href="https://github.com/PyrelightSS13/Pyrelight/actions">
11+
<img src="https://github.com/PyrelightSS13/Pyrelight/workflows/Run%20Tests/badge.svg"
12+
alt="Build Status">
13+
</a>
14+
<a href="https://www.codefactor.io/repository/github/PyrelightSS13/Pyrelight">
15+
<img src="https://www.codefactor.io/repository/github/PyrelightSS13/Pyrelight/badge"
16+
alt="CodeFactor">
17+
</a>
18+
<a href="https://github.com/PyrelightSS13/Pyrelight/commits/dev">
19+
<img src="https://img.shields.io/github/last-commit/PyrelightSS13/Pyrelight"
20+
alt="Last Commit">
21+
</a>
22+
<a href="https://github.com/PyrelightSS13/Pyrelight/issues">
23+
<img src="https://img.shields.io/github/issues/PyrelightSS13/Pyrelight"
24+
alt="Issues">
25+
</a>
26+
<a href="https://github.com/NebulaSS13/Nebula/issues">
27+
<img src="https://img.shields.io/github/issues/NebulaSS13/Nebula"
28+
alt="Upstream Issues">
29+
</a>
30+
<a href="https://discord.gg/Ddw58yF">
31+
<img src="https://img.shields.io/discord/678820025355862045?style=plastic"
32+
alt="Discord">
33+
</a>
34+
<a href="https://github.com/PyrelightSS13/Pyrelight/blob/dev/LICENSE">
35+
<img src="https://img.shields.io/github/license/PyrelightSS13/Pyrelight"
36+
alt="License">
37+
</a>
38+
</p>
39+
40+
| Website | Link |
41+
|---------------------------|---------------------------------------------------|
42+
| Code | [https://github.com/PyrelightSS13/Pyrelight](https://github.com/PyrelightSS13/Pyrelight) |
43+
| Issues | [https://github.com/PyrelightSS13/Pyrelight/issues](https://github.com/PyrelightSS13/Pyrelight/issues) |
44+
| Upstream Issues | [https://github.com/NebulaSS13/Nebula/issues](https://github.com/NebulaSS13/Nebula/issues) |
45+
| Discord | [https://discord.gg/BqXq6Mkys5](https://discord.gg/BqXq6Mkys5) |
46+
| Nebula Discord | [https://discord.gg/DYGXkN2S](https://discord.gg/DYGXkN2S) |
47+
48+
This is the codebase for Pyrelight, a middle-fantasy total conversion project for Space Station 13, derived from Nebula SS13.
49+
50+
A round of this game intends to represent a lived day (or days) in the life of someone in a remote fantasy village, whether it's a day where they struck it rich or where their house burnt down and they caught the plague.
51+
52+
An emphasis is placed on interconnected, generalized systems that allow for unique, emergent gameplay. Boil your tea with fire magic, forage herbs to concoct medicinal tinctures, or hunt in the woods and use your prey's bones and pelt to make your own equipment; what will *you* do?
53+
54+
<p align="center">
55+
<a href="#contributing-guidelines">Contributing Guidelines</a> •
56+
<a href="#security">Security</a> •
57+
<a href="#license">License</a> •
58+
<a href="#getting-the-code-and-installing">Getting the Code and Installing</a>
59+
</p>
60+
61+
---
62+
63+
### NOTICE OF MODIFICATION
64+
65+
This project was forked from [Nebula SS13](https://github.com/NebulaSS13/Nebula) on 15 Jul 2024. Nebula SS13 was forked from [Baystation 12](https://github.com/Baystation12/Baystation12) on 6 Jan 2020.
66+
67+
---
68+
69+
### CONTRIBUTING GUIDELINES
70+
71+
All users are expected to review [/docs/CODE_OF_CONDUCT.md](/docs/CODE_OF_CONDUCT.md) before interacting with the repository or other users.
72+
73+
---
74+
75+
### SECURITY
76+
77+
Please see [/docs/SECURITY.md](/docs/SECURITY.md) for this repository's security policy, and how to report security issues.
78+
79+
---
80+
81+
### LICENSE
82+
83+
The code for Pyrelight is licensed under the [GNU Affero General Public License v3](http://www.gnu.org/licenses/agpl.html), which can be found in full in [/LICENSE](/LICENSE).
84+
85+
Code with a git authorship date prior to `1420675200 +0000` (2015/01/08 00:00 GMT) is licensed under the GNU General Public License version 3, which can be found in full in [/docs/GPL3.txt](/docs/GPL3.txt)
86+
87+
All code where the authorship dates on or after `1420675200 +0000` is assumed to be licensed under AGPL v3, if you wish to license under GPL v3 please make this clear in the commit message and any added files.
88+
89+
If you wish to develop and host this codebase in a closed source manner you may use all commits prior to `1420675200 +0000`, which are licensed under GPL v3. The major change here is that if you host a server using any code licensed under AGPLv3 you are required to provide full source code for your servers users as well including addons and modifications you have made.
90+
91+
See [here](https://www.gnu.org/licenses/why-affero-gpl.html) for more information.
92+
93+
All assets including icons and sound are under a [Creative Commons 3.0 BY-SA license](http://creativecommons.org/licenses/by-sa/3.0/) unless otherwise indicated.
94+
95+
---
96+
97+
### GETTING THE CODE AND INSTALLING
98+
99+
Please see [/docs/installation.md](/docs/installation.md) for instructions on obtaining, installing, updating, and running this code.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Displayed along with the pin name to show what type of pin it is.
2+
#define VAR_FORMAT_ANY "\<ANY\>"
3+
#define VAR_FORMAT_STRING "\<TEXT\>"
4+
#define VAR_FORMAT_CHAR "\<CHAR\>"
5+
#define VAR_FORMAT_COLOR "\<COLOR\>"
6+
#define VAR_FORMAT_NUMBER "\<NUM\>"
7+
#define VAR_FORMAT_DIR "\<DIR\>"
8+
#define VAR_FORMAT_BOOLEAN "\<BOOL\>"
9+
#define VAR_FORMAT_REF "\<REF\>"
10+
#define VAR_FORMAT_LIST "\<LIST\>"
11+
#define VAR_FORMAT_INDEX "\<INDEX\>"

code/__defines/misc.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#define STATUS_HUD 2 // Alive, dead, diseased, etc.
5454
#define ID_HUD 3 // The job asigned to your ID.
5555
#define WANTED_HUD 4 // Wanted, released, paroled, security status.
56-
#define IMPLOYAL_HUD 5 // Loyality implant.
56+
#define IMPLOYAL_HUD 5 // Loyalty implant.
5757
#define IMPCHEM_HUD 6 // Chemical implant.
5858
#define IMPTRACK_HUD 7 // Tracking implant.
5959
#define SPECIALROLE_HUD 8 // AntagHUD image.

code/controllers/subsystems/configuration.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ SUBSYSTEM_DEF(configuration)
1515

1616
load_files()
1717
load_sql()
18-
load_event()
18+
load_event(load_event_from)
1919

2020
for(var/client/C)
2121
C.update_post_config_load()

code/controllers/subsystems/jobs.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ SUBSYSTEM_DEF(jobs)
387387
if(player.client.prefs.alternate_option == BE_ASSISTANT)
388388
var/datum/job/ass = global.using_map.default_job_type
389389
if((global.using_map.flags & MAP_HAS_BRANCH) && player.client.prefs.branches[initial(ass.title)])
390-
var/datum/mil_branch/branch = mil_branches.get_branch(player.client.prefs.branches[initial(ass.title)])
390+
var/datum/mil_branch/branch = global.using_map.get_branch(player.client.prefs.branches[initial(ass.title)])
391391
ass = branch.assistant_job
392392
assign_role(player, initial(ass.title), mode = mode)
393393
//For ones returning to lobby
@@ -475,9 +475,9 @@ SUBSYSTEM_DEF(jobs)
475475
if(job)
476476
if(H.client)
477477
if(global.using_map.flags & MAP_HAS_BRANCH)
478-
H.char_branch = mil_branches.get_branch(H.client.prefs.branches[job_title])
478+
H.char_branch = global.using_map.get_branch(H.client.prefs.branches[job_title])
479479
if(global.using_map.flags & MAP_HAS_RANK)
480-
H.char_rank = mil_branches.get_rank(H.client.prefs.branches[job_title], H.client.prefs.ranks[job_title])
480+
H.char_rank = global.using_map.get_rank(H.client.prefs.branches[job_title], H.client.prefs.ranks[job_title])
481481

482482
// Transfers the skill settings for the job to the mob
483483
H.skillset.obtain_from_client(job, H.client)

0 commit comments

Comments
 (0)