-
Notifications
You must be signed in to change notification settings - Fork 7
Add snowwoman, snowballs #106
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
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 |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ | |
| - type: Tag | ||
| tags: | ||
| - ClothMade | ||
| - SichBeret | ||
|
|
||
| - type: entity | ||
| parent: CMHeadBeret | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| - type: material | ||
| id: SichSnowball | ||
| stackEntity: SichSheetSnowball | ||
| name: сніжка | ||
| icon: { sprite: _Sich/Objects/Materials/snowball.rsi, state: snowball } | ||
| price: 0 | ||
|
|
||
| - type: stack | ||
| id: SichSnowball | ||
| name: сніжка | ||
| icon: { sprite: /Textures/_Sich/Objects/Materials/snowball.rsi, state: snowball } | ||
| spawn: SichSheetSnowball | ||
| maxCount: 3 | ||
|
|
||
| - type: entity | ||
| parent: SheetOtherBase | ||
| id: SichSheetSnowball | ||
| name: сніжки | ||
| description: Сніжки. Зі снігу. Круто! | ||
| suffix: Заповнені | ||
| components: | ||
| - type: RMCConstructionItem | ||
| buildable: | ||
| - SichSnowwomanBuild | ||
| - type: Material | ||
| - type: PhysicalComposition | ||
| materialComposition: | ||
| SichSnowball: 100 | ||
| - type: Stack | ||
| count: 3 | ||
| stackType: SichSnowball | ||
| baseLayer: base | ||
| layerStates: | ||
| - snowball | ||
| - snowball_2 | ||
| - snowball_3 | ||
| - snowball_4 | ||
| - type: Sprite | ||
| sprite: _Sich/Objects/Materials/snowball.rsi | ||
| state: snowball_4 | ||
| layers: | ||
| - state: snowball_4 | ||
| map: ["base"] | ||
| - type: Item | ||
| sprite: _Sich/Objects/Materials/snowball.rsi | ||
| heldPrefix: сніжка | ||
| size: Normal | ||
| - type: Appearance | ||
| - type: Tag | ||
| tags: | ||
| - Sheet | ||
| - type: UserInterface | ||
| interfaces: | ||
| enum.RMCConstructionUiKey.Key: | ||
| type: RMCConstructionBui | ||
|
|
||
| - type: entity | ||
| parent: SichSheetSnowball | ||
| id: SichSheetSnowball2 | ||
| name: сніжки | ||
| description: Сніжки. Зі снігу. Круто! | ||
| suffix: "2" | ||
| components: | ||
| - type: Sprite | ||
| state: snowball_3 | ||
| - type: Stack | ||
| stackType: SichSnowball | ||
| count: 2 | ||
|
|
||
| - type: entity | ||
| parent: SichSheetSnowball | ||
| id: SichSheetSnowball3 | ||
| name: сніжки | ||
| description: Сніжки. Зі снігу. Круто! | ||
| suffix: "3" | ||
| components: | ||
| - type: Sprite | ||
| state: snowball_4 | ||
| - type: Stack | ||
| stackType: SichSnowball | ||
| count: 3 | ||
|
|
||
| - type: entity | ||
| parent: SichSheetSnowball | ||
| id: SichSheetSnowball1 | ||
| name: сніжка | ||
| description: Сніжка. Одна, самісінька. | ||
| suffix: Один | ||
| components: | ||
| - type: Sprite | ||
| state: snowball_2 | ||
| - type: Stack | ||
| stackType: SichSnowball | ||
| count: 1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,105 @@ | ||
| - type: soundCollection | ||
| id: SichSnowBreak | ||
| files: | ||
| - /Audio/Effects/Footsteps/snowstep1.ogg | ||
|
|
||
| - type: entity | ||
| parent: BaseStructureDynamic | ||
| id: SichSnowwoman | ||
| name: снігова баба | ||
| description: Генерал завітав до Соколів! Бажаю здоров'я, щасливого Різдва та Нового року! | ||
| components: | ||
| - type: MeleeSound | ||
| soundGroups: | ||
| Brute: | ||
| path: | ||
| "/Audio/Effects/Footsteps/snowstep1.ogg" | ||
| - type: Transform | ||
| noRot: true | ||
| - type: Sprite | ||
| sprite: _Sich/Structures/Misc/snowwoman.rsi | ||
| noRot: true | ||
| state: snowwoman | ||
| - type: InteractionOutline | ||
| - type: Physics | ||
| - type: Fixtures | ||
| fixtures: | ||
| fix1: | ||
| shape: | ||
| !type:PhysShapeAabb | ||
| bounds: "-0.4,-0.4,0.4,0.29" | ||
| density: 50 | ||
| mask: | ||
| - CrateMask | ||
| layer: | ||
| - MachineLayer | ||
| - type: PlaceableSurface | ||
| isPlaceable: false | ||
| - type: Damageable | ||
| damageContainer: StructuralInorganic | ||
| - type: Corrodible | ||
| timeToApply: 4 | ||
| structure: true | ||
| - type: Destructible | ||
| thresholds: | ||
| - trigger: | ||
| !type:DamageTrigger | ||
| damage: 100 | ||
| behaviors: | ||
| - !type:DoActsBehavior | ||
| acts: ["Destruction"] | ||
| - !type:PlaySoundBehavior | ||
| sound: | ||
| collection: SichSnowBreak | ||
| - type: XenoCrusherChargable | ||
| setDamage: | ||
| types: | ||
| Blunt: 0 | ||
| throwRange: 2 | ||
| - type: ItemSlots | ||
| slots: | ||
| beret_slot: | ||
| name: берет снігової баби | ||
| whitelist: | ||
| tags: | ||
| - SichBeret | ||
| priority: 1 | ||
| scarf_slot: | ||
| name: шалик снігової баби | ||
| whitelist: | ||
| tags: | ||
| - SichScarf | ||
| priority: 2 | ||
| nose_slot: | ||
| name: ніс снігової баби | ||
| whitelist: | ||
| tags: | ||
| - Carrot | ||
| priority: 3 | ||
| - type: ItemMapper | ||
| sprite: _Sich/Structures/Misc/snowwoman.rsi | ||
| mapLayers: | ||
| snowwoman_beret: | ||
| whitelist: | ||
| tags: | ||
| - SichBeret | ||
| snowwoman_scarf: | ||
| whitelist: | ||
| tags: | ||
| - SichScarf | ||
| snowwoman_nose: | ||
| whitelist: | ||
| tags: | ||
| - Carrot | ||
| - type: Appearance | ||
| - type: UserInterface | ||
| interfaces: | ||
| enum.StorageUiKey.Key: | ||
| type: StorageBoundUserInterface | ||
| - type: ContainerContainer | ||
| containers: | ||
| storagebase: !type:Container | ||
| ents: [] | ||
| beret_slot: !type:ContainerSlot {} | ||
| scarf_slot: !type:ContainerSlot {} | ||
| nose_slot: !type:ContainerSlot {} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| - type: rmcConstruction | ||
| id: SichSnowwomanBuild | ||
| name: сніжна баба | ||
| prototype: SichSnowwoman | ||
| doAfterTime: 10 | ||
| doAfterTimeMin: 1 | ||
| materialCost: 3 | ||
| ignoreBuildRestrictions: true |
|
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. Наші теги також можна винести в наш окремий файл |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1240,7 +1240,14 @@ | |
|
|
||
| - type: Tag | ||
| id: Shovel | ||
| # sich | ||
|
|
||
| - type: Tag | ||
| id: SichBeret | ||
|
|
||
| - type: Tag | ||
| id: SichScarf | ||
| # sich stop | ||
|
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. Варто просто поприсиувати # Sich до першої строчки змінених прототипів
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. Додати стадії руйнування 💀
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. Коментарем я виділив теги січі... Можу прибрати
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. Перше just idea. Чисто естетичне питання
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. Думаю буде гірше видно |
||
| - type: Tag | ||
| id: Sidearm | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "version": 1, | ||
| "license": "CC-BY-SA-3.0", | ||
| "copyright": "made by potatoed6", | ||
| "size": { | ||
| "x": 32, | ||
| "y": 32 | ||
| }, | ||
| "states": [ | ||
| { | ||
| "name": "snowball" | ||
| }, | ||
| { | ||
| "name": "snowball_2" | ||
| }, | ||
| { | ||
| "name": "snowball_3" | ||
| }, | ||
| { | ||
| "name": "snowball_4" | ||
| } | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| { | ||
| "version": 1, | ||
| "license": "CC-BY-SA-3.0", | ||
| "copyright": "made by potatoed6, beret by noctyrnal", | ||
| "size": { | ||
| "x": 32, | ||
| "y": 32 | ||
| }, | ||
| "states": [ | ||
| { | ||
| "name": "snowwoman" | ||
| }, | ||
| { | ||
| "name":"snowwoman_beret" | ||
| }, | ||
| { | ||
| "name":"snowwoman_scarf" | ||
| }, | ||
| { | ||
| "name":"snowwoman_nose" | ||
| } | ||
| ] | ||
| } |
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.
Давайте ми не будемо змінювати прототипи RMC, які в будь який момент можуть змінитись, видалитись, тощо?