Monkey can wear breath mask and smoke a blunt (#14612)

This commit is contained in:
brainfood1183
2023-03-25 22:59:48 +00:00
committed by GitHub
parent 7c21494a6a
commit ba3de94c73
5 changed files with 17 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
using Content.Server.Nutrition.Components; using Content.Server.Nutrition.Components;
using Content.Shared.Nutrition.Components;
using Content.Shared.Interaction; using Content.Shared.Interaction;
using Content.Shared.Smoking; using Content.Shared.Smoking;
using Content.Shared.Temperature; using Content.Shared.Temperature;

View File

@@ -1,5 +1,6 @@
using Content.Server.Chemistry.Components.SolutionManager; using Content.Server.Chemistry.Components.SolutionManager;
using Content.Server.Nutrition.Components; using Content.Server.Nutrition.Components;
using Content.Shared.Nutrition.Components;
using Content.Shared.Containers.ItemSlots; using Content.Shared.Containers.ItemSlots;
using Content.Shared.Interaction; using Content.Shared.Interaction;
using Content.Shared.PDA; using Content.Shared.PDA;

View File

@@ -3,6 +3,7 @@ using Content.Server.Body.Components;
using Content.Server.Body.Systems; using Content.Server.Body.Systems;
using Content.Server.Chemistry.EntitySystems; using Content.Server.Chemistry.EntitySystems;
using Content.Server.Nutrition.Components; using Content.Server.Nutrition.Components;
using Content.Shared.Nutrition.Components;
using Content.Shared.Chemistry; using Content.Shared.Chemistry;
using Content.Shared.Chemistry.Reagent; using Content.Shared.Chemistry.Reagent;
using Content.Shared.Clothing.Components; using Content.Shared.Clothing.Components;

View File

@@ -1,10 +1,10 @@
using Content.Server.Nutrition.EntitySystems;
using Content.Shared.FixedPoint; using Content.Shared.FixedPoint;
using Content.Shared.Smoking; using Content.Shared.Smoking;
using Robust.Shared.GameStates;
namespace Content.Server.Nutrition.Components namespace Content.Shared.Nutrition.Components
{ {
[RegisterComponent, Access(typeof(SmokingSystem))] [RegisterComponent, NetworkedComponent]
public sealed class SmokableComponent : Component public sealed class SmokableComponent : Component
{ {
[DataField("solution")] [DataField("solution")]

View File

@@ -8,3 +8,14 @@
uiWindowPos: 0,0 uiWindowPos: 0,0
strippingWindowPos: 0,0 strippingWindowPos: 0,0
displayName: Head displayName: Head
- name: mask
slotTexture: mask
slotFlags: MASK
uiWindowPos: 1,1
strippingWindowPos: 1,1
displayName: Mask
whitelist:
tags:
- PetWearable
components:
- Smokable