Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Legally Distinct Orange Cat + capybara fix #159

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
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
@@ -0,0 +1,2 @@
ent-LivestockCapybara = { ent-CrateNPCCapybara }
.desc = { ent-CrateNPCCapybara.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-CrateNPCCapybara = Capybara crate
.desc = A crate containing a capybara.
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ ent-LivestockLizard = { ent-CrateNPCLizard }

ent-LivestockKangaroo = { ent-CrateNPCKangaroo }
.desc = { ent-CrateNPCKangaroo.desc }

2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Cargo/cargo_livestock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@
product: CrateNPCKangaroo
cost: 2800
category: Livestock
group: market
group: market
3 changes: 3 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
- id: MobBingus
prob: 0.005
orGroup: MobCat
- id: MobCatOrange
prob: 0.05
orGroup: MobCat

- type: entity
id: CrateNPCChicken
Expand Down
10 changes: 10 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Cargo/cargo_livestock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

- type: cargoProduct
id: LivestockCapybara
icon:
sprite: DeltaV/Mobs/Animals/capybara.rsi
state: capybara
product: CrateNPCCapybara
cost: 1000
category: Livestock
group: market
7 changes: 7 additions & 0 deletions Resources/Prototypes/DeltaV/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- type: entity
id: CrateNPCCapybara
parent: CrateLivestock
components:
- type: StorageFill
contents:
- id: MobCapybara
28 changes: 28 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Markers/Spawners/mobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Base
- type: entity
name: Capybara Spawner
id: SpawnMobCapybara
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: capybara
sprite: DeltaV/Mobs/Animals/capybara.rsi
- type: ConditionalSpawner
prototypes:
- MobCapybara

- type: entity
name: Orange Cat Spawner
id: SpawnMobCatOrange
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- state: orange
sprite: DeltaV/Mobs/Animals/orange_cat.rsi
- type: ConditionalSpawner
prototypes:
- MobCatOrange
75 changes: 75 additions & 0 deletions Resources/Prototypes/DeltaV/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,78 @@
- type: Grammar
attributes:
gender: epicene

- type: entity
name: orange cat
parent: SimpleMobBase
id: MobCatOrange
description: Feline pet, very funny. Hates Wednesdays.
components:
- type: Sprite
drawdepth: Mobs
sprite: DeltaV/Mobs/Animals/orange_cat.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: orange
- type: Physics
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 250
mask:
- MobMask
layer:
- MobLayer
- type: MeleeWeapon
hidden: true
soundHit:
path: /Audio/Effects/bite.ogg
angle: 0
animation: WeaponArcBite
damage:
types:
Slash: 2
Piercing: 5
- type: Appearance
- type: Inventory
speciesId: catorange
templateId: catorange
- type: InventorySlots
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: DamageStateVisuals
states:
Alive:
Base: orange
Critical:
Base: orange_crit
Dead:
Base: orange_dead
- type: Butcherable
spawned:
- id: FoodMeat
amount: 3
- type: ReplacementAccent
accent: cat
- type: InteractionPopup
successChance: 0.7
interactSuccessString: petting-success-cat
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/cat_meow.ogg
- type: Grammar
attributes:
gender: epicene
- type: MobPrice
price: 200
- type: HTN
rootTask: SimpleHostileCompound
- type: NpcFactionMember
factions:
- Cat
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- type: Appearance
- type: BurnStateVisuals
unlitIcon: unlit-icon

- type: entity
id: SmokingPipeFilledTobacco
parent: SmokingPipe
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
- type: inventoryTemplate
id: catorange
slots:
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
whitelist:
tags:
- PetWearable
components:
- SmokingPipe

- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
slotGroup: SecondHotbar
stripTime: 3
uiWindowPos: 2,0
strippingWindowPos: 2,5
displayName: Suit Storage
whitelist:
components:
- GasTank


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.
12 changes: 10 additions & 2 deletions Resources/Textures/Clothing/Mask/breath.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e Capybara and Orange Cat masks by user leonardo-dabepis",
"size": {
"x": 32,
"y": 32
Expand Down Expand Up @@ -65,6 +65,14 @@
{
"name": "equipped-MASK-kangaroo",
"directions": 4
}
},
{
"name": "equipped-MASK-capybara",
"directions": 4
},
{
"name": "equipped-MASK-catorange",
"directions": 4
}
]
}
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.
19 changes: 19 additions & 0 deletions Resources/Textures/DeltaV/Clothing/Mask/breath.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "art by user leonardo-dabepis https://leonardo-dabepis.tumblr.com/",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "equipped-MASK-capybara",
"directions": 4
},
{
"name": "up-equipped-MASK-catorange",
"directions": 4
}
]
}
28 changes: 28 additions & 0 deletions Resources/Textures/DeltaV/Mobs/Animals/orange_cat.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 1,
"size":
{
"x": 32,
"y": 32
},
"license": "CC-BY-NC-SA-3.0",
"copyright": "art by user leonardo-dabepis https://leonardo-dabepis.tumblr.com/",
"states":
[
{
"name": "orange",
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
{
"name": "orange_crit",
"directions": 1,
"delays": [[1]]
},
{
"name": "orange_dead",
"directions": 1,
"delays": [[1]]
}
]
}
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.
21 changes: 21 additions & 0 deletions Resources/Textures/DeltaV/Objects/Tanks/emergency.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "art by user leonardo-dabepis https://leonardo-dabepis.tumblr.com/",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "equipped-SUITSTORAGE-capybara",
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
{
"name": "equipped-SUITSTORAGE-catorange",
"directions": 4,
"delays": [[1],[1],[1],[1]]
}
]
}
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
Expand Up @@ -135,6 +135,56 @@
{
"name": "lit-inhand-right",
"directions": 4,
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
],
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "unlit-equipped-MASK-catorange",
"directions": 4
},
{
"name": "lit-equipped-MASK-catorange",
"directions": 4,
"delays": [
[
0.1,
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.
12 changes: 11 additions & 1 deletion Resources/Textures/Objects/Tanks/emergency.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432",
"copyright": "Taken from tgstation at https://github.com/tgstation/tgstation/commit/e1142f20f5e4661cb6845cfcf2dd69f864d67432 capybara and orange cat tanks by user leonardo-dabepis",
"size": {
"x": 32,
"y": 32
Expand Down Expand Up @@ -59,6 +59,16 @@
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
{
"name": "equipped-SUITSTORAGE-capybara",
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
{
"name": "equipped-SUITSTORAGE-catorange",
"directions": 4,
"delays": [[1],[1],[1],[1]]
},
{
"name": "inhand-left",
"directions": 4
Expand Down
Loading