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

Pikmin! #837

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
82 changes: 82 additions & 0 deletions Resources/Prototypes/_Impstation/Entities/Mobs/NPCs/pickthem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
- type: entity
parent: SimpleMobBase
id: BaseMobPickthem
abstract: true
components:
- type: GhostRole
name: ghost-role-information-monkey-name
description: ghost-role-information-monkey-description
rules: ghost-role-information-nonantagonist-rules
- type: GhostTakeoverAvailable
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.15
density: 10
mask:
- SmallMobMask
layer:
- SmallMobLayer
- type: Item
size: Tiny
- type: InputMover
- type: MobMover
- type: MobThresholds
thresholds:
0: Alive
20: Dead
- type: MeleeWeapon
altDisarm: false
angle: 0
animation: WeaponArcPunch
damage:
types:
Blunt: 1
- type: NoSlip
- type: ZombieImmune
- type: Food
- type: Extractable
grindableSolutionName: food
- type: SolutionContainerManager
solutions:
food:
reagents:
- ReagentId: Nutriment
Quantity: 1
- type: CanEscapeInventory
baseResistTime: 2
- type: NpcFactionMember
factions:
- PetsNT
- type: Bloodstream
bloodMaxVolume: 15
bloodReagent: Nutriment
- type: Puller
needsHands: false

- type: htnCompound
id: PickthemCompound
branches:
- tasks:
- !type:HTNCompoundTask
task: IdleCompound

- type: entity
name: Red Pikmin
parent: BaseMobPickthem
id: RedPickthem
components:
- type: Sprite
drawdepth: Mobs
layers:
- map: [ "enum.DamageStateVisualLayers.Base" ]
state: red
sprite: _Impstation/Mobs/NPCs/pickthem.rsi
- type: Flammable
damage:
types: {}
- type: HTN
rootTask:
task: PickthemCompound
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.
47 changes: 47 additions & 0 deletions Resources/Textures/_Impstation/Mobs/NPCs/pickthem.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": 1,
"size": {
"x": 8,
"y": 8
},
"copyright": "Made by Honeyed_Lemons_ for ImpStation",
"license": "CC-BY-SA-3.0",
"states": [
{
"name": "red",
"directions": 1
},
{
"name": "blue",
"directions": 1
},
{
"name": "yellow",
"directions": 1
},
{
"name": "white",
"directions": 1
},
{
"name": "purple",
"directions": 1
},
{
"name": "pink",
"directions": 1
},
{
"name": "rock",
"directions": 1
},
{
"name": "ice",
"directions": 1
},
{
"name": "photon",
"directions": 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.
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.