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
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ ent-VendingMachineCompanyHME = автомат снабжения HME
ent-VendingMachineNanotrasen = вендомат NT
.desc = Здесь есть (почти) всё, что может понадобится представителю НТ. Кажется, его только недавно покрасили.
.suffix = NT, Централ
ent-VendingMachineCompanyCL = вендомат Chun Logistics
.desc = Продаёт различные вещи компании Chun Logistics.
.suffix = Chun Logistics
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,15 @@
ClothingUniformJumpskirtHME: 4
ClothingHeadHatBeretHME: 4

# Vend Chun Logistics

- type: vendingMachineInventory
id: CompanyVendInventoryChun
startingInventory:
ClothingShoesBootsGraviBootsCL: 4
ClothingShoesSkatesCL: 4
VehicleHoverboardCL: 4
VehicleGraviboardCL: 4
VehicleGraviscooterCL: 4
VehicleElectroscooterCL: 4
VehicleKeyCLUniversal: 8
211 changes: 211 additions & 0 deletions Resources/Prototypes/_Forge/Entities/Objects/Vehicles/CLVehicles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
- type: Tag
id: CLVehiclesKey

- type: entity
parent: BaseItem
id: VehicleKeyCLUniversal
name: Универсальный ключ Chun Logistics
suffix: Chun Logistics
description: Универсальные ключи для всей ветки техники Chun Logistics.
components:
- type: Item
size: Tiny
- type: Tag
tags:
- VehicleKey
- CLVehiclesKey
- type: Sprite
sprite: Forge/Objects/Vehicles/electroscooter.rsi
state: keys
- type: StaticPrice
price: 50

- type: entity
parent: BaseVehicleRideable
id: VehicleElectroscooterCL
name: Электросамокат
suffix: Chun Logistics
description: Эти ебучие самокатчики добрались до космоса.
components:
- type: Vehicle
northOver: false
southOver: true
- type: Sprite
sprite: Forge/Objects/Vehicles/electroscooter.rsi
layers:
- state: vehicle
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true
- type: MovementSpeedModifier
acceleration: 1
friction: 1
baseWalkSpeed: 3
baseSprintSpeed: 5.5
- type: Strap
buckleOffset: "0, 0"
# maxBuckleDistance: 1 # Umbra - buckling fix
- type: UnpoweredFlashlight
- type: PointLight
enabled: false
radius: 3.5
softness: 2
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
- type: ItemSlots
slots:
key_slot:
name: vehicle-slot-component-slot-name-keys
whitelist:
requireAll: true
tags:
- VehicleKey
- CLVehiclesKey
insertSound:
path: /Audio/Effects/Vehicle/vehiclestartup.ogg
params:
volume: -3

- type: entity
parent: VehicleElectroscooterCL
id: VehicleGraviscooterCL
name: Грависамокат
suffix: Chun Logistics
description: Теперь эти ебучие самокатчики еще и летают.
components:
- type: Vehicle
northOver: false
southOver: true
- type: Sprite
sprite: Forge/Objects/Vehicles/graviscooter.rsi
layers:
- state: vehicle
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true
- type: MovementAlwaysTouching
- type: CanMoveInAir
- type: AmbientSound
sound: /Audio/Effects/shuttle_thruster.ogg
range: 8
volume: 5
enabled: false
- type: MovementSpeedModifier
baseAcceleration: 1.5
baseFriction: 1
baseWalkSpeed: 3.5
baseSprintSpeed: 6
baseWeightlessAcceleration: 1
baseWeightlessFriction: 0.05
weightlessFrictionNoInput: 0.05
baseWeightlessModifier: 3

- type: entity
parent: VehicleGraviscooterCL
id: VehicleGraviboardCL
name: Гравиборд
suffix: Chun Logistics
description: Летающая доска.
components:
- type: Vehicle
hasKey: true
northOver: false
southOver: true
- type: Sprite
sprite: Forge/Objects/Vehicles/graviboard.rsi
layers:
- state: vehicle
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true

- type: entity
parent: BaseVehicleRideable
id: VehicleHoverboardCL
name: Ховерборд
suffix: Chun Logistics
description: Левитирующая доска.
components:
- type: Vehicle
hasKey: true
northOver: false
southOver: true
- type: Strap
buckleOffset: "0, 0"
- type: Sprite
sprite: Forge/Objects/Vehicles/hoverboard.rsi
layers:
- state: vehicle
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
noRot: true
- type: MovementSpeedModifier
baseAcceleration: 1.5
baseFriction: 0.1
baseWalkSpeed: 3
baseSprintSpeed: 5
baseWeightlessAcceleration: 1
baseWeightlessFriction: 0.1
weightlessFrictionNoInput: 0.1
baseWeightlessModifier: 3

