Adds Bananium (#14663)
This commit is contained in:
@@ -866,6 +866,7 @@
|
||||
- type: DiseaseCarrier #The other class lab animal and disease vector
|
||||
naturalImmunities:
|
||||
- AMIV
|
||||
- ActiveHonkVirus
|
||||
- type: CanEscapeInventory
|
||||
- type: MobPrice
|
||||
price: 50
|
||||
|
||||
@@ -117,6 +117,8 @@
|
||||
- id: ClothingHeadHatFancyCrown #how did that get there?
|
||||
amount: 1
|
||||
- type: DiseaseCarrier
|
||||
naturalImmunities:
|
||||
- ActiveHonkVirus
|
||||
carrierDiseases:
|
||||
- VentCough
|
||||
- AMIV
|
||||
@@ -267,6 +269,8 @@
|
||||
- id: FoodMeatRat
|
||||
amount: 1
|
||||
- type: DiseaseCarrier
|
||||
naturalImmunities:
|
||||
- ActiveHonkVirus
|
||||
carrierDiseases:
|
||||
- VentCough
|
||||
- AMIV
|
||||
|
||||
@@ -216,6 +216,21 @@
|
||||
grindableSolutionName: food
|
||||
- type: SpaceGarbage
|
||||
|
||||
- type: entity
|
||||
name: bananium peel
|
||||
parent: TrashBananaPeel
|
||||
id: TrashBananiumPeel
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Materials/materials.rsi
|
||||
state: peel
|
||||
- type: Item
|
||||
sprite: Objects/Materials/materials.rsi
|
||||
heldPrefix: peel
|
||||
- type: Slippery
|
||||
paralyzeTime: 4
|
||||
launchForwardsMultiplier: 5
|
||||
|
||||
- type: entity
|
||||
name: banana peel
|
||||
suffix: Explosive
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
parent: BikeHorn
|
||||
id: GoldenBikeHorn
|
||||
name: golden honker
|
||||
suffix: not to be mapped.
|
||||
suffix: No mapping
|
||||
description: A happy honk prize, pray to the gods for your reward.
|
||||
components:
|
||||
- type: Sprite
|
||||
@@ -100,3 +100,28 @@
|
||||
- type: Prayable
|
||||
- type: StaticPrice
|
||||
price: 1000
|
||||
|
||||
- type: entity
|
||||
parent: BikeHorn
|
||||
id: BananiumHorn
|
||||
name: bananium horn
|
||||
description: An air horn made from bananium.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/bananiumhorn.rsi
|
||||
state: icon
|
||||
- type: Item
|
||||
sprite: Objects/Fun/bananiumhorn.rsi
|
||||
size: 5
|
||||
- type: Clothing
|
||||
sprite: Objects/Fun/bananiumhorn.rsi
|
||||
slots: [Belt]
|
||||
quickEquip: false
|
||||
- type: EmitSoundOnUse
|
||||
sound:
|
||||
collection: BananiumHorn
|
||||
params:
|
||||
variation: 0.246
|
||||
- type: Construction
|
||||
graph: BananiumHorn
|
||||
node: bananiumHorn
|
||||
|
||||
@@ -276,3 +276,59 @@
|
||||
state: cotton
|
||||
- type: Stack
|
||||
count: 1
|
||||
|
||||
- type: entity
|
||||
parent: MaterialBase
|
||||
id: MaterialBananium
|
||||
name: bananium
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Material
|
||||
materials:
|
||||
Bananium: 150
|
||||
- type: Sprite
|
||||
state: bananium_1
|
||||
- type: Stack
|
||||
stackType: Bananium
|
||||
count: 10
|
||||
- type: RadiationSource
|
||||
intensity: 0.3
|
||||
- type: FlavorProfile
|
||||
flavors:
|
||||
- banana
|
||||
- type: Food
|
||||
trash: TrashBananiumPeel
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
food:
|
||||
maxVol: 11
|
||||
reagents:
|
||||
- ReagentId: Nutriment
|
||||
Quantity: 4
|
||||
- ReagentId: Vitamin
|
||||
Quantity: 2
|
||||
- ReagentId: Honk
|
||||
Quantity: 5
|
||||
- type: Extractable
|
||||
juiceSolution:
|
||||
reagents:
|
||||
- ReagentId: JuiceBanana
|
||||
Quantity: 5
|
||||
- ReagentId: Honk
|
||||
Quantity: 5
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: StackVisualizer
|
||||
stackLayers:
|
||||
- bananium
|
||||
- bananium_1
|
||||
|
||||
- type: entity
|
||||
parent: MaterialBananium
|
||||
id: MaterialBananium1
|
||||
suffix: Single
|
||||
components:
|
||||
- type: Sprite
|
||||
state: bananium
|
||||
- type: Stack
|
||||
count: 1
|
||||
|
||||
@@ -172,3 +172,26 @@
|
||||
components:
|
||||
- type: Stack
|
||||
count: 1
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: OreBase
|
||||
id: BananiumOre
|
||||
name: bananium ore
|
||||
suffix: Full
|
||||
components:
|
||||
- type: Stack
|
||||
stackType: BananiumOre
|
||||
- type: Sprite
|
||||
state: bananium
|
||||
- type: Material
|
||||
materials:
|
||||
Bananium: 500
|
||||
|
||||
- type: entity
|
||||
parent: BananiumOre
|
||||
id: BananiumOre1
|
||||
suffix: Single
|
||||
components:
|
||||
- type: Stack
|
||||
count: 1
|
||||
|
||||
@@ -67,3 +67,12 @@
|
||||
- type: HealthAnalyzer
|
||||
fake: true
|
||||
disease: ActiveZombieVirus
|
||||
|
||||
- type: entity
|
||||
parent: HandheldHealthAnalyzer
|
||||
id: HandheldHealthAnalyzerHonk
|
||||
suffix: Honk Infector
|
||||
components:
|
||||
- type: HealthAnalyzer
|
||||
fake: true
|
||||
disease: ActiveHonkVirus
|
||||
|
||||
@@ -23,3 +23,19 @@
|
||||
state: venus_blue
|
||||
drawdepth: Mobs
|
||||
offset: "0.0,0.5"
|
||||
|
||||
- type: entity
|
||||
id: StatueBananiumClown
|
||||
parent: BaseStructure
|
||||
name: bananium savior statue
|
||||
description: A bananium statue. It portrays the return of the savior who will rise up and lead the clowns to the great honk.
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Decoration/statues.rsi
|
||||
state: bananium_clown
|
||||
drawdepth: Mobs
|
||||
offset: "0.0,0.5"
|
||||
- type: Construction
|
||||
graph: BananiumStatueClown
|
||||
node: bananiumStatue
|
||||
|
||||
@@ -187,3 +187,24 @@
|
||||
graph: DoorGraph
|
||||
node: silverDoor
|
||||
|
||||
- type: entity
|
||||
id: BananiumDoor
|
||||
name: bananium door
|
||||
parent: BaseMaterialDoor
|
||||
description: A door, where will it lead?
|
||||
components:
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Doors/MineralDoors/bananium_door.rsi
|
||||
layers:
|
||||
- state: closed
|
||||
map: ["enum.DoorVisualLayers.Base"]
|
||||
- type: Construction
|
||||
graph: DoorGraph
|
||||
node: bananiumDoor
|
||||
- type: Door
|
||||
openSound:
|
||||
path: /Audio/Items/bikehorn.ogg
|
||||
closeSound:
|
||||
path: /Audio/Items/bikehorn.ogg
|
||||
|
||||
|
||||
@@ -403,3 +403,17 @@
|
||||
sprite: Structures/Furniture/Altars/Cults/fangs.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Furniture/Altars/Cults/fangs.rsi
|
||||
|
||||
|
||||
- type: entity
|
||||
id: AltarBananium
|
||||
parent: AltarBase
|
||||
name: honkmother altar
|
||||
description: A bananium altar dedicated to the honkmother.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Structures/Furniture/Altars/Cults/bananium.rsi
|
||||
state: full
|
||||
- type: Construction
|
||||
graph: BananiumAltarGraph
|
||||
node: bananiumAltar
|
||||
|
||||
@@ -656,3 +656,4 @@
|
||||
- SheetUranium1
|
||||
- IngotGold1
|
||||
- IngotSilver1
|
||||
- MaterialBananium1
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
- type: entity
|
||||
id: WallRockGold
|
||||
parent: WallRock
|
||||
description: An ore vein rich with gold
|
||||
description: An ore vein rich with gold.
|
||||
suffix: Gold
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -135,7 +135,7 @@
|
||||
- type: entity
|
||||
id: WallRockPlasma
|
||||
parent: WallRock
|
||||
description: An ore vein rich with plasma
|
||||
description: An ore vein rich with plasma.
|
||||
suffix: Plasma
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -157,7 +157,7 @@
|
||||
- type: entity
|
||||
id: WallRockQuartz
|
||||
parent: WallRock
|
||||
description: An ore vein rich with quartz
|
||||
description: An ore vein rich with quartz.
|
||||
suffix: Quartz
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -179,7 +179,7 @@
|
||||
- type: entity
|
||||
id: WallRockSilver
|
||||
parent: WallRock
|
||||
description: An ore vein rich with silver
|
||||
description: An ore vein rich with silver.
|
||||
suffix: Silver
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -202,7 +202,7 @@
|
||||
- type: entity
|
||||
id: WallRockTin
|
||||
parent: WallRock
|
||||
description: An ore vein rich with steel
|
||||
description: An ore vein rich with steel.
|
||||
suffix: Steel
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -224,7 +224,7 @@
|
||||
- type: entity
|
||||
id: WallRockUranium
|
||||
parent: WallRock
|
||||
description: An ore vein rich with uranium
|
||||
description: An ore vein rich with uranium.
|
||||
suffix: Uranium
|
||||
components:
|
||||
- type: OreVein
|
||||
@@ -242,3 +242,26 @@
|
||||
- map: [ "enum.EdgeLayer.West" ]
|
||||
state: rock_west
|
||||
- state: rock_uranium
|
||||
|
||||
|
||||
- type: entity
|
||||
id: WallRockBananium
|
||||
parent: WallRock
|
||||
description: An ore vein rich with bananium.
|
||||
suffix: Bananium
|
||||
components:
|
||||
- type: OreVein
|
||||
oreChance: 1.0
|
||||
currentOre: OreBananium
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: rock
|
||||
- map: [ "enum.EdgeLayer.South" ]
|
||||
state: rock_south
|
||||
- map: [ "enum.EdgeLayer.East" ]
|
||||
state: rock_east
|
||||
- map: [ "enum.EdgeLayer.North" ]
|
||||
state: rock_north
|
||||
- map: [ "enum.EdgeLayer.West" ]
|
||||
state: rock_west
|
||||
- state: rock_bananium
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
- type: entity
|
||||
parent: BaseWall
|
||||
id: WallClown
|
||||
name: clown wall
|
||||
name: bananium wall
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
@@ -124,6 +124,9 @@
|
||||
sprite: Structures/Walls/clown.rsi
|
||||
- type: Icon
|
||||
sprite: Structures/Walls/clown.rsi
|
||||
- type: Construction
|
||||
graph: Girder
|
||||
node: bananiumWall
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
|
||||
68
Resources/Prototypes/Entities/Tiles/bananium.yml
Normal file
68
Resources/Prototypes/Entities/Tiles/bananium.yml
Normal file
@@ -0,0 +1,68 @@
|
||||
- type: entity
|
||||
id: FloorBananiumEntity
|
||||
name: bananium floor
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
- type: Clickable
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Tiles/Misc/bananium.rsi
|
||||
drawdepth: FloorTiles
|
||||
layers:
|
||||
- state: bananium
|
||||
- type: Transform
|
||||
anchored: true
|
||||
- type: FootstepModifier
|
||||
footstepSoundCollection:
|
||||
collection: FootstepClown
|
||||
- type: Tag
|
||||
tags:
|
||||
- Catwalk
|
||||
- type: Construction
|
||||
graph: FloorBananium
|
||||
node: BananiumFloor
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 500
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 200
|
||||
behaviors:
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
MaterialBananium:
|
||||
min: 0
|
||||
max: 1
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
- type: Slippery
|
||||
paralyzeTime: 2
|
||||
launchForwardsMultiplier: 1.5
|
||||
- type: StepTrigger
|
||||
intersectRatio: 0.2
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.3,0.4,0.3"
|
||||
id: "slips"
|
||||
hard: false
|
||||
layer:
|
||||
- SlipLayer
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.3,0.4,0.3"
|
||||
density: 1000
|
||||
mask:
|
||||
- ItemMask
|
||||
Reference in New Issue
Block a user