-
-
Notifications
You must be signed in to change notification settings - Fork 78
Add scp delivery #992
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
base: master
Are you sure you want to change the base?
Add scp delivery #992
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ent-CrateScp2263 = ящик СЦП | ||
| .desc = Защищённый ящик, содержащий в себе аномальный объект. | ||
| ent-CrateScp124 = { ent-CrateScp2263 } | ||
| .desc = { ent-CrateScp2263.desc } | ||
| ent-CrateScp427 = { ent-CrateScp2263 } | ||
| .desc = { ent-CrateScp2263.desc } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ent-Scp226362 = скульптура скелета | ||
| .desc = Необыкновенная скульптура в виде скелета человека. | ||
| ent-Scp226360 = { ent-Scp226362 } | ||
| .desc = { ent-Scp226362.desc } | ||
| ent-Scp226318 = { ent-Scp226362 } | ||
| .desc = { ent-Scp226362.desc } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| cargo-delivery-event-announcement = Внимание логистическому и научно-исследовательскому отделам. На ваш участок был доставлен аномальный объект { $description } для изучения и содержания. Всё прибудет со следующей партией груза. | ||
| cargo-delivery-sender = Региональное управление | ||
|
|
||
| cargo-delivery-description-scp2263 = SCP-2263 | ||
| cargo-delivery-description-scp124 = SCP-124 | ||
| cargo-delivery-description-scp427 = SCP-427 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| - type: cargoMarket | ||
| id: scp | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| - type: cargoProduct | ||
| id: cargoScp2263 | ||
| product: CrateScp2263 | ||
| cost: 999999999 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Очень плохая реализация через очень огромную цену в карго. |
||
| icon: | ||
| sprite: Markers/cross.rsi | ||
| state: red | ||
| group: scp | ||
|
|
||
| - type: cargoProduct | ||
| id: cargoScp124 | ||
| product: CrateScp124 | ||
| cost: 999999999 | ||
| icon: | ||
| sprite: Markers/cross.rsi | ||
| state: red | ||
| group: scp | ||
|
|
||
| - type: cargoProduct | ||
| id: cargoScp427 | ||
| product: CrateScp427 | ||
| cost: 999999999 | ||
| icon: | ||
| sprite: Markers/cross.rsi | ||
| state: red | ||
| group: scp | ||
|
Comment on lines
+2
to
+26
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Используйте CamelCase для
💡 Предлагаемое исправление- id: cargoScp2263
+ id: CargoScp2263
@@
- id: cargoScp124
+ id: CargoScp124
@@
- id: cargoScp427
+ id: CargoScp427# Resources/Prototypes/_Scp/GameRules/cargo_delivery.yml
- cargoScp2263: 1
+ CargoScp2263: 1
@@
- cargoScp124: 1
+ CargoScp124: 1
@@
- cargoScp427: 1
+ CargoScp427: 1As per coding guidelines: "Prototype ID format MUST be 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| - type: entity | ||
| id: CrateScp2263 | ||
| suffix: SCP-2263 crate | ||
| parent: CrateAdministrationSecure | ||
| components: | ||
| - type: RadiationBlockingContainer | ||
| resistance: 3 | ||
| - type: EntityTableContainerFill | ||
| containers: | ||
| entity_storage: !type:GroupSelector | ||
| children: | ||
| - id: Scp226362 | ||
| - id: Scp226360 | ||
| - id: Scp226318 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Все сразу в одном ящике?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. там рандомно спавнится один скелет какого либо вида
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Поставки скорее всего нужно реализовывать через C#, потому что в прототипах это выглядит ужасно, по крайней мере на текущий момент |
||
|
|
||
| - type: entity | ||
| id: CrateScp124 | ||
| suffix: SCP-124 crate | ||
| parent: CrateAdministrationSecure | ||
| components: | ||
| - type: EntityTableContainerFill | ||
| containers: | ||
| entity_storage: !type:AllSelector | ||
| children: | ||
| - id: Scp124 | ||
|
|
||
| - type: entity | ||
| id: CrateScp427 | ||
| suffix: SCP-427 crate | ||
| parent: CrateAdministrationSecure | ||
| components: | ||
| - type: EntityTableContainerFill | ||
| containers: | ||
| entity_storage: !type:AllSelector | ||
| children: | ||
| - id: Scp427 | ||
|
666XxttimurkaxX666 marked this conversation as resolved.
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| - type: entity | ||
| id: Scp2263Base | ||
| abstract: true | ||
| parent: BaseScpArtifactMinor | ||
| name: skeleton sculpture | ||
| description: Unusual model of a human skeleton. | ||
| suffix: SCP-2263 | ||
| components: | ||
| - type: Sprite | ||
| sprite: _Scp/Objects/Scp/scp-2263.rsi | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Раздели это на подпапки. И туда уже помести спрайты различных состояний и направлений.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. а зачем там разные направления и состояния
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Потому что у тебя скелеты могут повырачиваться, вот это да, согласен? Чудо |
||
| - type: Physics | ||
| bodyType: Dynamic | ||
| - type: Transform | ||
| anchored: false | ||
| noRot: true | ||
| - type: Pullable | ||
| - type: Clickable | ||
| - type: InteractionOutline | ||
| - type: Damageable | ||
| - type: DamageOverlay | ||
| damagePopupType: SmallFloating | ||
| isStructure: true | ||
| - type: Scp | ||
| class: Safe | ||
| - type: GuideHelp | ||
| guides: | ||
| - ScpResearch | ||
| - type: Fixtures | ||
| fixtures: | ||
| fix1: | ||
| shape: | ||
| !type:PhysShapeAabb | ||
| bounds: "-0.25,-0.45,0.25,0.45" | ||
| mask: | ||
| - MachineMask | ||
| layer: | ||
| - MachineLayer | ||
| density: 200 | ||
|
|
||
| - type: entity | ||
| id: Scp226362 | ||
| parent: Scp2263Base | ||
| suffix: SCP-2263-62 | ||
| components: | ||
| - type: Sprite | ||
| state: scp2263-62 | ||
| - type: PointLight | ||
| color: LightGreen | ||
| radius: 5 | ||
| energy: 5 | ||
| netsync: false | ||
| - type: RadiationSource | ||
| intensity: 3 | ||
|
|
||
| - type: entity | ||
| id: Scp226360 | ||
| parent: Scp2263Base | ||
| suffix: SCP-2263-60 | ||
| components: | ||
| - type: Sprite | ||
| state: scp2263-60 | ||
| - type: AnyDamageSound | ||
| sound: | ||
| collection: ArcadeNoise | ||
| params: | ||
| volume: 4 | ||
| maxDistance: 8 | ||
|
|
||
| - type: entity | ||
| id: Scp226318 | ||
| parent: Scp2263Base | ||
| suffix: SCP-2263-18 | ||
| components: | ||
| - type: Sprite | ||
| state: scp2263-18 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| - type: entity | ||
| id: CargoScpDeliveryBase | ||
| parent: BaseGameRule | ||
| abstract: true | ||
| components: | ||
| - type: GameRule | ||
| delay: | ||
| min: 10 | ||
| max: 10 | ||
| - type: StationEvent | ||
| startColor: "#18abf5" | ||
| - type: CargoGiftsRule | ||
| sender: cargo-delivery-sender | ||
| announce: cargo-delivery-event-announcement | ||
|
|
||
| - type: entityTable | ||
| id: ScpCargoDeliveryTable | ||
| table: !type:GroupSelector | ||
| children: | ||
| - id: DeliveryScp2263 | ||
| - id: DeliveryScp124 | ||
| - id: DeliveryScp427 | ||
|
|
||
|
666XxttimurkaxX666 marked this conversation as resolved.
|
||
| - type: entity | ||
| id: DeliveryScp2263 | ||
| parent: CargoScpDeliveryBase | ||
| components: | ||
| - type: StationEvent | ||
| weight: 3 | ||
| duration: 120 | ||
| earliestStart: 20 | ||
| - type: CargoGiftsRule | ||
| description: cargo-delivery-description-scp2263 | ||
| gifts: | ||
| cargoScp2263: 1 | ||
|
|
||
| - type: entity | ||
| id: DeliveryScp124 | ||
| parent: CargoScpDeliveryBase | ||
| components: | ||
| - type: StationEvent | ||
| weight: 3 | ||
| duration: 120 | ||
| earliestStart: 20 | ||
| - type: CargoGiftsRule | ||
| description: cargo-delivery-description-scp124 | ||
| gifts: | ||
| cargoScp124: 1 | ||
|
|
||
| - type: entity | ||
| id: DeliveryScp427 | ||
| parent: CargoScpDeliveryBase | ||
| components: | ||
| - type: StationEvent | ||
| weight: 3 | ||
| duration: 120 | ||
| earliestStart: 20 | ||
| - type: CargoGiftsRule | ||
| description: cargo-delivery-description-scp427 | ||
| gifts: | ||
| cargoScp427: 1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,6 +129,8 @@ | |
| tableId: CargoGiftsTable | ||
| - !type:NestedSelector | ||
| tableId: CalmPestEventsTable | ||
| - !type:NestedSelector | ||
| tableId: ScpCargoDeliveryTable | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ты уверен, что это нужно добавлять в ротацию базовых ивентов?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cargoproducts это за какую стоимость персонал может купить предмет продать за ту же цену они не могут
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Я в курсе, но это не должно так выглядеть |
||
|
|
||
| - type: entityTable | ||
| id: ScpBasicChillGameRulesTable | ||
|
|
@@ -142,6 +144,8 @@ | |
| tableId: CargoGiftsTable | ||
| - !type:NestedSelector | ||
| tableId: CalmPestEventsTable | ||
| - !type:NestedSelector | ||
| tableId: ScpCargoDeliveryTable | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. То-же самое, под вопросом. |
||
|
|
||
| - type: entityTable | ||
| id: ScpBasicCalmEventsTable | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "version": 1, | ||
| "license": "CC-BY-SA-3.0", | ||
| "copyright": "Made by timur", | ||
| "size": { | ||
| "x": 32, | ||
| "y": 32 | ||
| }, | ||
| "states": [ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Нужно разделить на разные |
||
| { | ||
| "name": "scp2263-62" | ||
| }, | ||
| { | ||
| "name": "scp2263-18" | ||
| }, | ||
| { | ||
| "name": "scp2263-60" | ||
| } | ||
| ] | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Приведите
idрынка к CamelCase.id: scpнарушает обязательный формат идентификаторов прототипов. Также нужно синхронно обновитьgroupв связанныхcargoProduct.💡 Предлагаемое исправление
As per coding guidelines: "Prototype ID format MUST be
CamelCase".📝 Committable suggestion
🤖 Prompt for AI Agents