- type: entity
parent: ClothingShoesSkates
id: ClothingShoesSkatesCL
name: Ролликовые коньки
suffix: Chun Logistics
description: "Get your skates on!"
components:
- type: Sprite
sprite: Forge/Objects/Vehicles/skates.rsi
- type: Clothing
sprite: Forge/Objects/Vehicles/skates.rsi

- type: entity
parent: BaseVehicleRideable
id: VehicleGravichairCL
name: Гравикресло
suffix: Chun Logistics
description: Левитирующее кресло, прямо как у доктора Соды из людей V.
components:
- type: Vehicle
northOver: true
hasKey: true
northOverride: 0
southOverride: 0
- type: Sprite
sprite: Forge/Objects/Vehicles/gravichair.rsi
layers:
- state: vehicle
- state: engine
map: ["enum.VehicleVisualLayers.AutoAnimate"]
visible: false
noRot: true
- type: MovementSpeedModifier
baseAcceleration: 1.5
baseFriction: 0.5
baseWalkSpeed: 3
baseSprintSpeed: 4
baseWeightlessAcceleration: 1
baseWeightlessFriction: 0.5
weightlessFrictionNoInput: 0.5
baseWeightlessModifier: 3
- type: Strap
buckleOffset: "0,0"

- type: entity
parent: [ClothingShoesBootsMagBase]
id: ClothingShoesBootsGraviBootsCL
name: Гравиботинки
suffix: Chun Logistics
description: Магнитные ботинки, оснащенные технологией «блюспейс-привязи», позволяющей ходить в открытом космосе.
components:
- type: Magboots
requiresGrid: false
- type: Sprite
sprite: Forge/Objects/Vehicles/graviboot.rsi
- type: Clothing
sprite: Forge/Objects/Vehicles/graviboot.rsi
- type: ClothingSpeedModifier
walkModifier: 0.75
sprintModifier: 0.65
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
parent: [VendingMachineAstroVend, BaseStructureDisableToolUse, BaseStructureAccessReaderImmuneToEmag]
id: VendingMachineCompanyHME
name: HME Vendor
description: vendor-HME-desc
description: vendor-HME-desc
components:
- type: VendingMachine
pack: CompanyVendInventoryHarmony
Expand Down Expand Up @@ -183,7 +183,7 @@
map: ["enum.WiresVisualLayers.MaintenancePanel"]
- type: AccessReader
requiredCompany: DrakeIndustries

- type: entity
parent: [VendingMachineAstroVend, BaseStructureDisableToolUse, BaseStructureAccessReaderImmuneToEmag]
id: VendingMachineNanotrasen
Expand All @@ -210,3 +210,34 @@
map: [ "enum.WiresVisualLayers.MaintenancePanel" ]
- type: AccessReader
access: [["Command"]]

- type: entity
parent: [VendingMachineAstroVend, BaseStructureDisableToolUse, BaseStructureAccessReaderImmuneToEmag]
id: VendingMachineCompanyCL
name: CL Vendor
description: vendor-CL-desc
components:
- type: VendingMachine
pack: CompanyVendInventoryChun
requiresCash: true
offState: off
brokenState: broken
normalState: normal-unshaded
denyState: deny-unshaded
ejectState: eject-unshaded
- type: MarketModifier
mod: 8
- type: PointLight
radius: 1.5
energy: 1.6
color: "#00FFFF"
- type: Sprite
sprite: Forge/Structures/Machines/VendingMachines/cl_vendor.rsi
layers:
- state: "off"
map: ["enum.VendingMachineVisualLayers.Base"]
- state: "off"
map: ["enum.VendingMachineVisualLayers.BaseUnshaded"]
shader: unshaded
- state: panel
map: ["enum.WiresVisualLayers.MaintenancePanel"]
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,38 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by: ifi07 (Discord)",
"states": [
{
"name": "vehicle",
"directions": 4
},
{
"name": "hull",
"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": "engine",
"directions": 4,
"delays": [
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ]
]
},
{
"name": "keys"
}
]
}
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.
38 changes: 38 additions & 0 deletions Resources/Textures/Forge/Objects/Vehicles/graviboard.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by: ifi07 (Discord)",
"states": [
{
"name": "vehicle",
"directions": 4
},
{
"name": "hull",
"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": "engine",
"directions": 4,
"delays": [
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ],
[ 0.1, 0.1, 0.2, 0.1 ]
]
},
{
"name": "keys"
}
]
}
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading