Branded lighters addition (#35514)
* newlighters * port complete * donk pocket box addition * should fix test fail, proper credit * captalisation issue * fixed * typo corrected * removed accidental change to combat bakery * fixed lock message, made NT flippo start fueled. * Requested changes * fixed discount dan * moved matchbox * requested changes, discount dan more broken than ever (somehow) * unbungle * uhhhhh * maybe fixes? * changed inheritance * fixed enum? * nevermind * finally fixed * breaking changes * inheritance unbungled
17
Content.Shared/Lock/ItemToggleRequiresLockComponent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Lock;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for toggleable items that require the entity to have a lock in a certain state.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, Access(typeof(LockSystem))]
|
||||
public sealed partial class ItemToggleRequiresLockComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// TRUE: the lock must be locked to toggle the item.
|
||||
/// FALSE: the lock must be unlocked to toggle the item.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool RequireLocked;
|
||||
}
|
||||
@@ -13,6 +13,7 @@ using Content.Shared.Storage.Components;
|
||||
using Content.Shared.UserInterface;
|
||||
using Content.Shared.Verbs;
|
||||
using Content.Shared.Wires;
|
||||
using Content.Shared.Item.ItemToggle.Components;
|
||||
using JetBrains.Annotations;
|
||||
using Robust.Shared.Audio.Systems;
|
||||
using Robust.Shared.Utility;
|
||||
@@ -55,6 +56,8 @@ public sealed class LockSystem : EntitySystem
|
||||
|
||||
SubscribeLocalEvent<ActivatableUIRequiresLockComponent, ActivatableUIOpenAttemptEvent>(OnUIOpenAttempt);
|
||||
SubscribeLocalEvent<ActivatableUIRequiresLockComponent, LockToggledEvent>(LockToggled);
|
||||
|
||||
SubscribeLocalEvent<ItemToggleRequiresLockComponent, ItemToggleActivateAttemptEvent>(OnActivateAttempt);
|
||||
}
|
||||
|
||||
private void OnStartup(EntityUid uid, LockComponent lockComp, ComponentStartup args)
|
||||
@@ -413,4 +416,19 @@ public sealed class LockSystem : EntitySystem
|
||||
|
||||
_activatableUI.CloseAll(uid);
|
||||
}
|
||||
private void OnActivateAttempt(EntityUid uid, ItemToggleRequiresLockComponent component, ref ItemToggleActivateAttemptEvent args)
|
||||
{
|
||||
if (args.Cancelled)
|
||||
return;
|
||||
|
||||
if (TryComp<LockComponent>(uid, out var lockComp) && lockComp.Locked != component.RequireLocked)
|
||||
{
|
||||
args.Cancelled = true;
|
||||
if (lockComp.Locked)
|
||||
_sharedPopupSystem.PopupClient(Loc.GetString("lock-comp-generic-fail",
|
||||
("target", Identity.Entity(uid, EntityManager))),
|
||||
uid,
|
||||
args.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -487,5 +487,8 @@ uplink-business-card-desc = A business card that you can give to someone to demo
|
||||
uplink-fake-mindshield-name = Fake Mindshield
|
||||
uplink-fake-mindshield-desc = A togglable implant capable of mimicking the same transmissions a real mindshield puts out when on, tricking capable Heads-up displays into thinking you have a mindshield (Nanotrasen brand implanter not provided.)
|
||||
|
||||
uplink-contraband-lighter-name = Contraband Lighter box
|
||||
uplink-contraband-lighter-desc = A mystery box guaranteed to contain a syndicate branded lighter. No fuel required
|
||||
|
||||
uplink-smuggler-satchel-name = Smuggler's Satchel
|
||||
uplink-smuggler-satchel-desc = A handy, suspicious looking satchel. Just flat enough to fit underneath floor tiles.
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
FoodSnackPopcorn: 3
|
||||
FoodSnackEnergy: 3
|
||||
CigPackMixed: 2
|
||||
DiscountDanLighter: 1
|
||||
contrabandInventory:
|
||||
FoodSnackDanDanNoodles: 3
|
||||
FoodBakedBunHoney: 3
|
||||
|
||||
@@ -2233,6 +2233,17 @@
|
||||
- Chef
|
||||
- Mime
|
||||
|
||||
- type: listing
|
||||
id: UplinkContrabandLighter
|
||||
name: uplink-contraband-lighter-name
|
||||
description: uplink-contraband-lighter-desc
|
||||
icon: { sprite: Objects/Tools/Lighters/syndielighter.rsi, state: icon}
|
||||
productEntity: UplinkLighterBox
|
||||
cost:
|
||||
Telecrystal: 1
|
||||
categories:
|
||||
- UplinkPointless
|
||||
|
||||
- type: listing
|
||||
id: UplinkSmugglerSatchel
|
||||
name: uplink-smuggler-satchel-name
|
||||
|
||||
@@ -172,6 +172,7 @@
|
||||
- id: ClothingUniformJumpsuitFamilyGuy
|
||||
- id: WristwatchGold
|
||||
- id: RubberStampGreytide
|
||||
- id: MysteryLighterBox
|
||||
- id: GoldenPersonalAI
|
||||
|
||||
- type: entity
|
||||
|
||||
@@ -277,7 +277,7 @@
|
||||
prob: 0.05
|
||||
orGroup: Pizza
|
||||
- id: KnifePlastic
|
||||
|
||||
|
||||
- type: entity
|
||||
name: pizza box
|
||||
parent: FoodBoxPizzaFilled
|
||||
@@ -372,6 +372,9 @@
|
||||
contents:
|
||||
- id: FoodDonkpocket
|
||||
amount: 6
|
||||
- id: DonkcoLighter
|
||||
amount: 1
|
||||
prob: 0.10
|
||||
|
||||
- type: entity
|
||||
parent: FoodBoxDonkpocket
|
||||
|
||||
@@ -133,3 +133,62 @@
|
||||
- id: ToyFigurineHamlet
|
||||
prob: 0.20
|
||||
orGroup: SpacemenFig
|
||||
|
||||
- type: entity
|
||||
parent: BaseItem
|
||||
id: MysteryLighterBox
|
||||
name: Novelty lighter mystery box
|
||||
suffix: Filled
|
||||
description: A box of discontinued promotional lighters, many of which have since been declared "contraband".
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Fun/figurines.rsi
|
||||
layers:
|
||||
- state: fig_box
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: MysteryFigureBoxTrash
|
||||
- id: CybersunFlippo
|
||||
orGroup: Lighterbox
|
||||
weight: 0.15
|
||||
- id: InterdyneFlippo
|
||||
orGroup: Lighterbox
|
||||
weight: 0.15
|
||||
- id: NanotrasenFlippo
|
||||
orGroup: Lighterbox
|
||||
weight: 0.25
|
||||
- id: WaffleCoFlippo
|
||||
orGroup: Lighterbox
|
||||
weight: 0.35
|
||||
- id: HonkCoFlippo
|
||||
orGroup: Lighterbox
|
||||
- id: GorlexMatchbox
|
||||
orGroup: Lighterbox
|
||||
weight: 0.15
|
||||
- id: DonkcoLighter
|
||||
orGroup: Lighterbox
|
||||
weight: 0.25
|
||||
- id: SyndicateFlippo
|
||||
orGroup: Lighterbox
|
||||
weight: 0.15
|
||||
|
||||
- type: entity
|
||||
parent: MysteryLighterBox
|
||||
id: UplinkLighterBox
|
||||
suffix: Uplink
|
||||
components:
|
||||
- type: SpawnItemsOnUse
|
||||
items:
|
||||
- id: MysteryFigureBoxTrash
|
||||
- id: CybersunFlippo
|
||||
orGroup: Lighterbox
|
||||
- id: InterdyneFlippo
|
||||
orGroup: Lighterbox
|
||||
- id: WaffleCoFlippo
|
||||
orGroup: Lighterbox
|
||||
- id: GorlexMatchbox
|
||||
orGroup: Lighterbox
|
||||
- id: DonkcoLighter
|
||||
orGroup: Lighterbox
|
||||
- id: SyndicateFlippo
|
||||
orGroup: Lighterbox
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
activatedSize: Small
|
||||
- type: ItemToggleHot
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
layers:
|
||||
- state: icon_map
|
||||
- state: cheap_icon_base
|
||||
@@ -62,7 +62,7 @@
|
||||
shader: unshaded
|
||||
- type: Item
|
||||
size: Tiny
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
- type: UseDelay
|
||||
- type: RefillableSolution
|
||||
solution: Welder
|
||||
@@ -97,7 +97,7 @@
|
||||
description: "A dangerously inexpensive plastic lighter, don't burn your thumb!"
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
layers:
|
||||
- state: icon_map
|
||||
- state: cheap_icon_base
|
||||
@@ -126,7 +126,7 @@
|
||||
description: "A rugged metal lighter, lasts quite a while."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
layers:
|
||||
- state: zippo_icon_base
|
||||
map: ["base"]
|
||||
@@ -159,7 +159,7 @@
|
||||
- type: ItemToggleHot
|
||||
- type: Item
|
||||
size: Tiny
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
heldPrefix: zippo
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
@@ -219,7 +219,7 @@
|
||||
description: "A rugged golden lighter, lasts quite a while. Engravings serve no tactical advantage whatsoever."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
layers:
|
||||
- state: zippo_engraved_icon_base
|
||||
map: ["base"]
|
||||
@@ -235,3 +235,404 @@
|
||||
shader: unshaded
|
||||
- type: StealTarget
|
||||
stealGroup: FlippoEngravedLighter
|
||||
|
||||
- type: entity
|
||||
abstract: true
|
||||
parent: BaseItem
|
||||
id: BaseBrandedLighter
|
||||
components:
|
||||
- type: ItemToggle
|
||||
predictable: false
|
||||
soundActivate:
|
||||
path: /Audio/Items/Lighters/zippo_open.ogg
|
||||
params:
|
||||
volume: -5
|
||||
soundDeactivate:
|
||||
path: /Audio/Items/Lighters/zippo_close.ogg
|
||||
params:
|
||||
volume: -5
|
||||
- type: ItemToggleMeleeWeapon
|
||||
activatedDamage:
|
||||
types:
|
||||
Heat: 1
|
||||
- type: ItemToggleSize
|
||||
activatedSize: Small
|
||||
- type: ItemToggleHot
|
||||
- type: Item
|
||||
size: Tiny
|
||||
- type: Appearance
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 12
|
||||
maxVol: 12
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: icon
|
||||
map: [ "base" ]
|
||||
- state: top
|
||||
map: [ "top" ]
|
||||
visible: false
|
||||
- state: open
|
||||
map: [ "open" ]
|
||||
visible: false
|
||||
- state: flame
|
||||
map: [ "flame" ]
|
||||
visible: false
|
||||
shader: unshaded
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.ToggleableVisuals.Enabled:
|
||||
flame:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
open:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
top:
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
base:
|
||||
True: { visible: false }
|
||||
False: { visible: true }
|
||||
- type: ToggleableVisuals
|
||||
spriteLayer: lighter_flame
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: inhand-left-lit
|
||||
shader: unshaded
|
||||
right:
|
||||
- state: inhand-right-lit
|
||||
shader: unshaded
|
||||
- type: ItemTogglePointLight
|
||||
- type: UseDelay
|
||||
- type: IgnitionSource
|
||||
ignited: false
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseSyndicateContraband]
|
||||
id: SyndicateFlippo
|
||||
name: Blood-red flippo
|
||||
description: "A 'Valid' choice in lighters. Contains no copper."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/syndielighter.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/syndielighter.rsi
|
||||
- type: Welder
|
||||
fuelConsumption: 0.005
|
||||
fuelLitCost: 0.01
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: green
|
||||
|
||||
- type: entity
|
||||
parent: Lighter
|
||||
id: DiscountDanLighter
|
||||
name: Discount Dan's lighter
|
||||
description: "The worst lighter ever produced, lighterburn is inevitable, do not refuel while lit."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
layers:
|
||||
- state: icon_map
|
||||
- state: discount_icon_base
|
||||
map: [ "skin" ]
|
||||
- state: basic_icon_top
|
||||
- state: lighter_flame
|
||||
visible: false
|
||||
shader: unshaded
|
||||
map: [ "flame" ]
|
||||
- type: Welder # the single worst lighter invented by mankind
|
||||
fuelConsumption: 0.2
|
||||
fuelLitCost: 0.1
|
||||
tankSafe: false
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
- type: ToggleableVisuals
|
||||
spriteLayer: lighter_flame
|
||||
inhandVisuals:
|
||||
left:
|
||||
- state: inhand-left-flame
|
||||
shader: unshaded
|
||||
right:
|
||||
- state: inhand-right-flame
|
||||
shader: unshaded
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- skin:
|
||||
discount_icon_base: ""
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 1.5
|
||||
color: yellow
|
||||
- type: ComponentToggler
|
||||
components:
|
||||
- type: DamageOnHolding
|
||||
damage:
|
||||
types:
|
||||
Heat: 2
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 3
|
||||
maxVol: 3
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseSyndicateContraband]
|
||||
id: CybersunFlippo
|
||||
name: CyberSun Flippo
|
||||
description: "A Sleek black and magenta flippo lighter, bearing the logo and iconography of CyberSun Industries."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/cybersun.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/cybersun.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.005
|
||||
fuelLitCost: 0.01
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: magenta
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseSyndicateContraband]
|
||||
id: InterdyneFlippo
|
||||
name: Interdyne Flippo
|
||||
description: "A deep blue flippo lighter, decorated with the logo of Interdyne Pharmaceuticals' 'Gene Clean' clinics. Become the master of your own cigarette."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/interdyne.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/interdyne.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.005
|
||||
fuelLitCost: 0.01
|
||||
tankSafe: true
|
||||
- type: ItemToggleMeleeWeapon
|
||||
activatedDamage:
|
||||
types:
|
||||
Radiation: 1
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: cyan
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter]
|
||||
id: NanotrasenFlippo
|
||||
name: Nanotrasen Flippo
|
||||
description: "A navy blue luxury flippo, generally handed out to loyal heads of staff instead of a payraise. Fueled with liquid plasma"
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/nanotrasen.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/nanotrasen.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.005
|
||||
fuelLitCost: 1
|
||||
fuelReagent: Plasma
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: blue
|
||||
- type: RefillableSolution
|
||||
solution: Welder
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: Plasma
|
||||
Quantity: 10
|
||||
maxVol: 10
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseCentcommContraband]
|
||||
id: CentCommFlippo
|
||||
name: Gilded CentComm Flippo
|
||||
description: "An Ornate, jade embossed and gilded flippo frame containing a bluespace powered jet. The latch is secured by a miniature access reader that only responds to CentComm officials. The nicest lighter known to man."
|
||||
suffix: DO NOT MAP
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/centcomm.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/centcomm.rsi
|
||||
- type: ItemToggleRequiresLock
|
||||
requireLocked: false
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.0
|
||||
fuelLitCost: 10
|
||||
fuelReagent: Plasma
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 4 #Excessively powerful
|
||||
color: Gold
|
||||
- type: RefillableSolution
|
||||
solution: Welder
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: Plasma
|
||||
Quantity: 999
|
||||
maxVol: 999
|
||||
- type: Tool
|
||||
useSound:
|
||||
collection: Welder
|
||||
qualities: Welding
|
||||
- type: SolutionRegeneration
|
||||
solution: Welder
|
||||
generated:
|
||||
reagents:
|
||||
- ReagentId: Plasma
|
||||
Quantity: 0.1
|
||||
- type: Lock
|
||||
- type: AccessReader
|
||||
access: [["CentralCommand"]]
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseMajorContraband]
|
||||
id: SpiderclanFlippo
|
||||
name: Spider-Clan lighter
|
||||
description: "A high tech jet lighter, engineered to function even in deep space. Runs on a tiny microfusion cell."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/spiderclan.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/spiderclan.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0
|
||||
fuelLitCost: 0
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: green
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter, BaseSyndicateContraband]
|
||||
id: WaffleCoFlippo
|
||||
name: Waffle Co. flippo
|
||||
description: "A robust mass produced lighter. The Waffle Co. logo turns the spark wheel when pushed up, minimising risk of lighter burns for even the most inept user."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/waffleco.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/waffleco.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.005
|
||||
fuelLitCost: 0.05
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: brown
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter]
|
||||
id: HonkCoFlippo
|
||||
name: Honk Co. flippo
|
||||
description: "A slippery gag lighter produced by Honk Co. hidden inside of a real banana peel."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/honkco.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/honkco.rsi
|
||||
- type: ComponentToggler
|
||||
components:
|
||||
- type: Slippery
|
||||
- type: StepTrigger
|
||||
intersectRatio: 0.2
|
||||
- type: CollisionWake
|
||||
enabled: false
|
||||
- type: Physics
|
||||
bodyType: Dynamic
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
slips:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.3,0.4,0.3"
|
||||
layer:
|
||||
- SlipLayer
|
||||
hard: false
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.4,-0.3,0.4,0.3"
|
||||
density: 10
|
||||
mask:
|
||||
- ItemMask
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.1
|
||||
fuelLitCost: 1
|
||||
tankSafe: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: yellow
|
||||
|
||||
- type: entity
|
||||
parent: [BaseBrandedLighter]
|
||||
id: DonkcoLighter
|
||||
name: Donk Co. flippo
|
||||
description: "The flippo of choice for the seasoned traitor. A Breaded novelty lighter made by Donk Co. Somehow edible while lit."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/donkco.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/donkco.rsi
|
||||
- type: Welder #
|
||||
fuelConsumption: 0.02
|
||||
fuelLitCost: 0.1
|
||||
tankSafe: true
|
||||
- type: Tag
|
||||
tags:
|
||||
- DonkPocket
|
||||
- Meat
|
||||
- type: SolutionContainerManager
|
||||
solutions:
|
||||
Welder:
|
||||
reagents:
|
||||
- ReagentId: WeldingFuel
|
||||
Quantity: 12
|
||||
maxVol: 12
|
||||
food:
|
||||
maxVol: 20
|
||||
reagents:
|
||||
- ReagentId: Nutriment
|
||||
Quantity: 10
|
||||
- ReagentId: Omnizine
|
||||
Quantity: 10
|
||||
- type: FlavorProfile
|
||||
flavors:
|
||||
- bread
|
||||
- meaty
|
||||
- cheap
|
||||
- type: ComponentToggler
|
||||
components:
|
||||
- type: Food
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
netsync: false
|
||||
radius: 2
|
||||
color: orange
|
||||
|
||||
@@ -108,3 +108,43 @@
|
||||
tags:
|
||||
- Trash
|
||||
- type: SpaceGarbage
|
||||
|
||||
- type: entity
|
||||
parent: [Matchbox, BaseSyndicateContraband]
|
||||
id: GorlexMatchbox
|
||||
name: Gorlex match box
|
||||
description: "A pneumatic match box styled after the Gorlex Marauders' equipment. Contains 24 matches."
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/gorlex.rsi
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/gorlex.rsi
|
||||
- type: Storage
|
||||
grid:
|
||||
- 0,0,11,1
|
||||
- type: StorageFill
|
||||
contents:
|
||||
- id: GorlexMatchstick
|
||||
amount: 24
|
||||
- type: Matchbox
|
||||
|
||||
- type: entity
|
||||
name: match stick
|
||||
parent: [Matchstick, BaseSyndicateContraband]
|
||||
id: GorlexMatchstick
|
||||
description: A military grade match stick, used for lighting fine smokables and noncombatants alike.
|
||||
components:
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/Lighters/gorlexmatch.rsi
|
||||
layers:
|
||||
- state: match_unlit
|
||||
- type: Item
|
||||
sprite: Objects/Tools/Lighters/gorlexmatch.rsi
|
||||
heldPrefix: unlit
|
||||
size: Tiny
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
radius: 3
|
||||
color: green
|
||||
- type: Matchstick
|
||||
duration: 30
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
id: FlippoEngravedLighter
|
||||
name: steal-target-groups-flippo-engraved-lighter
|
||||
sprite:
|
||||
sprite: Objects/Tools/lighters.rsi
|
||||
sprite: Objects/Tools/Lighters/lighters.rsi
|
||||
state: zippo_engraved_icon_base
|
||||
|
||||
- type: stealTargetGroup
|
||||
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/centcomm.rsi/flame.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/centcomm.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprites Created by Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "flame",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right-lit",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left-lit",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/centcomm.rsi/open.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/centcomm.rsi/top.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/cybersun.rsi/flame.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/cybersun.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprites Created by Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "flame",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right-lit",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left-lit",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/cybersun.rsi/open.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/cybersun.rsi/top.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/donkco.rsi/flame.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/donkco.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprites Created by Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "flame",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right-lit",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left-lit",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/donkco.rsi/open.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/donkco.rsi/top.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/bfc9c6ba8126ee8c41564d68c4bfb9ce37faa8f8 and modified by Swept, modified again my Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "matchbox"
|
||||
},
|
||||
{
|
||||
"name": "matchbox-open"
|
||||
},
|
||||
{
|
||||
"name": "matchbox1"
|
||||
},
|
||||
{
|
||||
"name": "matchbox2"
|
||||
},
|
||||
{
|
||||
"name": "matchbox3"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/bfc9c6ba8126ee8c41564d68c4bfb9ce37faa8f8 and modified by Swept, modified again my Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "match_burnt"
|
||||
},
|
||||
{
|
||||
"name": "match_lit",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "match_unlit"
|
||||
},
|
||||
{
|
||||
"name": "unlit-inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "unlit-inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "lit-inhand-left",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "lit-inhand-right",
|
||||
"directions": 4,
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
],
|
||||
[
|
||||
0.2,
|
||||
0.2,
|
||||
0.2
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 4.2 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/honkco.rsi/flame.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/honkco.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 401 B |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 417 B |
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Banana sprites Taken from tgstation at https://github.com/tgstation/tgstation/commit/6be7633abca9f1a51cab1020500cf0776ce78e5c, modified by smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "flame",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right-lit",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left-lit",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/honkco.rsi/open.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/honkco.rsi/top.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/interdyne.rsi/icon.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Sprites Created by Smugman",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "flame",
|
||||
"delays": [
|
||||
[
|
||||
0.2,
|
||||
0.1
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "top"
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right-lit",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-left-lit",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Objects/Tools/Lighters/interdyne.rsi/open.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
Resources/Textures/Objects/Tools/Lighters/interdyne.rsi/top.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 9.0 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@@ -55,6 +55,9 @@
|
||||
{
|
||||
"name": "basic_icon_base-11"
|
||||
},
|
||||
{
|
||||
"name": "discount_icon_base"
|
||||
},
|
||||
{
|
||||
"name": "basic_icon_top"
|
||||
},
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 690 B |
|
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |