Lathes (#207)
* Recipe stuff. * Lathe GUI and stuff * god dammit * Lathe menu works, yay. * EventArgs henk * Some work * SS14 -> Robust * More SS14 -> Robust * Lathe materials * Lathe works, Lathe GUI, Queue GUI, etc too many changes to name them here * Remove materials button, add ViewVariables and update lathe on connect * Add Autolathe RSI * Adds new recipes, fixes a few bugs. * Remove unused ScrollContainers * Use same delegate for spawn. * Removes client-side LatheComponent in favor of BoundUserInterface * Remove GetMaterial and TryGetMaterial * Use auto-properties in a few places. * Adds LatheDatabase, and a bunch of other changes * Remove useless log. * Remove lathetype from prototypes. * Turns Storage, Lathe and Database into autoproperties * Remove Hacked property from LatheRecipePrototype * Remove unneeded dependency injection from components * Refactors LatheDatabaseComponent to use ComponentState * Refactors MaterialStorageComponent to use ComponentState * Oopsie * Another oopsie * Last oopsie, I hope * Fix missing Close call.
This commit is contained in:
committed by
Pieter-Jan Briers
parent
092539ae59
commit
fe0414eda7
@@ -26,7 +26,6 @@ using Content.Server.GameObjects.Components.Weapon.Ranged.Hitscan;
|
||||
using Content.Server.GameObjects.Components.Weapon.Ranged.Projectile;
|
||||
using Content.Server.GameObjects.Components.Projectiles;
|
||||
using Content.Server.GameObjects.Components.Weapon.Melee;
|
||||
using Content.Server.GameObjects.Components.Materials;
|
||||
using Content.Server.GameObjects.Components.Stack;
|
||||
using Content.Server.GameObjects.Components.Construction;
|
||||
using Content.Server.GameObjects.Components.Mobs;
|
||||
@@ -40,6 +39,7 @@ using Content.Server.GameObjects.Components.Weapon.Ranged;
|
||||
using Content.Server.GameTicking;
|
||||
using Content.Server.Interfaces;
|
||||
using Content.Server.Interfaces.GameTicking;
|
||||
using Content.Shared.GameObjects.Components.Materials;
|
||||
using Content.Shared.GameObjects.Components.Inventory;
|
||||
using Content.Shared.GameObjects.Components.Markers;
|
||||
using Content.Shared.GameObjects.Components.Mobs;
|
||||
@@ -50,6 +50,8 @@ using Content.Server.GameObjects.Components.Destructible;
|
||||
using Content.Server.GameObjects.Components.Movement;
|
||||
using Content.Server.Interfaces.Chat;
|
||||
using Content.Server.Interfaces.GameObjects.Components.Movement;
|
||||
using Content.Server.GameObjects.Components.Research;
|
||||
using Content.Shared.GameObjects.Components.Research;
|
||||
|
||||
namespace Content.Server
|
||||
{
|
||||
@@ -127,6 +129,8 @@ namespace Content.Server
|
||||
factory.Register<ApcComponent>();
|
||||
factory.Register<MaterialComponent>();
|
||||
factory.Register<StackComponent>();
|
||||
factory.Register<MaterialStorageComponent>();
|
||||
factory.RegisterReference<MaterialStorageComponent, SharedMaterialStorageComponent>();
|
||||
|
||||
factory.Register<ConstructionComponent>();
|
||||
factory.Register<ConstructorComponent>();
|
||||
@@ -139,6 +143,11 @@ namespace Content.Server
|
||||
factory.Register<SpawnPointComponent>();
|
||||
factory.RegisterReference<SpawnPointComponent, SharedSpawnPointComponent>();
|
||||
|
||||
factory.Register<LatheComponent>();
|
||||
factory.Register<LatheDatabaseComponent>();
|
||||
|
||||
factory.RegisterReference<LatheDatabaseComponent, SharedLatheDatabaseComponent>();
|
||||
|
||||
factory.Register<BallisticBulletComponent>();
|
||||
factory.Register<BallisticMagazineComponent>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user