Guardians (Holoparasites) (#5140)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
12
Resources/Prototypes/Actions/guardian_actions.yml
Normal file
12
Resources/Prototypes/Actions/guardian_actions.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
#This is the action the host gets to control the guardian
|
||||
- type: action
|
||||
actionType: ManifestGuardian
|
||||
icon: Interface/Actions/manifest.png
|
||||
name: "Toggle guardian manifestation"
|
||||
description: "Either manifests the guardian or recalls it back into your body"
|
||||
filters:
|
||||
- guardian
|
||||
behaviorType: Instant
|
||||
behavior: !type:ToggleGuardianAction
|
||||
cooldown: 2
|
||||
|
||||
@@ -16,3 +16,32 @@
|
||||
Higher will burn the engine out and eventually make it explode. Don't.
|
||||
Don't forget to refuel it, it tends to stop at the worst possible time.
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: HoloparasiteInfo
|
||||
name: "Holoparasite terms and conditions"
|
||||
description: A tiny volumetric display for documents, makes one wonder if Cybersun's legal budget is way too high.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Objects/Misc/guardian_info.rsi
|
||||
state: guardian_info
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.PaperUiKey.Key
|
||||
type: PaperBoundUserInterface
|
||||
- type: Paper
|
||||
content: |
|
||||
Thanks for choosing our holoparasite package!
|
||||
At cybersun, we pride ourselves on cutting-edge military and industrial technology, and greatly appreciate your contribution to our establishment!
|
||||
Guardians are helpful and intelligent beings which nest within your body, completely immune to common hazards such as pressure, temperature and even bullets!
|
||||
You have purchased the holoparasite package, which contains a holoparasite activator, an instruction booklet, and our softcap merchandise.
|
||||
Instructions for use:
|
||||
1. Activate the holoparasite injector (preferably in a secluded area).
|
||||
2. Wait for the tingling and/or painful metaphysical sensation.
|
||||
3. Check your holoparasite for the ability to communicate and cooperate, and capacity to understand your orders.
|
||||
4. Use your recall-manifest ability to summon or recall the holoparasite back into your body.
|
||||
5. Keep the holoparasite within a short distance from yourself, otherwise it will be recalled by force!
|
||||
WARNING: Guardians are metaphysical beings, but draw from your HEALTH in order to exist. Direct damage done to guardians will be partially transferred to you!
|
||||
Cybersun inc. is not responsible for complete annihilation following the misuse of Holoparasite technology.
|
||||
|
||||
|
||||
@@ -107,6 +107,18 @@
|
||||
price: 2
|
||||
icon: /Textures/Objects/Weapons/Guns/Ammunition/SpeedLoaders/Magnum/magnum_sl.rsi/icon.png
|
||||
|
||||
#Utility
|
||||
|
||||
- type: uplinkListing
|
||||
id: UplinkHoloparaKit
|
||||
category: Utility
|
||||
itemId: BoxHoloparasite
|
||||
listingName: Holoparasite Kit
|
||||
description: The pride and joy of Cybersun. Contains an injector that hosts a sentient metaphysical guardian made of hard light which resides in the user's body when not active. The guardian can punch rapidly and is immune to hazardous environments and bullets, but shares any damage it takes with the user.
|
||||
icon: /Textures/Objects/Misc/guardian_info.rsi/icon.png
|
||||
price: 16
|
||||
|
||||
|
||||
# Bundles
|
||||
|
||||
- type: uplinkListing
|
||||
@@ -209,6 +221,8 @@
|
||||
id: UplinkDecoyDisk
|
||||
category: Misc
|
||||
itemId: NukeDiskFake
|
||||
listingName: Decoy nuclear disk
|
||||
description: A piece of plastic with a lenticular printing, made to look like a nuclear auth disk.
|
||||
price: 1
|
||||
|
||||
- type: uplinkListing
|
||||
@@ -235,16 +249,14 @@
|
||||
itemId: lanternextrabright
|
||||
price: 2
|
||||
|
||||
# Pointless
|
||||
|
||||
- type: uplinkListing
|
||||
id: UplinkCostumeCentcom
|
||||
category: Pointless
|
||||
category: Misc
|
||||
itemId: ClothingBackpackDuffelSyndicateCostumeCentcom
|
||||
price: 4
|
||||
|
||||
- type: uplinkListing
|
||||
id: UplinkCostumeClown
|
||||
category: Pointless
|
||||
category: Misc
|
||||
itemId: ClothingBackpackDuffelSyndicateCostumeClown
|
||||
price: 4
|
||||
|
||||
@@ -239,3 +239,25 @@
|
||||
sprite: Clothing/Head/Soft/yellowsoft_flipped.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/yellowsoft_flipped.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatBizarreSoft
|
||||
name: troublemaker's soft
|
||||
description: A truly.. bizarre accessory.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Soft/bizarresoft.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/bizarresoft.rsi
|
||||
|
||||
- type: entity
|
||||
parent: ClothingHeadBase
|
||||
id: ClothingHeadHatBizarreSoftFlipped
|
||||
name: troublemaker's soft flipped
|
||||
description: A truly.. bizarre accessory, flipped.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Clothing/Head/Soft/bizarresoft_flipped.rsi
|
||||
- type: Clothing
|
||||
sprite: Clothing/Head/Soft/bizarresoft_flipped.rsi
|
||||
|
||||
73
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Normal file
73
Resources/Prototypes/Entities/Mobs/Player/guardian.yml
Normal file
@@ -0,0 +1,73 @@
|
||||
# Does not inherit from simplemob
|
||||
- type: entity
|
||||
name: Holoparasite
|
||||
id: MobHoloparasite
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
- type: GhostTakeoverAvailable
|
||||
makeSentient: true
|
||||
name: Holoparasite
|
||||
description: Listen to your owner. Don't tank damage. Punch people hard.
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: PlayerMobMover
|
||||
- type: PlayerInputMover
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed : 7
|
||||
baseSprintSpeed : 7
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
path: /Audio/Effects/hit_kick.ogg
|
||||
# TODO: Randomise sprites and randomise the layer color
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
- state: tech_flare
|
||||
color: "#40a7d7"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: Clickable
|
||||
- type: InteractionOutline
|
||||
- type: Physics
|
||||
bodyType: KinematicController
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeCircle
|
||||
radius: 0.35
|
||||
mass: 10
|
||||
mask:
|
||||
- Impassable
|
||||
- SmallImpassable
|
||||
- MobImpassable
|
||||
layer:
|
||||
- Opaque
|
||||
- type: Damageable
|
||||
damageContainer: Biological
|
||||
- type: MobState
|
||||
thresholds:
|
||||
0: !type:NormalMobState {}
|
||||
- type: HeatResistance
|
||||
- type: CombatMode
|
||||
- type: Internals
|
||||
- type: Examiner
|
||||
- type: Speech
|
||||
- type: Pullable
|
||||
- type: UnarmedCombat
|
||||
range: 2
|
||||
arcwidth: 30
|
||||
arc: fist
|
||||
cooldownTime: 0.7
|
||||
arcCooldownTime: 0.7
|
||||
damage:
|
||||
types:
|
||||
Blunt: 40
|
||||
- type: Actions
|
||||
innateActions:
|
||||
- CombatMode
|
||||
- type: Guardian
|
||||
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
name: holoparasite injector
|
||||
id: HoloparasiteInjector
|
||||
parent: BaseItem
|
||||
description: A complex artwork of handheld machinery allowing the user to host a holoparasite guardian.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Medical/hypospray.rsi
|
||||
state: combat_hypo
|
||||
netsync: false
|
||||
- type: GuardianCreator
|
||||
guardianProto: MobHoloparasite
|
||||
|
||||
- type: entity
|
||||
name: holoparasite box
|
||||
parent: BoxBase
|
||||
id: BoxHoloparasite
|
||||
description: A box containing a holoparasite injector
|
||||
components:
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: HoloparasiteInjector
|
||||
- id: HoloparasiteInfo
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: box
|
||||
Reference in New Issue
Block a user