Tags everything that should be tagged (#3372)
* GlassBeaker and FirelockElectronics * Moves BaseItem * The rest * Indentations * Functional * for sloth * Applied zum reviews Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Content.Server.GameObjects.Components.Botany;
|
using Content.Server.GameObjects.Components.Botany;
|
||||||
using Content.Server.GameObjects.EntitySystems;
|
using Content.Server.GameObjects.EntitySystems;
|
||||||
using Content.Shared.Atmos;
|
using Content.Shared.Atmos;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.Interfaces;
|
using Content.Shared.Interfaces;
|
||||||
using Content.Shared.Utility;
|
using Content.Shared.Utility;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
@@ -347,7 +348,7 @@ namespace Content.Server.Botany
|
|||||||
|
|
||||||
public bool CheckHarvest(IEntity user, IEntity held = null)
|
public bool CheckHarvest(IEntity user, IEntity held = null)
|
||||||
{
|
{
|
||||||
return (!Ligneous || (Ligneous && held != null && held.HasComponent<BotanySharpComponent>()));
|
return (!Ligneous || (Ligneous && held != null && held.HasTag("BotanySharp")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Botany
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class BotanySharpComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "BotanySharp";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Botany
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class HoeComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "Hoe";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
||||||
using Content.Shared.Interfaces.GameObjects.Components;
|
using Content.Shared.Interfaces.GameObjects.Components;
|
||||||
using Content.Shared.Utility;
|
using Content.Shared.Utility;
|
||||||
@@ -16,7 +17,7 @@ namespace Content.Server.GameObjects.Components.Botany
|
|||||||
if (!ActionBlockerSystem.CanInteract(eventArgs.User))
|
if (!ActionBlockerSystem.CanInteract(eventArgs.User))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (eventArgs.Using.HasComponent<BotanySharpComponent>())
|
if (eventArgs.Using.HasTag("BotanySharp"))
|
||||||
{
|
{
|
||||||
for (var i = 0; i < 2; i++)
|
for (var i = 0; i < 2; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
@@ -13,6 +13,7 @@ using Content.Shared.Audio;
|
|||||||
using Content.Shared.Chemistry;
|
using Content.Shared.Chemistry;
|
||||||
using Content.Shared.GameObjects.Components.Botany;
|
using Content.Shared.GameObjects.Components.Botany;
|
||||||
using Content.Shared.GameObjects.Components.Chemistry;
|
using Content.Shared.GameObjects.Components.Chemistry;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.GameObjects.EntitySystems;
|
using Content.Shared.GameObjects.EntitySystems;
|
||||||
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
||||||
using Content.Shared.Interfaces;
|
using Content.Shared.Interfaces;
|
||||||
@@ -681,7 +682,7 @@ namespace Content.Server.GameObjects.Components.Botany
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingItem.HasComponent<HoeComponent>())
|
if (usingItem.HasTag("Hoe"))
|
||||||
{
|
{
|
||||||
if (WeedLevel > 0)
|
if (WeedLevel > 0)
|
||||||
{
|
{
|
||||||
@@ -698,7 +699,7 @@ namespace Content.Server.GameObjects.Components.Botany
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingItem.HasComponent<ShovelComponent>())
|
if (usingItem.HasTag("Shovel"))
|
||||||
{
|
{
|
||||||
if (Seed != null)
|
if (Seed != null)
|
||||||
{
|
{
|
||||||
@@ -744,7 +745,7 @@ namespace Content.Server.GameObjects.Components.Botany
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingItem.HasComponent<PlantSampleTakerComponent>())
|
if (usingItem.HasTag("PlantSampleTaker"))
|
||||||
{
|
{
|
||||||
if (Seed == null)
|
if (Seed == null)
|
||||||
{
|
{
|
||||||
@@ -779,7 +780,7 @@ namespace Content.Server.GameObjects.Components.Botany
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingItem.HasComponent<BotanySharpComponent>())
|
if (usingItem.HasTag("BotanySharp"))
|
||||||
{
|
{
|
||||||
return DoHarvest(user);
|
return DoHarvest(user);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Botany
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class PlantSampleTakerComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "PlantSampleTaker";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#nullable enable
|
|
||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Botany
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class ShovelComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "Shovel";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Chemistry
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class GlassBeakerComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "GlassBeaker";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Conveyor
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Dummy component for construction graph
|
|
||||||
/// </summary>
|
|
||||||
[RegisterComponent]
|
|
||||||
public class ConveyorAssemblyComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "ConveyorAssembly";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Items
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
class FirelockElectronics : Component
|
|
||||||
{
|
|
||||||
public override string Name => "FirelockElectronics";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Kitchen
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Tag component that denotes an entity as Grindable by the reagentgrinder.
|
|
||||||
/// </summary>
|
|
||||||
[RegisterComponent]
|
|
||||||
public class GrindableComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "Grindable";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -9,6 +9,7 @@ using Content.Server.GameObjects.Components.Power.ApcNetComponents;
|
|||||||
using Content.Server.Interfaces.GameObjects.Components.Items;
|
using Content.Server.Interfaces.GameObjects.Components.Items;
|
||||||
using Content.Server.Utility;
|
using Content.Server.Utility;
|
||||||
using Content.Shared.Chemistry;
|
using Content.Shared.Chemistry;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.Interfaces;
|
using Content.Shared.Interfaces;
|
||||||
using Content.Shared.Interfaces.GameObjects.Components;
|
using Content.Shared.Interfaces.GameObjects.Components;
|
||||||
using Content.Shared.Kitchen;
|
using Content.Shared.Kitchen;
|
||||||
@@ -197,7 +198,7 @@ namespace Content.Server.GameObjects.Components.Kitchen
|
|||||||
foreach (var entity in _chamber.ContainedEntities)
|
foreach (var entity in _chamber.ContainedEntities)
|
||||||
{
|
{
|
||||||
if (!canJuice && entity.HasComponent<JuiceableComponent>()) canJuice = true;
|
if (!canJuice && entity.HasComponent<JuiceableComponent>()) canJuice = true;
|
||||||
if (!canGrind && entity.HasComponent<GrindableComponent>()) canGrind = true;
|
if (!canGrind && entity.HasTag("Grindable")) canGrind = true;
|
||||||
if (canJuice && canGrind) break;
|
if (canJuice && canGrind) break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -287,7 +288,7 @@ namespace Content.Server.GameObjects.Components.Kitchen
|
|||||||
}
|
}
|
||||||
|
|
||||||
//Next, see if the user is trying to insert something they want to be ground/juiced.
|
//Next, see if the user is trying to insert something they want to be ground/juiced.
|
||||||
if(!heldEnt.TryGetComponent(out GrindableComponent? grind) && !heldEnt.TryGetComponent(out JuiceableComponent? juice))
|
if(!heldEnt.HasTag("Grindable") && !heldEnt.TryGetComponent(out JuiceableComponent? juice))
|
||||||
{
|
{
|
||||||
//Entity did NOT pass the whitelist for grind/juice.
|
//Entity did NOT pass the whitelist for grind/juice.
|
||||||
//Wouldn't want the clown grinding up the Captain's ID card now would you?
|
//Wouldn't want the clown grinding up the Captain's ID card now would you?
|
||||||
@@ -333,7 +334,7 @@ namespace Content.Server.GameObjects.Components.Kitchen
|
|||||||
{
|
{
|
||||||
foreach (var item in _chamber.ContainedEntities.ToList())
|
foreach (var item in _chamber.ContainedEntities.ToList())
|
||||||
{
|
{
|
||||||
if (!item.HasComponent<GrindableComponent>()) continue;
|
if (!item.HasTag("Grindable")) continue;
|
||||||
if (!item.TryGetComponent<SolutionContainerComponent>(out var solution)) continue;
|
if (!item.TryGetComponent<SolutionContainerComponent>(out var solution)) continue;
|
||||||
if (_heldBeaker.CurrentVolume + solution.CurrentVolume > _heldBeaker.MaxVolume) continue;
|
if (_heldBeaker.CurrentVolume + solution.CurrentVolume > _heldBeaker.MaxVolume) continue;
|
||||||
_heldBeaker.TryAddSolution(solution.Solution);
|
_heldBeaker.TryAddSolution(solution.Solution);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@@ -13,6 +13,7 @@ using Content.Server.Interfaces.GameObjects.Components.Items;
|
|||||||
using Content.Server.Interfaces.PDA;
|
using Content.Server.Interfaces.PDA;
|
||||||
using Content.Server.Utility;
|
using Content.Server.Utility;
|
||||||
using Content.Shared.GameObjects.Components.PDA;
|
using Content.Shared.GameObjects.Components.PDA;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
using Content.Shared.GameObjects.EntitySystems.ActionBlocker;
|
||||||
using Content.Shared.GameObjects.Verbs;
|
using Content.Shared.GameObjects.Verbs;
|
||||||
using Content.Shared.Interfaces;
|
using Content.Shared.Interfaces;
|
||||||
@@ -262,7 +263,7 @@ namespace Content.Server.GameObjects.Components.PDA
|
|||||||
return TryInsertIdCard(eventArgs, idCardComponent);
|
return TryInsertIdCard(eventArgs, idCardComponent);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.HasComponent<WriteComponent>())
|
if (item.HasTag("Write"))
|
||||||
{
|
{
|
||||||
return TryInsertPen(eventArgs);
|
return TryInsertPen(eventArgs);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#nullable enable
|
#nullable enable
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Content.Server.Utility;
|
using Content.Server.Utility;
|
||||||
using Content.Shared.GameObjects.Components;
|
using Content.Shared.GameObjects.Components;
|
||||||
|
using Content.Shared.GameObjects.Components.Tag;
|
||||||
using Content.Shared.GameObjects.EntitySystems;
|
using Content.Shared.GameObjects.EntitySystems;
|
||||||
using Content.Shared.Interfaces.GameObjects.Components;
|
using Content.Shared.Interfaces.GameObjects.Components;
|
||||||
using Robust.Server.GameObjects;
|
using Robust.Server.GameObjects;
|
||||||
@@ -74,7 +75,7 @@ namespace Content.Server.GameObjects.Components.Paper
|
|||||||
|
|
||||||
async Task<bool> IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)
|
async Task<bool> IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)
|
||||||
{
|
{
|
||||||
if (!eventArgs.Using.HasComponent<WriteComponent>())
|
if (!eventArgs.Using.HasTag("Write"))
|
||||||
return false;
|
return false;
|
||||||
if (!eventArgs.User.TryGetComponent(out IActorComponent? actor))
|
if (!eventArgs.User.TryGetComponent(out IActorComponent? actor))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
using Robust.Shared.GameObjects;
|
|
||||||
|
|
||||||
namespace Content.Server.GameObjects.Components.Paper
|
|
||||||
{
|
|
||||||
[RegisterComponent]
|
|
||||||
public class WriteComponent : Component
|
|
||||||
{
|
|
||||||
public override string Name => "Write";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -46,11 +46,13 @@
|
|||||||
suffix: assembly
|
suffix: assembly
|
||||||
description: A conveyor belt assembly. Used to construct a conveyor belt.
|
description: A conveyor belt assembly. Used to construct a conveyor belt.
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Tag
|
||||||
netsync: false
|
tags:
|
||||||
sprite: Constructible/Power/conveyor.rsi
|
- ConveyorAssembly
|
||||||
state: conveyor_loose
|
- type: Sprite
|
||||||
- type: ConveyorAssembly
|
netsync: false
|
||||||
- type: Construction
|
sprite: Constructible/Power/conveyor.rsi
|
||||||
graph: ConveyorGraph
|
state: conveyor_loose
|
||||||
node: item
|
- type: Construction
|
||||||
|
graph: ConveyorGraph
|
||||||
|
node: item
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
id: FoodBase
|
id: FoodBase
|
||||||
abstract: true
|
abstract: true
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Grindable
|
||||||
- type: Food
|
- type: Food
|
||||||
- type: LoopingSound
|
- type: LoopingSound
|
||||||
- type: SolutionContainer
|
- type: SolutionContainer
|
||||||
@@ -11,7 +14,6 @@
|
|||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: icon
|
state: icon
|
||||||
netsync: false
|
netsync: false
|
||||||
- type: Grindable
|
|
||||||
|
|
||||||
# Only use visualizer if there's multiple steps available
|
# Only use visualizer if there's multiple steps available
|
||||||
# - type: Appearance
|
# - type: Appearance
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
name: Firelock Electronics
|
name: Firelock Electronics
|
||||||
description: Advanced circuit board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door.
|
description: Advanced circuit board used to detect differences in pressure, temperature and gas concentrations between the two sides of the door.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- FirelockElectronics
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Constructible/Misc/module.rsi
|
sprite: Constructible/Misc/module.rsi
|
||||||
state: mainboard
|
state: mainboard
|
||||||
- type: FirelockElectronics
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
layers:
|
layers:
|
||||||
- state: paper_words
|
- state: paper_words
|
||||||
- state: paper
|
- state: paper
|
||||||
|
|
||||||
- type: Paper
|
- type: Paper
|
||||||
- type: UserInterface
|
- type: UserInterface
|
||||||
interfaces:
|
interfaces:
|
||||||
@@ -22,8 +21,9 @@
|
|||||||
id: Pen
|
id: Pen
|
||||||
description: 'A dark ink pen.'
|
description: 'A dark ink pen.'
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Write
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Misc/bureaucracy.rsi
|
sprite: Objects/Misc/bureaucracy.rsi
|
||||||
state: pen
|
state: pen
|
||||||
|
|
||||||
- type: Write
|
|
||||||
|
|||||||
@@ -12,9 +12,11 @@
|
|||||||
name: fork
|
name: fork
|
||||||
description: An eating utensil, perfect for stabbing.
|
description: An eating utensil, perfect for stabbing.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Hoe
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: fork
|
state: fork
|
||||||
- type: Hoe
|
|
||||||
- type: Utensil
|
- type: Utensil
|
||||||
types:
|
types:
|
||||||
- Fork
|
- Fork
|
||||||
@@ -27,7 +29,6 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: plastic_fork
|
state: plastic_fork
|
||||||
|
|
||||||
- type: Utensil
|
- type: Utensil
|
||||||
types:
|
types:
|
||||||
- Fork
|
- Fork
|
||||||
@@ -41,7 +42,6 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: spoon
|
state: spoon
|
||||||
|
|
||||||
- type: Utensil
|
- type: Utensil
|
||||||
types:
|
types:
|
||||||
- Spoon
|
- Spoon
|
||||||
@@ -54,7 +54,6 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: plastic_spoon
|
state: plastic_spoon
|
||||||
|
|
||||||
- type: Utensil
|
- type: Utensil
|
||||||
types:
|
types:
|
||||||
- Spoon
|
- Spoon
|
||||||
@@ -68,7 +67,6 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: plastic_knife
|
state: plastic_knife
|
||||||
|
|
||||||
- type: Utensil
|
- type: Utensil
|
||||||
types:
|
types:
|
||||||
- Knife
|
- Knife
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
id: HydroponicsToolMiniHoe
|
id: HydroponicsToolMiniHoe
|
||||||
description: It's used for removing weeds or scratching your back.
|
description: It's used for removing weeds or scratching your back.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Hoe
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Hydroponics/hoe.rsi
|
sprite: Objects/Tools/Hydroponics/hoe.rsi
|
||||||
state: icon
|
state: icon
|
||||||
@@ -11,7 +14,6 @@
|
|||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Hydroponics/hoe.rsi
|
sprite: Objects/Tools/Hydroponics/hoe.rsi
|
||||||
- type: Hoe
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: scythe
|
name: scythe
|
||||||
@@ -19,12 +21,14 @@
|
|||||||
id: HydroponicsToolScythe
|
id: HydroponicsToolScythe
|
||||||
description: A sharp and curved blade on a long fibremetal handle, this tool makes it easy to reap what you sow.
|
description: A sharp and curved blade on a long fibremetal handle, this tool makes it easy to reap what you sow.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- BotanySharp
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
||||||
state: icon
|
state: icon
|
||||||
- type: ItemCooldown
|
- type: ItemCooldown
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
- type: BotanySharp
|
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
sprite: Objects/Tools/Hydroponics/scythe.rsi
|
||||||
|
|
||||||
@@ -34,12 +38,14 @@
|
|||||||
id: HydroponicsToolHatchet
|
id: HydroponicsToolHatchet
|
||||||
description: A very sharp axe blade upon a short fibremetal handle. It has a long history of chopping things, but now it is used for chopping wood.
|
description: A very sharp axe blade upon a short fibremetal handle. It has a long history of chopping things, but now it is used for chopping wood.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- BotanySharp
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
||||||
state: icon
|
state: icon
|
||||||
- type: ItemCooldown
|
- type: ItemCooldown
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
- type: BotanySharp
|
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
sprite: Objects/Tools/Hydroponics/hatchet.rsi
|
||||||
|
|
||||||
@@ -49,11 +55,13 @@
|
|||||||
id: Spade
|
id: Spade
|
||||||
description: A small tool for digging and moving dirt.
|
description: A small tool for digging and moving dirt.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Shovel
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Hydroponics/spade.rsi
|
sprite: Objects/Tools/Hydroponics/spade.rsi
|
||||||
state: icon
|
state: icon
|
||||||
- type: ItemCooldown
|
- type: ItemCooldown
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
- type: Shovel
|
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Hydroponics/spade.rsi
|
sprite: Objects/Tools/Hydroponics/spade.rsi
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
description: Used to contain a moderate amount of chemicals and solutions.
|
description: Used to contain a moderate amount of chemicals and solutions.
|
||||||
id: Beaker
|
id: Beaker
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- GlassBeaker
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Specific/Chemistry/beakers.rsi
|
sprite: Objects/Specific/Chemistry/beakers.rsi
|
||||||
state: beaker
|
state: beaker
|
||||||
@@ -18,28 +21,22 @@
|
|||||||
- type: SolutionTransfer
|
- type: SolutionTransfer
|
||||||
transferAmount: 5.0
|
transferAmount: 5.0
|
||||||
- type: Spillable
|
- type: Spillable
|
||||||
- type: GlassBeaker
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: large beaker
|
name: large beaker
|
||||||
parent: BaseItem
|
parent: Beaker
|
||||||
description: Used to contain a large amount of chemicals or solutions.
|
description: Used to contain a large amount of chemicals or solutions.
|
||||||
id: LargeBeaker
|
id: LargeBeaker
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Specific/Chemistry/beakers.rsi
|
|
||||||
state: beakerlarge
|
state: beakerlarge
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Specific/Chemistry/beakers.rsi
|
|
||||||
HeldPrefix: beaker
|
HeldPrefix: beaker
|
||||||
- type: SolutionContainer
|
- type: SolutionContainer
|
||||||
fillingState: beakerlarge
|
fillingState: beakerlarge
|
||||||
maxVol: 100
|
maxVol: 100
|
||||||
caps: OpenContainer, FitsInDispenser
|
caps: OpenContainer, FitsInDispenser
|
||||||
- type: SolutionTransfer
|
- type: SolutionTransfer
|
||||||
transferAmount: 5.0
|
|
||||||
- type: Spillable
|
|
||||||
- type: GlassBeaker
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: dropper
|
name: dropper
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
id: Haycutters
|
id: Haycutters
|
||||||
description: This kills the wire. Moo!
|
description: This kills the wire. Moo!
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- PlantSampleTaker
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Cowtools/haycutters.rsi
|
sprite: Objects/Tools/Cowtools/haycutters.rsi
|
||||||
state: haycutters
|
state: haycutters
|
||||||
@@ -16,7 +19,6 @@
|
|||||||
speed: 0.05
|
speed: 0.05
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Cowtools/haycutters.rsi
|
sprite: Objects/Tools/Cowtools/haycutters.rsi
|
||||||
- type: PlantSampleTaker
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: moodriver
|
name: moodriver
|
||||||
@@ -174,3 +176,5 @@
|
|||||||
- name: Mooltitool
|
- name: Mooltitool
|
||||||
- name: Cowelder
|
- name: Cowelder
|
||||||
- name: Milkalyzer
|
- name: Milkalyzer
|
||||||
|
|
||||||
|
# I hate these fucking cowtools I hope the burn in hell -Swept
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
id: Wirecutter
|
id: Wirecutter
|
||||||
description: This kills the wire.
|
description: This kills the wire.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- PlantSampleTaker
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/wirecutters.rsi
|
sprite: Objects/Tools/wirecutters.rsi
|
||||||
layers:
|
layers:
|
||||||
@@ -27,7 +30,6 @@
|
|||||||
yellow: "#d58c18"
|
yellow: "#d58c18"
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/wirecutters.rsi
|
sprite: Objects/Tools/wirecutters.rsi
|
||||||
- type: PlantSampleTaker
|
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: screwdriver
|
name: screwdriver
|
||||||
@@ -201,11 +203,13 @@
|
|||||||
id: Shovel
|
id: Shovel
|
||||||
description: A large tool for digging and moving dirt.
|
description: A large tool for digging and moving dirt.
|
||||||
components:
|
components:
|
||||||
|
- type: Tag
|
||||||
|
tags:
|
||||||
|
- Shovel
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
sprite: Objects/Tools/Hydroponics/shovel.rsi
|
sprite: Objects/Tools/Hydroponics/shovel.rsi
|
||||||
state: icon
|
state: icon
|
||||||
- type: ItemCooldown
|
- type: ItemCooldown
|
||||||
- type: MeleeWeapon
|
- type: MeleeWeapon
|
||||||
- type: Shovel
|
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: Objects/Tools/Hydroponics/shovel.rsi
|
sprite: Objects/Tools/Hydroponics/shovel.rsi
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
edges:
|
edges:
|
||||||
- to: entity
|
- to: entity
|
||||||
steps:
|
steps:
|
||||||
- component: ConveyorAssembly
|
# Replace with tag ASAP
|
||||||
|
- prototype: ConveyorAssembly
|
||||||
icon:
|
icon:
|
||||||
sprite: Constructible/Power/conveyor.rsi
|
sprite: Constructible/Power/conveyor.rsi
|
||||||
state: conveyor_loose
|
state: conveyor_loose
|
||||||
|
|||||||
@@ -50,8 +50,7 @@
|
|||||||
- !type:EntityAnchored
|
- !type:EntityAnchored
|
||||||
anchored: true
|
anchored: true
|
||||||
steps:
|
steps:
|
||||||
- component: FirelockElectronics
|
- prototype: FirelockElectronics
|
||||||
store: Firelock Electronics
|
|
||||||
name: Firelock Electronics
|
name: Firelock Electronics
|
||||||
icon:
|
icon:
|
||||||
sprite: "Constructible/Misc/module.rsi"
|
sprite: "Constructible/Misc/module.rsi"
|
||||||
|
|||||||
@@ -1,11 +1,38 @@
|
|||||||
|
- type: Tag
|
||||||
|
id: BotanySharp
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: ConveyorAssembly
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: ExplosivePassable
|
id: ExplosivePassable
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: FirelockElectronics
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: FootstepSound
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: GlassBeaker
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: Grindable
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: Hoe
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: PlantSampleTaker
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: Shovel
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: Teleportable
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: Wall
|
id: Wall
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: Teleportable
|
id: Write
|
||||||
|
|
||||||
- type: Tag
|
|
||||||
id: FootstepSound
|
|
||||||
|
|||||||
Reference in New Issue
Block a user