Skip to content

Commit

Permalink
Black market access configurator for pirates (#2919)
Browse files Browse the repository at this point in the history
* Adds black market access configurator

* Update pirate_uplink_catalog.yml

* Move it to the bottom

* Added a new line in the end of the uplink-catalog file

* Add contraband status

* Removed unnecessary access levels, as requested by whatston

* Update access_configurator.yml
  • Loading branch information
Houtblokje authored Feb 26, 2025
1 parent 72ff81e commit 4e3d760
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Resources/Locale/en-US/_NF/store/uplink-catalog.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,5 @@ uplink-pirate-greengrenade-name = Green Pirate Grenade
uplink-pirate-greengrenade-desc = A foul-smelling grenade that makes you feel fuzzy.
uplink-pirate-graygrenade-name = Gray Pirate Grenade
uplink-pirate-graygrenade-desc = A solid grenade that feels like a cannonball.
uplink-pirate-accessconfigurator-captain-name = Black Market Access Configurator
uplink-pirate-accessconfigurator-captain-desc = An access configurator that is sold on the black market. Lock ya booty behind pirate access today!
21 changes: 20 additions & 1 deletion Resources/Prototypes/_NF/Catalog/pirate_uplink_catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
whitelist:
tags:
- PirateUplink

- type: listing
id: UplinkPirateHardsuitCaptain
name: uplink-pirate-hardsuit-captain-name
Expand Down Expand Up @@ -399,3 +399,22 @@
whitelist:
tags:
- PirateUplink

- type: listing
id: UplinkPirateAccessConfigurator
name: uplink-pirate-accessconfigurator-captain-name
description: uplink-pirate-accessconfigurator-captain-desc
productEntity: AccessConfiguratorAntag
icon: { sprite: _NF/Objects/Tools/antag_access_configurator.rsi, state: icon }
cost:
Doubloon: 3
categories:
- UplinkPirateUtility
conditions:
- !type:StoreWhitelistCondition
whitelist:
tags:
- PirateUplink
- !type:BuyerJobCondition
whitelist:
- PirateCaptain
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- type: entity
parent: [BaseC3PirateContraband, AccessConfigurator]
id: AccessConfiguratorAntag
name: Black market access configurator
suffix: Antag
description: A modified access configurator sold on the black market.
components:
- type: Sprite
sprite: _NF/Objects/Tools/antag_access_configurator.rsi
- type: Clothing
sprite: _NF/Objects/Tools/antag_access_configurator.rsi
- type: AccessOverrider
accessLevels:
- Maintenance
- External
- Pirate # Frontier
privilegedIdSlot:
name: id-card-console-privileged-id
ejectSound: /Audio/Machines/id_swipe.ogg
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectOnBreak: true
swap: false
whitelist:
components:
- IdCard
denialSound:
path: /Audio/Machines/custom_deny.ogg
doAfter: 0.5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Recoloured by Houtblokje from the access configurator.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BELT",
"directions": 4
}
]
}

0 comments on commit 4e3d760

Please sign in to comment.