Added restrictions for what can be inserted into most belts (#4367)

* Belts now restrict what can be inserted into them

* Bandolier now only holds shotgun shells

* Tiny typo

* Another tiny typo
This commit is contained in:
Swept
2021-08-10 13:36:00 -07:00
committed by GitHub
parent b2322864e9
commit b16a044a2b
29 changed files with 560 additions and 318 deletions

View File

@@ -13,23 +13,25 @@
- type: Storage - type: Storage
capacity: 40 capacity: 40
# TODO: Fill this out more. # TODO: Fill this out more.
# whitelist: whitelist:
# tags: tags:
# - Wirecutter - Wirecutter
# - Crowbar - Crowbar
# - CrowbarRed - Screwdriver
# - Screwdriver - Flashlight
# - Flashlight - Wrench
# - Welder
# - Wrench
# - Painter # - Painter
# - GeigerCounter # - GeigerCounter
# - Flare - Flare
# - Coilsofwire - CableCoil
# - - CigPack
# - components:
# components: - SignalLinker
# - SignalLinker - RCD
- RCDAmmo
- Welder
- Radio
- PowerCell
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
cutters_red: cutters_red:
@@ -72,25 +74,31 @@
- type: Clothing - type: Clothing
sprite: Clothing/Belt/ce.rsi sprite: Clothing/Belt/ce.rsi
- type: Storage - type: Storage
capacity: 100
# TODO: Fill this out more. # TODO: Fill this out more.
# whitelist: whitelist:
# tags: tags:
# - Wirecutter - Wirecutter
# - Crowbar - Crowbar
# - CrowbarRed - Screwdriver
# - Screwdriver - Flashlight
# - Flashlight - Wrench
# - Welder
# - Wrench
# - Painter # - Painter
# - GeigerCounter # - GeigerCounter
# - Flare - Flare
# - Coilsofwire - CableCoil
# - - Powerdrill
# - - JawsOfLife
# components: - CigPack
# - SignalLinker components:
capacity: 100 - SignalLinker
- RCD
- RCDAmmo
- Welder
- Flash
- Radio
- Handcuff
- PowerCell
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
drill: drill:
@@ -142,6 +150,17 @@
sprite: Clothing/Belt/assault.rsi sprite: Clothing/Belt/assault.rsi
- type: Storage - type: Storage
capacity: 40 capacity: 40
whitelist:
tags:
- CigPack
- Taser
components:
- Stunbaton
- FlashOnTrigger
- Flash
- Handcuff
- RangedMagazine
- Ammo
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
flashbang: flashbang:
@@ -169,6 +188,14 @@
sprite: Clothing/Belt/janitor.rsi sprite: Clothing/Belt/janitor.rsi
- type: Storage - type: Storage
capacity: 40 capacity: 40
whitelist:
tags:
- Wrench
- Bottle
- Spray
- Soap
- Flashlight
- CigPack
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
bottle: bottle:
@@ -179,6 +206,10 @@
whitelist: whitelist:
tags: tags:
- Spray - Spray
wrench:
whitelist:
tags:
- Wrench
- type: Appearance - type: Appearance
visuals: visuals:
- type: MappedItemVisualizer - type: MappedItemVisualizer
@@ -196,6 +227,20 @@
sprite: Clothing/Belt/medical.rsi sprite: Clothing/Belt/medical.rsi
- type: Storage - type: Storage
capacity: 40 capacity: 40
whitelist:
tags:
- Wrench
- Bottle
- Spray
- Brutepack
- Gauze
- Ointment
- CigPack
components:
- Hypospray
- Pill
- SurgeryTool
- Radio
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
bottle: bottle:
@@ -242,27 +287,29 @@
- type: Clothing - type: Clothing
sprite: Clothing/Belt/plant.rsi sprite: Clothing/Belt/plant.rsi
- type: Storage - type: Storage
# whitelist:
# tags:
# - BotanyHoe
# - PlantAnalyzer
# - BotanyHoe
# - BotanyShovel
# - PlantBGone
# - Bottle
# components:
# - Seed
capacity: 40 capacity: 40
whitelist:
tags:
- BotanyHoe
# - PlantAnalyzer
- BotanyHoe
- BotanyShovel
- PlantBGone
- Bottle
- CigPack
components:
- Seed
- Smoking
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
hatchet: hatchet:
whitelist: whitelist:
tags: tags:
- BotanyHatchet - BotanyHatchet
hydro: # hydro:
whitelist: # whitelist:
tags: # tags:
- PlantAnalyzer # Dunno what to put here, should be aight. # - PlantAnalyzer # Dunno what to put here, should be aight.
hoe: hoe:
whitelist: whitelist:
tags: tags:
@@ -296,6 +343,15 @@
sprite: Clothing/Belt/security.rsi sprite: Clothing/Belt/security.rsi
- type: Storage - type: Storage
capacity: 40 capacity: 40
whitelist:
tags:
- CigPack
- Taser
components:
- Stunbaton
- FlashOnTrigger
- Flash
- Handcuff
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
flashbang: flashbang:
@@ -324,11 +380,58 @@
sprite: Clothing/Belt/sheath.rsi sprite: Clothing/Belt/sheath.rsi
- type: Storage - type: Storage
capacity: 15 capacity: 15
whitelist:
tags:
- CaptainSabre
- Baguette
- Carrot
- Crowbar
- Katana
- Machete
- CombatKnife
- RodMetal1
- Spear
components:
- Mop
- type: StorageFill - type: StorageFill
contents: contents:
- id: CaptainSabre - id: CaptainSabre
- type: ItemCounter - type: ItemCounter
mapLayers: mapLayers:
sheath-bag:
whitelist:
tags:
- Baguette
sheath-carrot:
whitelist:
tags:
- Carrot
sheath-crowbar:
whitelist:
tags:
- Crowbar
sheath-crowbarr:
whitelist:
tags:
- CrowbarRed
sheath-katana:
whitelist:
tags:
- Katana
sheath-knife:
whitelist:
tags:
- Machete
- CombatKnife
sheath-mop:
whitelist:
components:
- Mop
sheath-rod:
whitelist:
tags:
- RodMetal1
- Spear
sheath-sabre: sheath-sabre:
whitelist: whitelist:
tags: tags:
@@ -350,7 +453,10 @@
- type: Clothing - type: Clothing
sprite: Clothing/Belt/bandolier.rsi sprite: Clothing/Belt/bandolier.rsi
- type: Storage - type: Storage
capacity: 40 capacity: 60
whitelist:
tags:
- ShotgunShell
- type: entity - type: entity
parent: ClothingBeltBase parent: ClothingBeltBase

View File

@@ -317,6 +317,9 @@
id: FoodBreadBaguette id: FoodBreadBaguette
description: Bon appétit! description: Bon appétit!
components: components:
- type: Tag
tags:
- Baguette
- type: Sprite - type: Sprite
state: baguette state: baguette
# Tastes like France. # Tastes like France.

View File

@@ -142,6 +142,9 @@
id: FoodCarrot id: FoodCarrot
description: It's good for the eyes! description: It's good for the eyes!
components: components:
- type: Tag
tags:
- Carrot
- type: Food - type: Food
- type: SolutionContainer - type: SolutionContainer
contents: contents:

View File

@@ -4,6 +4,9 @@
name: cigarette pack name: cigarette pack
abstract: true abstract: true
components: components:
- type: Tag
tags:
- CigPack
- type: Storage - type: Storage
capacity: 6 capacity: 6
- type: Item - type: Item
@@ -33,7 +36,7 @@
id: CigPackGreen id: CigPackGreen
parent: CigPackBase parent: CigPackBase
name: Spessman's Smokes packet name: Spessman's Smokes packet
description: "A label on the packaging reads, 'Wouldn't a slow death make a change?'" description: A label on the packaging reads, Wouldn't a slow death make a change?
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false
@@ -48,7 +51,7 @@
id: CigPackRed id: CigPackRed
parent: CigPackBase parent: CigPackBase
name: DromedaryCo packet name: DromedaryCo packet
description: "The most popular brand of Space Cigarettes, sponsors of the Space Olympics." description: The most popular brand of Space Cigarettes, sponsors of the Space Olympics.
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false
@@ -63,7 +66,7 @@
id: CigPackBlue id: CigPackBlue
parent: CigPackBase parent: CigPackBase
name: AcmeCo packet name: AcmeCo packet
description: "For those who somehow want to obtain the record for the most amount of cancerous tumors." description: For those who somehow want to obtain the record for the most amount of cancerous tumors.
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false
@@ -78,7 +81,7 @@
id: CigPackBlack id: CigPackBlack
parent: CigPackBase parent: CigPackBase
name: Nomads packet name: Nomads packet
description: "Nomads's extra strong, for when your life is more extra hard." description: Nomads's extra strong, for when your life is more extra hard.
components: components:
- type: Sprite - type: Sprite
netsync: false netsync: false

View File

@@ -46,6 +46,9 @@
name: metal rod name: metal rod
suffix: Single suffix: Single
components: components:
- type: Tag
tags:
- RodMetal1
- type: Sprite - type: Sprite
state: rods state: rods
- type: Stack - type: Stack

View File

@@ -14,7 +14,6 @@
- type: Sprite - type: Sprite
sprite: Objects/Misc/handcuffs.rsi sprite: Objects/Misc/handcuffs.rsi
state: handcuff state: handcuff
- type: Clothing - type: Clothing
sprite: Objects/Misc/handcuffs.rsi sprite: Objects/Misc/handcuffs.rsi
Slots: [belt] Slots: [belt]

View File

@@ -4,6 +4,9 @@
parent: BaseItem parent: BaseItem
description: A cheap bar of soap. Doesn't smell. description: A cheap bar of soap. Doesn't smell.
components: components:
- type: Tag
tags:
- Soap
- type: Sprite - type: Sprite
sprite: Objects/Specific/Janitorial/soap.rsi sprite: Objects/Specific/Janitorial/soap.rsi
state: soap state: soap

View File

@@ -1,9 +1,12 @@
- type: entity - type: entity
name: ointment name: ointment
description: "Used to treat those nasty burns." description: Used to treat those nasty burns.
parent: BaseItem parent: BaseItem
id: Ointment id: Ointment
components: components:
- type: Tag
tags:
- Ointment
- type: Sprite - type: Sprite
sprite: Objects/Specific/Medical/medical.rsi sprite: Objects/Specific/Medical/medical.rsi
state: ointment state: ointment
@@ -17,10 +20,13 @@
- type: entity - type: entity
name: bruise pack name: bruise pack
description: "A therapeutic gel pack and bandages designed to treat blunt-force trauma." description: A therapeutic gel pack and bandages designed to treat blunt-force trauma.
parent: Ointment parent: Ointment
id: Brutepack id: Brutepack
components: components:
- type: Tag
tags:
- Brutepack
- type: Sprite - type: Sprite
state: brutepack state: brutepack
- type: Healing - type: Healing
@@ -31,10 +37,13 @@
- type: entity - type: entity
name: roll of gauze name: roll of gauze
description: "Some sterile gauze to wrap around bloody stumps." description: Some sterile gauze to wrap around bloody stumps.
parent: Ointment parent: Ointment
id: Gauze id: Gauze
components: components:
- type: Tag
tags:
- Gauze
- type: Sprite - type: Sprite
state: gauze state: gauze
- type: Healing - type: Healing

View File

@@ -9,6 +9,9 @@
name: cable stack name: cable stack
suffix: Full suffix: Full
components: components:
- type: Tag
tags:
- CableCoil
- type: Stack - type: Stack
stackType: Cable stackType: Cable
- type: Sprite - type: Sprite
@@ -19,7 +22,6 @@
- type: CablePlacer - type: CablePlacer
- type: Clickable - type: Clickable
- type: entity - type: entity
id: CableHVStack id: CableHVStack
parent: CableStack parent: CableStack

View File

@@ -1,9 +1,12 @@
- type: entity - type: entity
name: emergency flare # todo: we need some sort of IgnitionSourceComponent we can add to this, so when it's lit it will cause fires when touching fuel name: emergency flare # todo: we need some sort of IgnitionSourceComponent we can add to this, so when it's lit it will cause fires when touching fuel
parent: BaseItem parent: BaseItem
id: FlareBase id: Flare
description: A flare that produces a very bright light for a short while. Point the flame away from yourself. description: A flare that produces a very bright light for a short while. Point the flame away from yourself.
components: components:
- type: Tag
tags:
- Flare
- type: ExpendableLight - type: ExpendableLight
spentName: spent flare spentName: spent flare
spentDesc: It looks like this flare has burnt out. What a bummer. spentDesc: It looks like this flare has burnt out. What a bummer.

View File

@@ -4,6 +4,9 @@
id: FlashlightLantern id: FlashlightLantern
description: It lights the way to freedom. description: It lights the way to freedom.
components: components:
- type: Tag
tags:
- Flashlight
- type: HandheldLight - type: HandheldLight
- type: ItemActions - type: ItemActions
actions: actions:

View File

@@ -119,6 +119,7 @@
components: components:
- type: Tag - type: Tag
tags: tags:
- Crowbar
- CrowbarRed - CrowbarRed
- type: Sprite - type: Sprite
sprite: Objects/Tools/crowbar_red.rsi sprite: Objects/Tools/crowbar_red.rsi

View File

@@ -4,6 +4,9 @@
parent: BaseItem parent: BaseItem
abstract: true abstract: true
components: components:
- type: Tag
tags:
- ShotgunShell
- type: Ammo - type: Ammo
caliber: Shotgun caliber: Shotgun
ammoSpread: 40 ammoSpread: 40

View File

@@ -123,6 +123,9 @@
id: TaserGun id: TaserGun
description: A low-capacity, energy-based stun gun used by security teams to subdue targets at range. description: A low-capacity, energy-based stun gun used by security teams to subdue targets at range.
components: components:
- type: Tag
tags:
- Taser
- type: Sprite - type: Sprite
netsync: false netsync: false
sprite: Objects/Weapons/Guns/Battery/taser.rsi sprite: Objects/Weapons/Guns/Battery/taser.rsi

View File

@@ -3,6 +3,9 @@
id: BaseKnife id: BaseKnife
abstract: true abstract: true
components: components:
- type: Tag
tags:
- Knife
- type: Utensil - type: Utensil
types: types:
- Knife - Knife
@@ -20,11 +23,13 @@
id: KitchenKnife id: KitchenKnife
description: A general purpose Chef's Knife made by Asters Merchant Guild. Guaranteed to stay sharp for years to come.. description: A general purpose Chef's Knife made by Asters Merchant Guild. Guaranteed to stay sharp for years to come..
components: components:
- type: Tag
tags:
- Knife
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/kitchen_knife.rsi sprite: Objects/Weapons/Melee/kitchen_knife.rsi
size: 2 size: 2
state: icon state: icon
- type: Item - type: Item
size: 10 size: 10
sprite: Objects/Weapons/Melee/kitchen_knife.rsi sprite: Objects/Weapons/Melee/kitchen_knife.rsi
@@ -37,11 +42,13 @@
id: ButchCleaver id: ButchCleaver
description: A huge blade used for chopping and chopping up meat. This includes clowns and clown-by-products. description: A huge blade used for chopping and chopping up meat. This includes clowns and clown-by-products.
components: components:
- type: Tag
tags:
- Knife
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/cleaver.rsi sprite: Objects/Weapons/Melee/cleaver.rsi
size: 4 size: 4
state: butch state: butch
- type: MeleeWeapon - type: MeleeWeapon
damage: 15 damage: 15
- type: Item - type: Item
@@ -55,6 +62,10 @@
id: CombatKnife id: CombatKnife
description: A deadly knife intended for melee confrontations. description: A deadly knife intended for melee confrontations.
components: components:
- type: Tag
tags:
- CombatKnife
- Knife
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/combat_knife.rsi sprite: Objects/Weapons/Melee/combat_knife.rsi
size: 2 size: 2

View File

@@ -4,6 +4,9 @@
id: Spear id: Spear
description: Definition of a Classic. Keeping murder affordable since 200,000 BCE. description: Definition of a Classic. Keeping murder affordable since 200,000 BCE.
components: components:
- type: Tag
tags:
- Spear
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/spear.rsi sprite: Objects/Weapons/Melee/spear.rsi
state: spear state: spear

View File

@@ -23,6 +23,9 @@
id: Katana id: Katana
description: Ancient craftwork made with not so ancient plasteel. description: Ancient craftwork made with not so ancient plasteel.
components: components:
- type: Tag
tags:
- Katana
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/katana.rsi sprite: Objects/Weapons/Melee/katana.rsi
state: icon state: icon
@@ -39,6 +42,9 @@
id: Machete id: Machete
description: A large, vicious looking blade. description: A large, vicious looking blade.
components: components:
- type: Tag
tags:
- Machete
- type: Sprite - type: Sprite
sprite: Objects/Weapons/Melee/machete.rsi sprite: Objects/Weapons/Melee/machete.rsi
state: icon state: icon

View File

@@ -34,9 +34,9 @@
Plastic: 50 Plastic: 50
- type: latheRecipe - type: latheRecipe
id: FlareBase id: Flare
icon: Objects/Misc/flare.rsi icon: Objects/Misc/flare.rsi
result: FlareBase result: Flare
completetime: 500 completetime: 500
materials: materials:
Plastic: 50 Plastic: 50

View File

@@ -1,3 +1,9 @@
- type: Tag
id: Baguette
- type: Tag
id: Brutepack
- type: Tag - type: Tag
id: BotanyHatchet id: BotanyHatchet
@@ -13,12 +19,21 @@
- type: Tag - type: Tag
id: Bottle id: Bottle
- type: Tag
id: CableCoil
- type: Tag
id: Carrot
- type: Tag - type: Tag
id: CanPilot id: CanPilot
- type: Tag - type: Tag
id: CaptainSabre id: CaptainSabre
- type: Tag
id: CigPack
- type: Tag - type: Tag
id: Crayon id: Crayon
@@ -55,6 +70,9 @@
- type: Tag - type: Tag
id: ConveyorAssembly id: ConveyorAssembly
- type: Tag
id: CombatKnife
- type: Tag - type: Tag
id: DoorElectronics id: DoorElectronics
@@ -73,9 +91,18 @@
- type: Tag - type: Tag
id: FirelockElectronics id: FirelockElectronics
- type: Tag
id: Flare
- type: Tag
id: Flashlight
- type: Tag - type: Tag
id: FootstepSound id: FootstepSound
- type: Tag
id: Gauze
- type: Tag - type: Tag
id: GlassBeaker id: GlassBeaker
@@ -91,12 +118,24 @@
- type: Tag - type: Tag
id: JawsOfLife id: JawsOfLife
- type: Tag
id: Katana
- type: Tag
id: Knife
- type: Tag
id: Machete
- type: Tag - type: Tag
id: MonkeyCube id: MonkeyCube
- type: Tag - type: Tag
id: NoSpinOnThrow id: NoSpinOnThrow
- type: Tag
id: Ointment
- type: Tag - type: Tag
id: Ore id: Ore
@@ -115,6 +154,9 @@
- type: Tag - type: Tag
id: Powerdrill id: Powerdrill
- type: Tag
id: RodMetal1
- type: Tag - type: Tag
id: RollingPaper id: RollingPaper
@@ -124,12 +166,24 @@
- type: Tag - type: Tag
id: Sheet id: Sheet
- type: Tag
id: ShotgunShell
- type: Tag - type: Tag
id: Shovel id: Shovel
- type: Tag
id: Soap
- type: Tag - type: Tag
id: Spray id: Spray
- type: Tag
id: Spear
- type: Tag
id: Taser
- type: Tag - type: Tag
id: Wall id: Wall

View File

@@ -15,6 +15,30 @@
"name": "sheath-sabre-equipped-BELT", "name": "sheath-sabre-equipped-BELT",
"directions": 4 "directions": 4
}, },
{
"name": "sheath-bag"
},
{
"name": "sheath-carrot"
},
{
"name": "sheath-crowbar"
},
{
"name": "sheath-crowbarr"
},
{
"name": "sheath-katana"
},
{
"name": "sheath-knife"
},
{
"name": "sheath-mop"
},
{
"name": "sheath-rod"
},
{ {
"name": "sheath-sabre" "name": "sheath-sabre"
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B