Skip to content

Commit

Permalink
resin door (#583)
Browse files Browse the repository at this point in the history
* textures

* xeno access and resin door

* flamethrower buff

* resin sound

* fix
  • Loading branch information
nomad0260 authored Apr 28, 2024
1 parent 95195e8 commit 9f5e17d
Show file tree
Hide file tree
Showing 11 changed files with 195 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
92 changes: 91 additions & 1 deletion Resources/Prototypes/Backmen/Entities/Mobs/NPC/TGMC_xeno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@
reagents:
- ReagentId: Water
Quantity: 10
- type: Access
tags:
- Xeno

- type: accessLevel
id: Xeno
name: Xeno

- type: damageModifierSet
id: Xenolian
Expand Down Expand Up @@ -1613,6 +1620,75 @@
- FullTileMask
layer:
- WallLayer
- type: Temperature
heatDamage:
types:
Heat: 5
coldDamage: {}
coldDamageThreshold: 0
- type: Flammable
fireSpread: true #If you walk into incredibly dense, flaming vines, you can expect to burn.
damage:
types:
Heat: 3
- type: Reactive
groups:
Flammable: [Touch]
Extinguish: [Touch]
- type: FireVisuals
sprite: Effects/fire.rsi
normalState: 1

- type: entity
id: XenoDoor
name: resin door
parent: BaseMaterialDoor
description: Its a door? Idk, but its like a huge... Yes this is door.
components:
- type: Sprite
sprite: Backmen/test/base/rsi/Textures/Structures/xeno/xenodoor.rsi
layers:
- state: closed
map: ["enum.DoorVisualLayers.Base"]
- type: Door
bumpOpen: true
clickOpen: true
canCrush: false
canPry: false
closeTimeOne: 0.4
closeTimeTwo: 0.4
openTimeOne: 0.4
openTimeTwo: 0.4
openSound:
path: /Audio/Backmen/Effects/Xeno/alien_resin_move1.ogg
closeSound:
path: /Audio/Backmen/Effects/Xeno/alien_resin_move2.ogg
- type: AccessReader
access: [ [ "Xeno" ] ]
- type: Damageable
damageContainer: Inorganic
damageModifierSet: XenoSlimeModifier
- type: IconSmooth
key: xenowalls
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Temperature
heatDamage:
types:
Heat: 5
coldDamage: {}
coldDamageThreshold: 0
- type: Flammable
fireSpread: true #If you walk into incredibly dense, flaming vines, you can expect to burn.
damage:
types:
Heat: 3

- type: damageModifierSet
id: XenoSlimeModifier
Expand Down Expand Up @@ -1641,14 +1717,28 @@
- type: RCD
availablePrototypes:
- XenoWall
- XenoDoor
successSound: /Audio/Backmen/Effects/Xeno/alien_resin_build2.ogg

- type: rcd
id: XenoDoor
category: Airlocks
sprite: /Textures/Interface/Radial/RCD/airlock.png
mode: ConstructObject
prototype: XenoDoor
cost: 8
delay: 3
collisionMask: FullTileMask
rotation: Camera
fx: EffectRCDConstruct4

- type: rcd
id: XenoWall
category: WallsAndFlooring
sprite: /Textures/Interface/Radial/RCD/solid_wall.png
mode: ConstructObject
prototype: XenoWall
cost: 2
cost: 4
delay: 1
collisionMask: FullTileMask
rotation: Fixed
Expand Down
5 changes: 3 additions & 2 deletions Resources/Prototypes/Backmen/Entities/Weapons/Guns/guns64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3755,11 +3755,12 @@
density: 7
shape:
!type:PhysShapeAabb
bounds: "-0.2,-0.2,0.2,0.2"
bounds: "-0.4,-0.4,0.4,0.4"
layer:
- MidImpassable
mask:
- BlobImpassable
- MidImpassable
- type: PointLight
enabled: true
color: "#FF8080"
Expand All @@ -3774,7 +3775,7 @@
- type: ThrowingAngle
angle: 0
- type: IgniteOnCollide
fireStacks: 0.3
fireStacks: 1
count: 100
fixtureId: fire
- type: IgnitionSource
Expand Down
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "closing",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
]
]
},
{
"name": "open",
"directions": 4
},
{
"name": "opening",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
],
[
0.2,
0.2,
0.1,
0.1,
0.1,
0.2,
0.2
]
]
},
{
"name": "closed",
"directions": 4
}
]
}
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.

0 comments on commit 9f5e17d

Please sign in to comment.