Skip to content

Commit

Permalink
A new medical bag and medical belt crafting recipes. (#2981)
Browse files Browse the repository at this point in the history
* Belt my bag.

* Bag touch up

* Slight size buff. Maybe too much? Not sure.

* Issues addressed

* Paperwork is for chumps
  • Loading branch information
dustylens authored Mar 5, 2025
1 parent 661c930 commit ec2fa64
Show file tree
Hide file tree
Showing 9 changed files with 148 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
- type: entity
name: medical bag
id: MedicalBag
parent: BaseStorageItem
description: A medical bag designed to hold topicals and small reagent containers. For the medic on the go.
components:
- type: Sprite
sprite: _NF/Objects/Specific/Medical/medical_bag.rsi
layers:
- state: icon
- state: icon-on
visible: false
map: [ "enum.ToggleVisuals.Layer" ]
- type: Clothing
sprite: _NF/Objects/Specific/Medical/medical_bag.rsi
quickEquip: false
slots:
- belt
- type: Item
size: Ginormous
- type: Storage
maxItemSize: Normal
grid:
- 0,0,5,3
quickInsert: true
areaInsert: true
whitelist:
components:
- Pill
- Hypospray
tags:
- PillCanister
- CentrifugeCompatible
- Syringe
- Ointment
- Brutepack
- Bloodpack
- Gauze
- Bottle
- type: Dumpable
- type: MagnetPickup
magnetEnabled: false
magnetCanBeEnabled: false
# Frontier: toggle magnet from White Dream (keeping this in case it's useful as a future note)
- type: ItemToggle
soundActivate: &soundActivate
collection: sparks
params:
variation: 0.25
soundDeactivate: *soundActivate
onUse: false
onAltUse: true
onActivate: false
- type: ItemToggleExamine
on: item-toggle-examine-magnet-on
off: item-toggle-examine-magnet-off
- type: Appearance
- type: GenericVisualizer
visuals:
enum.ToggleVisuals.Toggled:
enum.ToggleVisuals.Layer:
True: { visible: True }
False: { visible: False }
# End Frontier
5 changes: 4 additions & 1 deletion Resources/Prototypes/_NF/Recipes/Lathes/Packs/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
id: NFMedicalStatic
recipes:
- VehicleWheelchairFolded
- PowerCellSmall
- ClothingOuterEVASuitMedic
- BaseChemistryEmptyVial
- BlankMediPen
- MedicalAppraisalTool
- HandheldCrewMonitor
- PowerCellSmall # For small appliances, convenience if anything
- CraftChemBag
- BeltMedicalEMT
- BeltMedical
- CraftMedicalBag

- type: latheRecipePack
id: NFMedical
Expand Down
40 changes: 40 additions & 0 deletions Resources/Prototypes/_NF/Recipes/Lathes/medical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,43 @@
Glass: 1200
Steel: 1000
Plastic: 1400

- type: latheRecipe
parent: BaseToolRecipe
id: CraftChemBag
result: ChemBag
category: Tools
completetime: 2
materials:
Cloth: 500
Steel: 500

- type: latheRecipe
parent: BaseToolRecipe
id: CraftMedicalBag
result: MedicalBag
category: Tools
completetime: 2
materials:
Cloth: 500
Steel: 500

- type: latheRecipe
parent: BaseToolRecipe
id: BeltMedicalEMT
result: ClothingBeltMedicalEMT
category: Tools
completetime: 2
materials:
Cloth: 100
Steel: 50

- type: latheRecipe
parent: BaseToolRecipe
id: BeltMedical
result: ClothingBeltMedical
category: Tools
completetime: 2
materials:
Cloth: 100
Steel: 50
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.
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.
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,40 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from ParadiseSS13/Paradise at https://github.com/ParadiseSS13/Paradise/blob/ebf9a7b5e89f5523c5e1c3d2692bf54dac322cae/icons/obj/chemical.dmi and rescaled by reapsnI, inhand sprites by lzk228(discord 455630609641897984), edited by dustylens(github)",
"copyright": "icon_on taken from sprites by @kilath",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "icon-on",
"delays": [
[
0.1,
0.1,
0.1,
0.1,
0.1,
0.1
]
]
},
{
"name": "equipped-BELT",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}

0 comments on commit ec2fa64

Please sign in to comment.