Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black market access configurator for pirates #2919

Merged
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,32 @@
- type: entity
parent: 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:
- Captain
- Maintenance
- External
- Mercenary # Frontier
- Pirate # Frontier
- NuclearOperative
- SyndicateAgent
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
}
]
}
Loading