-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* disable rock formations * adds a bunch of new flora decals for procgen * disable junk loot spawners in procgen * adds two new logs to procgen that can be gathered for timber and planks. One is a stash.
- Loading branch information
Showing
28 changed files
with
463 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
- type: decal | ||
id: FloraBranch1 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: branch | ||
|
||
- type: decal | ||
id: FloraBranchBroken | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: branch_broken | ||
|
||
- type: decal | ||
id: FloraBranchBrushwood | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: brushwood | ||
|
||
- type: decal | ||
id: FloraBranchBrushwoodAlt | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: brushwood_alt | ||
|
||
- type: decal | ||
id: FloraTallGrass1 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_1 | ||
|
||
- type: decal | ||
id: FloraTallGrass2 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_2 | ||
|
||
- type: decal | ||
id: FloraTallGrass3 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_3 | ||
|
||
- type: decal | ||
id: FloraTallGrass4 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_4 | ||
|
||
- type: decal | ||
id: FloraTallGrass5 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_5 | ||
|
||
- type: decal | ||
id: FloraTallGrass6 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_6 | ||
|
||
- type: decal | ||
id: FloraTallGrass7 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_7 | ||
|
||
- type: decal | ||
id: FloraTallGrass8 | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tall_grass_8 | ||
|
||
- type: decal | ||
id: FloraDeadBroc | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: broc-dead | ||
|
||
- type: decal | ||
id: FloraDeadXander | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: xander-dead | ||
|
||
- type: decal | ||
id: FloraDeadMutfruit | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: mutfruit-dead | ||
|
||
- type: decal | ||
id: FloraDeadFerocactus | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: ferocactus-dead | ||
|
||
- type: decal | ||
id: FloraDeadAgave | ||
tags: ["flora"] | ||
snapCardinals: true | ||
sprite: | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: agave-dead |
118 changes: 118 additions & 0 deletions
118
Resources/Prototypes/Nuclear14/Entities/Objects/Decoration/flora.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
- type: entity | ||
id: N14FloraLog1 | ||
name: log | ||
description: Once a tree, always a log. | ||
components: | ||
- type: Clickable | ||
- type: InteractionOutline | ||
- type: Sprite | ||
noRot: true | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tree_log | ||
drawdepth: Overdoors | ||
- type: Physics | ||
bodyType: Static | ||
- type: Fixtures | ||
fixtures: | ||
fix1: | ||
shape: | ||
!type:PhysShapeAabb | ||
bounds: "-0.35,-0.4,0.35,0.4" | ||
density: 100 | ||
layer: | ||
- WallLayer | ||
- type: Damageable | ||
damageContainer: Inorganic | ||
damageModifierSet: Wood | ||
- type: MeleeSound | ||
soundGroups: | ||
Brute: | ||
path: /Audio/Effects/chop.ogg | ||
params: | ||
variation: 0.05 | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 100 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 50 | ||
behaviors: | ||
- !type:PlaySoundBehavior | ||
sound: | ||
path: /Audio/Effects/tree_fell.ogg | ||
params: | ||
volume: 5 | ||
variation: 0.05 | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
N14FloraTimber: | ||
min: 1 | ||
max: 1 | ||
- type: SoundOnGather | ||
- type: Gatherable | ||
whitelist: | ||
tags: | ||
- Axe | ||
- BotanyHatchet | ||
- type: OreVein | ||
oreChance: 1.0 | ||
currentOre: Timber | ||
|
||
- type: entity | ||
parent: N14FloraLog1 | ||
id: N14FloraTimber | ||
components: | ||
- type: Sprite | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: tree_timber | ||
- type: SoundOnGather | ||
- type: Gatherable | ||
whitelist: | ||
tags: | ||
- Saw | ||
- type: OreVein | ||
oreChance: 1.0 | ||
currentOre: WoodPlank | ||
- type: Destructible | ||
thresholds: | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 100 | ||
behaviors: | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- trigger: | ||
!type:DamageTrigger | ||
damage: 50 | ||
behaviors: | ||
- !type:PlaySoundBehavior | ||
sound: | ||
path: /Audio/Effects/tree_fell.ogg | ||
params: | ||
volume: 5 | ||
variation: 0.05 | ||
- !type:DoActsBehavior | ||
acts: [ "Destruction" ] | ||
- !type:SpawnEntitiesBehavior | ||
spawn: | ||
MaterialWoodPlank1: | ||
min: 1 | ||
max: 1 | ||
|
||
- type: entity | ||
parent: N14FloraLog1 | ||
id: N14FloraLog3 | ||
components: | ||
- type: Sprite | ||
sprite: Nuclear14/Structures/Decoration/flora.rsi | ||
state: timber | ||
- type: PottedPlantHide | ||
- type: SecretStash | ||
secretPartName: secret-stash-part-plant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.