Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 committed Jan 2, 2024
1 parent 0a035a1 commit d1f5040
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 47 deletions.
8 changes: 8 additions & 0 deletions Resources/Locale/ru-RU/ADT/Felinid/abilities/felinid.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
hairball-action = Откашляться
hairball-action-desc = Очистите свою пищеварительную систему и получите крутой комок волос, который можно бросить в людей.
#hairball-mask = Снемите свою { $mask } для начала.
#hairball-cough = { CAPITALIZE(THE($name)) } начинает кашлять комком шерсти!
ent-Hairball = комок шерсти
.desc = Фелиниды, чувак...
action-name-eat-mouse = Сожрать мышку
action-description-eat-mouse = Съешьте мышь, которую держите в руке, и получите питательные вещества и заряд шерсти.
49 changes: 49 additions & 0 deletions Resources/Prototypes/ADT/Felinid/Mobs/Species/felinid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,52 @@
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]


- type: entity
parent: BaseItem
id: Hairball
name: hairball
description: Felinids, man... Placeholder sprite.
components:
- type: Sprite
sprite: ADT/Objects/Specific/felinid.rsi
state: icon
- type: Hairball
- type: SolutionContainerManager
solutions:
hairball:
maxVol: 25
reagents:
- ReagentId: Protein
Quantity: 2
- type: Extractable
grindableSolutionName: hairball
# - type: Tag
# tags:
# - Recyclable
# - Trash

- type: entity
id: ActionHairball
name: hairball-action
description: hairball-action-desc
noSpawn: true
components:
- type: InstantAction
# icon: { sprite: Backmen/Structures/web.rsi, state: web1 }
priority: -10
event: !type:HairballActionEvent
charges: 100 #костыль
useDelay: 30

- type: entity
id: ActionEatMouse
name: action-name-eat-mouse
description: action-description-eat-mouse
noSpawn: true
components:
- type: InstantAction
useDelay: 10
icon: ADT/Icons/verbiconfangs.png
event: !type:EatMouseActionEvent
47 changes: 0 additions & 47 deletions Resources/Prototypes/ADT/test.yml

This file was deleted.

1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1175,6 +1175,7 @@
id: MobMouse
description: Squeak!
components:
- type: FelinidFood
- type: Body
prototype: Mouse
- type: GhostRole
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Entities/Mobs/NPCs/regalrat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
description: He's da mini rat. He don't make da roolz.
noSpawn: true #Must be configured to a King or the AI breaks.
components:
- type: FelinidFood
- type: CombatMode
- type: MovementSpeedModifier
baseWalkSpeed : 2.5 #Value was 3.5 (Nerf since 20.12.2022)
Expand Down

0 comments on commit d1f5040

Please sign in to comment.