Upstream merge cleanup
This commit is contained in:
parent
232cf8b5e0
commit
43a4db57d3
|
|
@ -48,27 +48,6 @@ public sealed partial class DeepFryerSystem
|
|||
|
||||
if (oilVolume > FixedPoint2.Zero)
|
||||
{
|
||||
//JJ Comment - this code block makes the Linter fail, and doesn't seem to be necessary with the changes I made.
|
||||
foreach (var reagent in component.Solution.Contents.ToArray())
|
||||
{
|
||||
_prototypeManager.TryIndex<ReagentPrototype>(reagent.Reagent.ToString(), out var proto);
|
||||
|
||||
foreach (var effect in component.UnsafeOilVolumeEffects)
|
||||
{
|
||||
// TODO: October - Fix this
|
||||
/*effect.Effect(new EntityEffectReagentArgs(uid,
|
||||
EntityManager,
|
||||
null,
|
||||
component.Solution,
|
||||
reagent.Quantity,
|
||||
proto!,
|
||||
null,
|
||||
1f));
|
||||
*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
component.Solution.RemoveAllSolution();
|
||||
|
||||
_popupSystem.PopupEntity(
|
||||
|
|
|
|||
|
|
@ -382,28 +382,6 @@ public sealed partial class DeepFryerSystem : SharedDeepfryerSystem
|
|||
if (!solutionExisted)
|
||||
_sawmill.Warning(
|
||||
$"{ToPrettyString(uid)} did not have a {component.SolutionName} solution container. It has been created.");
|
||||
foreach (var reagent in component.Solution.Contents.ToArray())
|
||||
{
|
||||
//JJ Comment - not sure this works. Need to check if Reagent.ToString is correct.
|
||||
_prototypeManager.TryIndex<ReagentPrototype>(reagent.Reagent.ToString(), out var proto);
|
||||
|
||||
// TODO: October - Fix this
|
||||
/*var effectsArgs = new EntityEffectReagentArgs(uid,
|
||||
EntityManager,
|
||||
null,
|
||||
component.Solution,
|
||||
reagent.Quantity,
|
||||
proto!,
|
||||
null,
|
||||
1f);
|
||||
|
||||
foreach (var effect in component.UnsafeOilVolumeEffects)
|
||||
{
|
||||
if (!effect.ShouldApply(effectsArgs, _random))
|
||||
continue;
|
||||
effect.Effect(effectsArgs);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ public partial class SharedBodySystem
|
|||
{
|
||||
// TODO BODY SYSTEM KILL : remove this when wounding and required parts are implemented properly
|
||||
var damage = new DamageSpecifier(Prototypes.Index(BloodlossDamageType), 300);
|
||||
Damageable.ChangeDamage(bodyEnt.Owner, damage); // TODO: October - Do we need this? This was added.
|
||||
Damageable.ChangeDamage(bodyEnt.Owner, damage);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ public sealed partial class DamageableSystem
|
|||
RaiseLocalEvent(ent.Owner, ref partDamage);
|
||||
|
||||
if (partDamage.Evaded || partDamage.Cancelled)
|
||||
return damageDone; // TODO: October - Was null
|
||||
return damageDone;
|
||||
}
|
||||
// END Shitmed
|
||||
|
||||
|
|
@ -173,7 +173,7 @@ public sealed partial class DamageableSystem
|
|||
}
|
||||
|
||||
if (onlyDamageParts) // DeltaV - Fix EvenHealing with Limbs.
|
||||
return damageDone; // TODO: October - Was null
|
||||
return damageDone;
|
||||
|
||||
if (!ignoreGlobalModifiers)
|
||||
damage = ApplyUniversalAllModifiers(damage);
|
||||
|
|
|
|||
|
|
@ -50,11 +50,6 @@
|
|||
equipment:
|
||||
jumpsuit: ClothingUniformJumpskirtSecGrey
|
||||
|
||||
- type: loadout
|
||||
id: TrooperUniform
|
||||
equipment:
|
||||
jumpsuit: ClothingUniformSecurityTrooper
|
||||
|
||||
- type: loadout
|
||||
id: SeniorOfficerJumpsuit
|
||||
effects:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:DepartmentTimeRequirement
|
||||
department: Cargo
|
||||
department: Logistics # DeltaV
|
||||
time: 10h # 10 hours of being a space trucker
|
||||
|
||||
# Basic options
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@
|
|||
- !type:JobRequirementLoadoutEffect
|
||||
requirement:
|
||||
!type:DepartmentTimeRequirement
|
||||
department: Science
|
||||
department: Epistemics # DeltaV
|
||||
time: 72000 # 20hr
|
||||
storage:
|
||||
back:
|
||||
|
|
|
|||
|
|
@ -87,7 +87,8 @@
|
|||
- type: Dumpable
|
||||
- type: AccessReader
|
||||
- type: ExplosionResistance
|
||||
damageCoefficient: 0.6
|
||||
damageCoefficient: 0.1
|
||||
- type: Airtight
|
||||
|
||||
- type: entity
|
||||
parent: DVSmartFridge
|
||||
|
|
|
|||
|
|
@ -53,7 +53,8 @@
|
|||
- CrowbarGreen
|
||||
- Multitool
|
||||
- Welder
|
||||
- WeldingMask
|
||||
- ClothingHeadHatWelding
|
||||
- CableStack
|
||||
- HandheldGPSBasic
|
||||
- HandheldStationMap
|
||||
- MicroManipulatorStockPart # Heads start with machine boards
|
||||
|
|
|
|||
Loading…
Reference in New Issue