Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Boxes/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- type: Tag
tags:
- BoxCardboard
- GenericVehicleSaddlebag

- type: entity
name: mousetrap box
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Entities/Clothing/Back/backpacks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
grid:
- 0,0,6,3
maxItemSize: Huge
- type: Tag
tags:
- GenericVehicleSaddlebag
- type: ContainerContainer
containers:
storagebase: !type:Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
- type: Tag
tags:
- TrashBag
- GenericVehicleSaddlebag
- type: Appearance
- type: StorageFillVisualizer
maxFillLevels: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
components:
- type: Item
size: Ginormous
- type: Tag
tags:
- GenericVehicleSaddlebag
- type: Sprite
scale: 0.8, 0.8
sprite: Objects/Specific/Mail/mail_large.rsi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- type: Tag
tags:
- Medkit
- GenericVehicleSaddlebag

- type: entity
name: burn treatment kit
Expand Down
100 changes: 100 additions & 0 deletions Resources/Prototypes/_Encore/Entities/Objects/Devices/motorcycles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
- type: entity
id: VehicleScooterGrey
parent: BaseVehicleStrap
name: grey scooter
description: A cheap and ubiquotous model of a popular daily commuter.
components:
- type: Sprite
sprite: _Encore/Objects/Vehicles/scooter_grey.rsi
layers:
- state: vehicle
drawdepth: Mobs
- state: vehicle_overlay
drawdepth: Overdoors
- type: GenericKeyedVehicle
containerId: key_slot
keyWhitelist:
tags:
- GenericScooterKeys_Grey
- type: UnpoweredFlashlight
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 500
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 250
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- !type:PlaySoundBehavior
sound:
collection: MetalGlassBreak
- !type:ExplodeBehavior
- type: Strap
buckleOffset: "0.01,0.15"
modifyBuckleDrawDepth: false
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.2
density: 360
offset: "0.5,0.5"
restitution: 0.0
mask:
- MobMask
layer:
- TableLayer
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
tags:
- GenericScooterKeys_Grey
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -3
saddlebag_slot:
name: vehicle-slot-component-slot-name-saddlebag
whitelist:
tags:
- GenericVehicleSaddlebag
- type: ContainerContainer
containers:
key_slot: !type:ContainerSlot
trashbag_slot: !type:ContainerSlot
- type: ItemMapper
mapLayers:
storage:
whitelist:
tags:
- GenericVehicleSaddlebag
sprite: _Encore/Objects/Vehicles/scooter_grey.rsi

- type: entity
parent: BaseItem
id: GenericScooterKeys_Grey
name: scooter keys
description: Seems factory pressed.
components:
- type: Sprite
sprite: _Encore/Objects/Vehicles/keys.rsi
state: keys_grey
- type: Item
size: Small
- type: Tag
tags: [ GenericScooterKeys_Grey ]
6 changes: 6 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,12 @@
- type: Tag
id: GeigerCounter

- type: Tag
id: GenericScooterKeys_Grey

- type: Tag
id: GenericVehicleSaddlebag

- type: Tag
id: GlassAirlock

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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions Resources/Textures/_Encore/Objects/Vehicles/keys.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "by kyres1",
"states": [
{
"name": "keys_grey"
},
{
"name": "keys_blue"
},
{
"name": "keys_red"
},
{
"name": "keys_green"
},
{
"name": "keys_yellow"
},
{
"name": "keys_orange"
}
]
}
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,30 @@
{
"version": 1,
"size": {
"x": 64,
"y": 64
},
"license": "CC-BY-SA-3.0",
"copyright": "by kyres1",
"states": [
{
"name": "vehicle",
"directions": 4
},
{
"name": "vehicle_moving",
"directions": 4
},
{
"name": "vehicle_overlay",
"directions": 4
},
{
"name": "storage",
"directions": 4
},
{
"name": "destroyed"
}
]
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"size": {
"x": 64,
"y": 64
},
"license": "CC-BY-SA-3.0",
"copyright": "by kyres1",
"states": [
{
"name": "vehicle",
"directions": 4
},
{
"name": "vehicle_moving",
"directions": 4
},
{
"name": "vehicle_overlay",
"directions": 4
},
{
"name": "storage",
"directions": 4
},
{
"name": "destroyed"
}
]
}
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"version": 1,
"size": {
"x": 64,
"y": 64
},
"license": "CC-BY-SA-3.0",
"copyright": "by kyres1",
"states": [
{
"name": "vehicle",
"directions": 4
},
{
"name": "vehicle_moving",
"directions": 4
},
{
"name": "vehicle_overlay",
"directions": 4
},
{
"name": "storage",
"directions": 4
},
{
"name": "destroyed"
}
]
}
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