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

Мауси #553

Merged
merged 4 commits into from
Dec 3, 2023
Merged
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
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/ss220/interaction/mousi.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
hugging-success-generic-mousi-others = { CAPITALIZE($user) } тянется { $target }.
hugging-failure-generic-mousi = Вы пытаетесь погладить { $target }, но она отмахивается от вас хвостом.
hugging-success-generic-mousi = Вы обнимаете { $target }. { $target } издаёт счастливый писк.
191 changes: 191 additions & 0 deletions Resources/Prototypes/SS220/Entities/Mobs/NPCs/mousi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
# EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt

- type: entity
id: LeftHandMousi
name: animal hands
parent: [PartAnimal, BaseLeftHand]
noSpawn: true
components:
- type: Sprite
sprite: Mobs/Species/Reptilian/parts.rsi
state: "l_hand"
- type: BodyPart
partType: Hand
symmetry: Left

- type: entity
id: RightHandMousi
name: animal hands
parent: [PartAnimal, BaseRightHand]
noSpawn: true
components:
- type: Sprite
sprite: Mobs/Species/Reptilian/parts.rsi
state: "r_hand"
- type: BodyPart
partType: Hand
symmetry: Right

- type: body
id: Mousi
name: "Mousi"
root: torso
slots:
torso:
part: TorsoAnimal
connections:
- l-hand
- r-hand
- legs
organs:
lungs: OrganAnimalLungs
stomach: OrganAnimalStomach
liver: OrganAnimalLiver
heart: OrganAnimalHeart
kidneys: OrganAnimalKidneys
l-hand:
part: LeftHandMousi
r-hand:
part: RightHandMousi
legs:
part: LegsAnimal
connections:
- feet
feet:
part: FeetAnimal

- type: inventoryTemplate
id: mousi
slots:
- 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
- name: id
slotTexture: id
slotFlags: IDCARD
slotGroup: SecondHotbar
stripTime: 6
uiWindowPos: 2,1
strippingWindowPos: 2,4
displayName: ID

- type: entity
name: Мауси
id: MobMousi
parent: SimpleMobBase
description: Пиип?...
components:
- type: NameIdentifier
- type: Stripping
- type: Strippable
- type: CombatMode
- type: Inventory
templateId: mousi
speciesId: mousi
- type: InventorySlots
- type: NpcFactionMember
factions:
- Mouse
- type: Deathgasp
- type: MobStateActions
actions:
Critical:
- ActionCritSuccumb
- ActionCritFakeDeath
- ActionCritLastWords
- type: Respirator
damage:
types:
Asphyxiation: 0.25
damageRecovery:
types:
Asphyxiation: -0.25
- type: Hunger
baseDecayRate: 0.1
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.40
density: 80
mask:
- MobMask
layer:
- MobLayer
- type: UserInterface
interfaces:
- key: enum.StrippingUiKey.Key
type: StrippableBoundUserInterface
- type: InteractionPopup
successChance: 0.8
interactSuccessString: hugging-success-generic-mousi
interactFailureString: hugging-failure-generic-mousi
messagePerceivedByOthers: hugging-success-generic-mousi-others
interactSuccessSpawn: EffectHearts
interactSuccessSound: /Audio/Animals/fox_squeak.ogg
interactFailureSound: /Audio/Effects/thudswoosh.ogg
- type: Sprite
drawdepth: Mobs
sprite: SS220/Mobs/Animals/mousi.rsi
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: running
- map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
state: running-unshaded
shader: unshaded
- type: DamageStateVisuals
rotate: true
states:
Alive:
Base: running
Critical:
Base: crit
Dead:
Base: dead
- type: MobThresholds
thresholds:
0: Alive
100: Critical
200: Dead
- type: Stamina
critThreshold: 100
- type: Bloodstream
bloodMaxVolume: 250
- type: Hands
- type: Speech
speechSounds: Squeak
speechVerb: SmallMob
- type: Body
prototype: Mousi
requiredLegs: 1
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeat
amount: 5
- type: Puller
- type: Vocal
sounds:
Male: Mouse
Female: Mouse
Unsexed: Mouse
- type: TTS
voice: mana
- type: GhostRole
allowMovement: true
allowSpeech: true
name: Мауси
description: Вы большая, человекоподобная мышь.
- type: GhostTakeoverAvailable
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.
28 changes: 28 additions & 0 deletions Resources/Textures/SS220/Mobs/Animals/mousi.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": 1,
"license": "EULA/CLA with a hosting restriction, full text: https://raw.githubusercontent.com/SerbiaStrong-220/space-station-14/master/CLA.txt",
"copyright": "Made by Meower / Whitly for SS220",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "running",
"directions": 4
},
{
"name": "running-unshaded",
"directions": 4
},
{
"name": "dead"
},
{
"name": "sleeping"
},
{
"name": "crit"
}
]
}
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