From 1b44da19ae4a5777cad5c08cc4ce769de6a78e65 Mon Sep 17 00:00:00 2001 From: Vera Aguilera Puerto Date: Thu, 30 Sep 2021 14:12:14 +0200 Subject: [PATCH] Fix drinking glasses not breaking when thrown. Related: #4665 This is not a proper fix, this just makes it ignore resistances for now, when being damaged. --- Resources/Changelog/Parts/glass.txt | 4 ++++ Resources/Prototypes/Entities/Objects/Consumable/drinks.yml | 1 + 2 files changed, 5 insertions(+) create mode 100644 Resources/Changelog/Parts/glass.txt diff --git a/Resources/Changelog/Parts/glass.txt b/Resources/Changelog/Parts/glass.txt new file mode 100644 index 0000000000..14e28414c9 --- /dev/null +++ b/Resources/Changelog/Parts/glass.txt @@ -0,0 +1,4 @@ +author: Zumorica +changes: + - type: Fix # One of the following: Add, Remove, Tweak, Fix + message: Fixes drinking glasses not breaking when thrown. diff --git a/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml b/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml index d0dfcfab5f..0c551f39c8 100644 --- a/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml +++ b/Resources/Prototypes/Entities/Objects/Consumable/drinks.yml @@ -50,6 +50,7 @@ - !type:DoActsBehavior acts: [ "Destruction" ] - type: DamageOnLand + ignoreResistances: true damage: types: Blunt: 5