Skip to content
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

Slugcats #342

Closed
wants to merge 7 commits into from
Closed
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 @@ -3,3 +3,6 @@ ghost-role-information-emotional-support-description = You're an emotional suppo

ghost-role-information-clippy-name = Clippy
ghost-role-information-clippy-description = The Station Representative loyal worker, smells like cardboard and papers.

ghost-role-information-slugcat-name = Slugcat
ghost-role-information-slugcat-description = You're a slugcat! a very smart creature capable of many things!
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,6 @@ ent-LivestockSnake = { ent-CrateNPCLizard }

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

ent-LivestockSlugcat = { ent-CrateNPCSlugcat }
.desc = { ent-CrateNPCSlugcat.desc }
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ ent-CrateNPCLizard = Lizard crate
.desc = A crate containing a lizard.

ent-CrateNPCKangaroo = Kangaroo crate
.desc = A crate containing a kangaroo.
.desc = A crate containing a kangaroo.

ent-CrateNPCSlugcat = Slugcat crate
.desc = A crate containing a slugcat.
10 changes: 10 additions & 0 deletions Resources/Prototypes/Catalog/Cargo/cargo_livestock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,13 @@
cost: 2800
category: Livestock
group: market

- type: cargoProduct
id: LivestockSlugcat
icon:
sprite: Mobs/Pets/slugcat.rsi
state: slugcat
product: CrateNPCSlugcat
cost: 4800
category: Livestock
group: market
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
tags:
- HelmetEVA
- WhitelistChameleon
- SlugcatEVASuit
- type: StaticPrice
price: 25

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
Slash: 0.9
Piercing: 0.9
Heat: 0.9

#Security Patrol Hardsuit
- type: entity
parent: ClothingHeadHardsuitWithLightBase
Expand Down Expand Up @@ -362,6 +362,9 @@
- type: PressureProtection
highPressureMultiplier: 0.08
lowPressureMultiplier: 1000
- type: Tag
tags:
- SlugcatEVASuit
- type: Armor
modifiers:
coefficients:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@
sprintModifier: 0.9
- type: ToggleableClothing
clothingPrototype: ClothingHeadHelmetHardsuitSyndie
- type: Tag
tags:
- SlugcatEVASuit

#Cybersun Juggernaut Hardsuit
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
tags:
- SuitEVA
- WhitelistChameleon
- SlugcatEVASuit
- type: StaticPrice
price: 65

Expand Down
8 changes: 8 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Crates/npc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@
- id: MobChickenGhost
prob: 1
orGroup: MobCatGhost

- type: entity
id: CrateNPCSlugcat
parent: CrateLivestock
components:
- type: StorageFill
contents:
- id: MobSlugcat
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,5 @@
- CrateNPCLizard
- CrateNPCKangaroo
- CrateNPCEmotionalSupportSafe
- CrateNPCSlugcat
chance: 1
107 changes: 107 additions & 0 deletions Resources/Prototypes/_NF/Entities/Mobs/NPCs/slugcats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
- type: entity
name: slugcat
id: MobSlugcat
parent: SimpleMobBase
description: He's just a little guy, a jumpy, poor little scug.
components:
- type: CombatMode
- type: Inventory
templateId: slugcat
speciesId: slugcat
- type: InventorySlots
- type: Cuffable
- type: RotationVisuals
defaultRotation: 90
horizontalRotation: 90
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 80
mask:
- MobMask
layer:
- MobLayer
- type: Strippable
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: slugcat
sprite: Mobs/Pets/slugcat.rsi
- map: [ "enum.HumanoidVisualLayers.Handcuffs" ]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- map: [ "id" ]
- map: [ "ears" ]
- map: [ "outerClothing" ]
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "clownedon" ]
sprite: "Effects/creampie.rsi"
state: "creampie_human"
visible: false
- type: Hands
- type: GenericVisualizer
visuals:
enum.CreamPiedVisuals.Creamed:
clownedon: # Not 'creampied' bc I can already see Skyrat complaining about conflicts.
True: {visible: true}
False: {visible: false}
- type: ReplacementAccent
accent: cat
- type: Body
prototype: Primate
requiredLegs: 1 # TODO: More than 1 leg
- type: CreamPied
- type: FireVisuals
sprite: Mobs/Effects/onfire.rsi
normalState: Monkey_burning
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeat
amount: 3
- type: MonkeyAccent
- type: Puller
- type: CanHostGuardian
- type: NpcFactionMember
factions:
- Cat
- NanoTrasen
- type: GhostRole
makeSentient: true
name: ghost-role-information-slugcat-name
description: ghost-role-information-slugcat-description
- type: GhostTakeoverAvailable
- type: IdExaminable
- type: InteractionPopup
successChance: 0.7
interactSuccessString: petting-success-cat
interactFailureString: petting-failure-generic
interactSuccessSound:
path: /Audio/Animals/cat_meow.ogg
- type: Tag
tags:
- VimPilot
- DoorBumpOpener

- type: entity
name: NPC Slugcat Spawner
id: SlugcatAISpawner
parent: MarkerBase
components:
- type: Sprite
layers:
- state: green
- type: RandomSpawner
prototypes:
- MobSlugcat
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
- type: inventoryTemplate
id: slugcat
slots:
- name: head
slotTexture: head
slotFlags: HEAD
slotGroup: MainHotbar
uiWindowPos: 0,0
strippingWindowPos: 0,0
displayName: Head
whitelist:
tags:
- SlugcatEVASuit
- name: ears
slotTexture: ears
slotFlags: EARS
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 1,2
strippingWindowPos: 1,2
displayName: Ears
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
whitelist:
tags:
- PetWearable
- name: id
slotTexture: id
slotFlags: IDCARD
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 2,1
strippingWindowPos: 2,4
displayName: ID
- name: suitstorage
slotTexture: suit_storage
slotFlags: SUITSTORAGE
stripTime: 3
uiWindowPos: 2,0
strippingWindowPos: 2,5
dependsOn: outerClothing
displayName: Suit Storage
whitelist:
components:
- GasTank
- name: outerClothing
slotTexture: suit
slotFlags: OUTERCLOTHING
slotGroup: MainHotbar
stripTime: 6
uiWindowPos: 1,3
strippingWindowPos: 1,3
displayName: Suit
whitelist:
tags:
- SlugcatEVASuit
- name: pocket1
slotTexture: pocket
slotFlags: POCKET
slotGroup: MainHotbar
stripTime: 3
uiWindowPos: 0,3
strippingWindowPos: 0,4
displayName: Pocket 1
stripHidden: false
- name: back
slotTexture: back
slotFlags: BACK
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 3,0
strippingWindowPos: 0,5
displayName: Spear
whitelist:
tags:
- Spear
2 changes: 2 additions & 0 deletions Resources/Prototypes/_NF/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- type: Tag
id: SlugcatEVASuit
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -20,6 +20,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
}
},
{
"name": "alt-equipped-EARS-slugcat",
"directions": 4
}
]
}
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 @@ -13,6 +13,10 @@
{
"name": "alt-equipped-EARS",
"directions": 4
},
{
"name": "alt-equipped-EARS-slugcat",
"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
Loading