Push horn (#36009)
* Empty commit * epic super duper cool fr push horn draft * whoops turns out theres a system that does that thingi already x.x * bunch of like fixis and generalization * general progress * most stuffies done * last thingi hopefully * small fixies, mostly preventing bypassing the delay by spamming * rename to fit better * rename for real i forgor to add * weird fixie but last commit didn workie * oki shold be fine now * lastish cleanup * fixies * missed a space * removed unnecessary component check * getting the typos out of the way first * moved the component to shared * rest of fixies
This commit is contained in:
19
Resources/Prototypes/Entities/Effects/gravity_pulse.yml
Normal file
19
Resources/Prototypes/Entities/Effects/gravity_pulse.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
- type: entity
|
||||
id: EffectGravityPulse
|
||||
categories: [ HideSpawnMenu ]
|
||||
components:
|
||||
- type: TimedDespawn
|
||||
lifetime: 0.32
|
||||
- type: Sprite
|
||||
drawdepth: Effects
|
||||
noRot: true
|
||||
layers:
|
||||
- shader: unshaded
|
||||
map: ["enum.EffectLayers.Unshaded"]
|
||||
sprite: Effects/gravityPulse.rsi
|
||||
state: gravityPulse
|
||||
- type: EffectVisuals
|
||||
- type: Tag
|
||||
tags:
|
||||
- HideContextMenu
|
||||
- type: AnimationPlayer
|
||||
@@ -196,3 +196,37 @@
|
||||
- type: Construction
|
||||
graph: BananiumHorn
|
||||
node: bananiumHorn
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: PushHorn
|
||||
name: push horn
|
||||
description: This powerful bikehorn is sure to blast frowns away.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/push_horn.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
sprite: Objects/Fun/push_horn.rsi
|
||||
size: Tiny
|
||||
- type: Clothing
|
||||
sprite: Objects/Fun/push_horn.rsi
|
||||
slots: [Belt]
|
||||
quickEquip: false
|
||||
- type: EmitSoundOnUse
|
||||
handle: false
|
||||
sound: "/Audio/Items/Toys/pushHornHonk.ogg"
|
||||
- type: EmitSoundOnLand
|
||||
sound: "/Audio/Items/Toys/pushHornFloor.ogg"
|
||||
- type: UseDelay
|
||||
delay: 6
|
||||
- type: TriggerOnUse
|
||||
- type: RepulseAttractOnTrigger
|
||||
speed: 50
|
||||
range: 2
|
||||
whitelist:
|
||||
components:
|
||||
- MobMover
|
||||
- Item
|
||||
- type: SpawnOnTrigger
|
||||
proto: EffectGravityPulse
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
id: Instruments
|
||||
recipes:
|
||||
- SynthesizerInstrument
|
||||
- PushHorn
|
||||
|
||||
- type: latheRecipePack
|
||||
id: ServiceBoards
|
||||
|
||||
@@ -105,6 +105,15 @@
|
||||
Plastic: 300
|
||||
Glass: 100
|
||||
|
||||
- type: latheRecipe
|
||||
id: PushHorn
|
||||
result: PushHorn
|
||||
completetime: 5
|
||||
materials:
|
||||
Steel: 500
|
||||
Plastic: 500
|
||||
Plasma: 200
|
||||
|
||||
- type: latheRecipe
|
||||
parent: BaseToolRecipe
|
||||
id: NodeScanner
|
||||
|
||||
@@ -188,6 +188,18 @@
|
||||
recipeUnlocks:
|
||||
- CargoTelepadMachineCircuitboard
|
||||
|
||||
- type: technology
|
||||
id: PushHorn
|
||||
name: research-technology-clowning-utilities
|
||||
icon:
|
||||
sprite: Objects/Fun/push_horn.rsi
|
||||
state: icon
|
||||
discipline: CivilianServices
|
||||
tier: 2
|
||||
cost: 4000
|
||||
recipeUnlocks:
|
||||
- PushHorn
|
||||
|
||||
# Tier 3
|
||||
|
||||
- type: technology
|
||||
|
||||
Reference in New Issue
Block a user