Фиксы (#508)

* Fix cult blindfold

* Add stamina resistances

* Energy bolt is energy

* Laser shield is anti-laser

* Cult blindfold welding protection

* Eject id cards on deconstruct

* Wires panel power fix

* Add markings for species

* Ebow gaming
This commit is contained in:
Aviu00
2023-10-23 21:05:35 +09:00
committed by Aviu00
parent d636e6ca17
commit 13c6888eeb
4 changed files with 27 additions and 5 deletions

View File

@@ -24,8 +24,6 @@ internal sealed class ActivatableUIRequiresPowerSystem : EntitySystem
{ {
if (args.Cancelled) return; if (args.Cancelled) return;
if (this.IsPowered(uid, EntityManager)) return; if (this.IsPowered(uid, EntityManager)) return;
if (TryComp<WiresPanelComponent>(uid, out var panel) && panel.Open)
return;
_popup.PopupCursor(Loc.GetString("base-computer-ui-component-not-powered", ("machine", uid)), args.User); _popup.PopupCursor(Loc.GetString("base-computer-ui-component-not-powered", ("machine", uid)), args.User);
args.Cancel(); args.Cancel();
} }

View File

@@ -89,6 +89,10 @@
Heat: 0.7 Heat: 0.7
flatReductions: flatReductions:
Heat: 2 Heat: 2
- type: Reflect
reflectProb: 0.25
reflects:
- Energy
- type: entity - type: entity
name: riot bullet shield name: riot bullet shield

View File

@@ -14,7 +14,22 @@
damage: damage:
types: types:
Poison: 15 Poison: 15
- type: Reflective
reflective:
- Energy
- type: Fixtures
fixtures:
projectile:
shape:
!type:PhysShapeAabb
bounds: "-0.1,-0.2,0.1,0.2"
hard: false
mask:
- Opaque
- type: StunOnCollide - type: StunOnCollide
stunAmount: 2 stunAmount: 1
knockdownAmount: 2 knockdownAmount: 1
slowdownAmount: 3
walkSpeedModifier: 0.6
runSpeedModifier: 0.4

View File

@@ -1,4 +1,4 @@
- type: constructionGraph - type: constructionGraph
id: Computer id: Computer
start: start start: start
graph: graph:
@@ -126,6 +126,11 @@
- !type:AllWiresCut {} - !type:AllWiresCut {}
steps: steps:
- tool: Screwing - tool: Screwing
completed:
- !type:EmptyContainer
container: IdCardConsole-privilegedId
- !type:EmptyContainer
container: IdCardConsole-targetId
- node: monitorBroken - node: monitorBroken
entity: ComputerBroken entity: ComputerBroken