Skip to content

Commit

Permalink
Pirate and Syndicate hoverbikes (#1293)
Browse files Browse the repository at this point in the history
* Pirate and Syndiecate Hoverbikes

* tweak

* Update vehicles.yml

* contra component for hoverbikes, syndie flatpack in contravend
  • Loading branch information
ErhardSteinhauer authored Apr 29, 2024
1 parent fed7504 commit c572e85
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
ClothingBackpackDuffelSyndicateEVABundle: 12
BoxHoloparasite: 2
VestineChemistryVial: 2
HoverbikeSyndicateFlatpack: 3
11 changes: 11 additions & 0 deletions Resources/Prototypes/_NF/Entities/Objects/Devices/flatpacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -631,3 +631,14 @@
entity: VehicleHoverbikeNfsdKey
- type: StaticPrice
price: 750

- type: entity
parent: HoverbikeFlatpack
id: HoverbikeSyndicateFlatpack
name: syndicate hoverbike flatpack
description: A flatpack used for constructing a hoverbike. Keys already slotted in the ignition.
components:
- type: Flatpack
entity: VehicleHoverbikeSyndicateKey
- type: StaticPrice
price: 750
164 changes: 163 additions & 1 deletion Resources/Prototypes/_NF/Entities/Objects/Vehicles/vehicles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -355,4 +355,166 @@
whitelist:
components:
- Stunbaton
priority: 2
priority: 2

# Pirate
- type: entity
parent: VehicleHoverbikeMailcarrier
id: VehicleHoverbikePirate
name: pirate hoverbike
description: Yarr! Dis be me sovereign space shuttle. Now, whaur me rum?
components:
- type: Storage
grid:
- 0,0,5,3
maxItemSize: Huge
- type: Sprite
sprite: _NF/Objects/Vehicles/hoverbike.rsi
layers:
- state: hull
color: "#3d2712"
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
- state: pirate
- state: lights
shader: unshaded
noRot: true
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
requireAll: true
tags:
- VehicleKey
- HoverbikeKeys
priority: 1
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -5
piratemusket:
name: gun
whitelist:
components:
- Gun
priority: 2
- type: ItemMapper
mapLayers:
piratemusket:
whitelist:
components:
- Gun
sprite: _NF/Objects/Vehicles/hoverbike.rsi
- type: Appearance
- type: Contraband

- type: entity
parent: VehicleHoverbikePirate
id: VehicleHoverbikePirateKey
suffix: With key
components:
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
requireAll: true
tags:
- VehicleKey
- HoverbikeKeys
startingItem: VehicleKeyHoverbikeNF
priority: 1
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -5
piratemusket:
name: gun
whitelist:
components:
- Gun
priority: 2

# Syndicate
- type: entity
parent: VehicleHoverbikeMailcarrier
id: VehicleHoverbikeSyndicate
name: syndicate hoverbike
description: This thing screams style. And war crimes.
components:
- type: Storage
grid:
- 0,0,8,4
- type: Sprite
sprite: _NF/Objects/Vehicles/hoverbike.rsi
layers:
- state: hull
color: "#b51e0e"
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
- state: syndicatebags
- state: syndicatelights
shader: unshaded
noRot: true
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
requireAll: true
tags:
- VehicleKey
- HoverbikeKeys
priority: 1
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -5
syndicategun:
name: gun
whitelist:
components:
- Gun
priority: 2
- type: ItemMapper
mapLayers:
syndicategun:
whitelist:
components:
- Gun
sprite: _NF/Objects/Vehicles/hoverbike.rsi
- type: Appearance
- type: PointLight
enabled: false
color: green
radius: 6
energy: 3
- type: Contraband

- type: entity
parent: VehicleHoverbikeSyndicate
id: VehicleHoverbikeSyndicateKey
suffix: With key
components:
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
requireAll: true
tags:
- VehicleKey
- HoverbikeKeys
startingItem: VehicleKeyHoverbikeNF
priority: 1
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -5
syndicategun:
name: gun
whitelist:
components:
- Gun
priority: 2
50 changes: 50 additions & 0 deletions Resources/Textures/_NF/Objects/Vehicles/hoverbike.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,56 @@
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "pirate",
"directions": 4,
"delays": [
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "piratemusket",
"directions": 4,
"delays": [
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "syndicatebags",
"directions": 4,
"delays": [
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "syndicatelights",
"directions": 4,
"delays": [
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "syndicategun",
"directions": 4,
"delays": [
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ],
[ 0.2, 0.2, 0.2, 0.2 ]
]
},
{
"name": "lights",
"directions": 4,
Expand Down
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c572e85

Please sign in to comment.