Adds slippery items (#1321)
* Start work on Slippery Component * Slips work * Add banana peel * Add required slip speed * Add slip sound * Adds soap * Make soapnt, soapsyndie and soapdeluxe inherit soap * Adds homemade soap and omega soap * Fix slipping not taking into account the entity being in a container
This commit is contained in:
committed by
GitHub
parent
8938d96402
commit
626c8c51a1
@@ -3027,3 +3027,21 @@
|
||||
sprite: Objects/Consumable/Food/milkape.rsi
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Food/milkape.rsi
|
||||
|
||||
- type: entity
|
||||
name: banana
|
||||
parent: FoodBase
|
||||
id: FoodBanana
|
||||
description: Rich in potassium.
|
||||
components:
|
||||
- type: Food
|
||||
trash: TrashBananaPeel
|
||||
- type: Solution
|
||||
contents:
|
||||
reagents:
|
||||
- ReagentId: chem.Nutriment
|
||||
Quantity: 6
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/banana.rsi
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Food/banana.rsi
|
||||
|
||||
@@ -200,3 +200,16 @@
|
||||
sprite: Objects/Consumable/Trash/waffles.rsi
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Trash/waffles.rsi
|
||||
|
||||
- type: entity
|
||||
name: banana peel
|
||||
parent: TrashBase
|
||||
id: TrashBananaPeel
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Consumable/Food/banana.rsi
|
||||
state: peel
|
||||
- type: Icon
|
||||
sprite: Objects/Consumable/Food/banana.rsi
|
||||
state: peel
|
||||
- type: Slippery
|
||||
|
||||
@@ -104,3 +104,92 @@
|
||||
- type: Item
|
||||
sprite: Objects/Specific/Janitorial/wet_floor_sign.rsi
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
id: Soap
|
||||
parent: BaseItem
|
||||
description: A cheap bar of soap. Doesn't smell.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
state: soap
|
||||
|
||||
- type: Icon
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
state: soap
|
||||
|
||||
- type: Item
|
||||
sprite: Objects/Specific/Janitorial/soap.rsi
|
||||
|
||||
- type: Slippery
|
||||
paralyzeTime: 2.5
|
||||
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
id: SoapNT
|
||||
parent: Soap
|
||||
description: A Nanotrasen brand bar of soap. Smells of phoron.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: soapnt
|
||||
|
||||
- type: Icon
|
||||
state: soapnt
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
id: SoapDeluxe
|
||||
parent: Soap
|
||||
description: A deluxe Waffle Co. brand bar of soap. Smells of condoms.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: soapdeluxe
|
||||
|
||||
- type: Icon
|
||||
state: soapdeluxe
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
id: SoapSyndie
|
||||
parent: Soap
|
||||
description: An untrustworthy bar of soap. Smells of fear.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: soapsyndie
|
||||
|
||||
- type: Icon
|
||||
state: soapsyndie
|
||||
|
||||
- type: Slippery
|
||||
paralyzeTime: 5
|
||||
|
||||
- type: entity
|
||||
name: soap
|
||||
id: SoapHomemade
|
||||
parent: Soap
|
||||
description: A homemade bar of soap. Smells of... well....
|
||||
components:
|
||||
- type: Sprite
|
||||
state: soapgibs
|
||||
|
||||
- type: Icon
|
||||
state: soapgibs
|
||||
|
||||
- type: Slippery
|
||||
paralyzeTime: 2
|
||||
|
||||
- type: entity
|
||||
name: omega soap
|
||||
id: SoapOmega
|
||||
parent: Soap
|
||||
description: The most advanced soap known to mankind. Smells of bluespace.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: soapomega
|
||||
|
||||
- type: Icon
|
||||
state: soapomega
|
||||
|
||||
- type: Slippery
|
||||
paralyzeTime: 7
|
||||
|
||||
Reference in New Issue
Block a user