Skip to content

Commit

Permalink
[Заказ] Существо
Browse files Browse the repository at this point in the history
  • Loading branch information
jungarikjan committed Aug 25, 2024
1 parent bad7e09 commit cbd5bf2
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 0 deletions.
197 changes: 197 additions & 0 deletions Resources/Prototypes/ADT/Entities/Mobs/NPCs/creature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
- type: entity
parent: [ BaseMob, MobCombat ]
id: ADTMobCreature
name: the creature
description: Once it was a human being...
components:
#
- type: Body
prototype: Human
requiredLegs: 2
# #
# - type: Hands
# showInHands: true
# #
# - type: Inventory
# templateId: human
# #
# - type: InventorySlots
# #
# - type: Input
# context: "human"
# #
- type: Sprite
drawdepth: Mobs
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
sprite: ADT/Mobs/creature.rsi
state: creature
# - map: ["enum.HumanoidVisualLayers.Chest"]
# - map: ["enum.HumanoidVisualLayers.Head"]
# - map: ["enum.HumanoidVisualLayers.Snout"]
# - map: ["enum.HumanoidVisualLayers.Eyes"]
# - map: ["enum.HumanoidVisualLayers.RArm"]
# - map: ["enum.HumanoidVisualLayers.LArm"]
# - map: ["enum.HumanoidVisualLayers.RLeg"]
# - map: ["enum.HumanoidVisualLayers.LLeg"]
# - shader: StencilClear
# sprite: Mobs/Species/Human/parts.rsi
# state: l_leg
# - shader: StencilMask
# map: ["enum.HumanoidVisualLayers.StencilMask"]
# sprite: Mobs/Customization/masking_helpers.rsi
# state: unisex_full
# visible: false
# - map: ["enum.HumanoidVisualLayers.LFoot"]
# - map: ["enum.HumanoidVisualLayers.RFoot"]
# - map: ["socks"]
# - map: ["underpants"]
# - map: ["undershirt"]
# - map: ["jumpsuit"]
# - map: ["enum.HumanoidVisualLayers.LHand"]
# - map: ["enum.HumanoidVisualLayers.RHand"]
# - map: ["enum.HumanoidVisualLayers.Handcuffs"]
# color: "#ffffff"
# sprite: Objects/Misc/handcuffs.rsi
# state: body-overlay-2
# visible: false
# - map: ["id"]
# - map: ["gloves"]
# - map: ["shoes"]
# - map: ["ears"]
# - map: ["outerClothing"]
# - map: ["eyes"]
# - map: ["belt"]
# - map: ["neck"]
# - map: ["back"]
# - map: ["enum.HumanoidVisualLayers.FacialHair"]
# - map: ["enum.HumanoidVisualLayers.Hair"]
# - map: ["enum.HumanoidVisualLayers.HeadSide"]
# - map: ["enum.HumanoidVisualLayers.HeadTop"]
# - map: ["mask"]
# - map: ["head"]
# - map: ["pocket1"]
# - map: ["pocket2"]
# - map: ["enum.HumanoidVisualLayers.Tail"]
# #- map: ["enum.HumanoidVisualLayers.Wings"]
#
- type: Emoting
#
- type: BodyEmotes
soundsId: GeneralBodyEmotes
#
- type: Internals
#
- type: UserInterface
interfaces:
enum.VoiceMaskUIKey.Key:
type: VoiceMaskBoundUserInterface
enum.HumanoidMarkingModifierKey.Key:
type: HumanoidMarkingModifierBoundUserInterface
enum.StrippingUiKey.Key:
type: StrippableBoundUserInterface
#
- type: Icon # It will not have an icon in the adminspawn menu without this. Body parts seem fine for whatever reason.
sprite: ADT/Mobs/creature.rsi
state: icon
#
- type: InputMover
#
- type: MobMover
#
- type: Clickable
#
- type: NpcFactionMember
factions:
- SimpleHostile
#
- type: Tag
tags:
- DoorBumpOpener
- FootstepSound
- CannotSuicide
#
- type: Speech
speechVerb: LargeMob
#
- type: MindContainer
#
- type: MovementAlwaysTouching
#
- type: MovementSpeedModifier
baseWalkSpeed: 2.5
baseSprintSpeed: 4.5
#
- type: MobState
allowedStates:
- Alive
- Critical
- Dead
#
- type: MobThresholds
thresholds:
0: Alive
350: Critical
400: Dead
#
- type: Puller
#
- type: Pullable
#
- type: ZombieImmune
#
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.49
density: 130
mask:
- MobMask
layer:
- MobLayer
#
- type: DamageStateVisuals
states:
Alive:
Base: creature
Critical:
Base: dead
Dead:
Base: dead
#
- type: Butcherable
butcheringType: Spike
spawned:
- id: FoodMeat
amount: 5
#
- type: CombatMode
#
- type: Climbing
#
- type: MeleeWeapon
altDisarm: false
soundHit:
path: /Audio/Weapons/Xeno/alien_claw_flesh3.ogg
angle: 60
animation: WeaponArcSlash
damage:
types:
Blunt: 8
#
- type: StaminaDamageOnHit
damage: 50
#
- type: Prying
pryPowered: true
force: true
speedModifier: 1.5
useSound:
path: /Audio/Machines/airlock_creaking.ogg
#
- type: NoSlip
#
- type: ReplacementAccent
accent: genericAggressive
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/Textures/ADT/Mobs/creature.rsi/dead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/Textures/ADT/Mobs/creature.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions Resources/Textures/ADT/Mobs/creature.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1,
"size": {
"x": 64,
"y": 64
},
"license": "CC-BY-SA-3.0",
"copyright": "Sprite by discord: mnogo_znal",
"states":
[
{
"name": "icon"
},

{
"name": "creature",
"directions": 4
},

{
"name": "dead",
"directions": 1
}
]
}

0 comments on commit cbd5bf2

Please sign in to comment.