Skip to content

Commit

Permalink
Enables ship-specific access by default & updates some ship configs (#…
Browse files Browse the repository at this point in the history
…2989)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

See title. By default, ship airlocks will now only open if you have
access for that specific ship. Two ships that specialize in service
(Boyardee and Lagoon) have this disabled by default. Additionally,
pirate ships have been updated to utilize the unused space_spawn config
setting.

## Why It's Good For The Game

players have been requesting this for like a year straight and letting
features go totally unused sucks

## Changelog

:cl:
tweak: Ship-specific access restrictions have been enabled.
tweak: Pirate ships no longer spawn docked to the outpost.
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
Apogee-dev authored Jun 2, 2024
1 parent 94534f3 commit e1ceb30
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions _maps/configs/independent_boyardee.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"starting_funds": 5000,
"map_short_name": "Boyardee-class",
"map_path": "_maps/shuttles/independent/independent_boyardee.dmm",
"unique_ship_access": false,
"job_slots": {
"Bartender": {
"outfit": "/datum/outfit/job/independent/bartender",
Expand Down
1 change: 1 addition & 0 deletions _maps/configs/independent_lagoon.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"map_short_name": "Lagoon-class",
"map_path": "_maps/shuttles/independent/independent_lagoon.dmm",
"unique_ship_access": false,
"starting_funds": 3000,
"job_slots": {
"Captain": {
Expand Down
1 change: 1 addition & 0 deletions _maps/configs/pirate_libertatia.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"PIRATES",
"NATURAL_AGGRESSIVE"
],
"space_spawn": true,
"job_slots": {
"Captain": {
"outfit": "/datum/outfit/job/independent/captain/pirate",
Expand Down
1 change: 1 addition & 0 deletions _maps/configs/pirate_noderider.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"Riot",
"Combat"
],
"space_spawn": true,
"job_slots": {
"Command Node": {
"outfit": "/datum/outfit/job/independent/captain/pirate/jupiter",
Expand Down
3 changes: 2 additions & 1 deletion code/datums/shuttles.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
var/prefix = "ISV"
/// The full name of the ship's faction.
var/faction_name = "Independent"
var/unique_ship_access = FALSE
/// Whether or not players from other ships can open airlocks.
var/unique_ship_access = TRUE
/// Set by config JSON. If true, the template's ships' "default" spawn location (when bought by a player or loaded at roundstart)
/// will be in the middle of space, instead of at an outpost.
var/space_spawn = FALSE
Expand Down

0 comments on commit e1ceb30

Please sign in to comment.