Skip to content

Commit

Permalink
chore(game): adding and updating enums
Browse files Browse the repository at this point in the history
  • Loading branch information
cengelha committed Jan 31, 2025
1 parent e5294d4 commit e45b70f
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 66 deletions.
148 changes: 82 additions & 66 deletions libNOM.io/Enums/DifficultyEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,46 @@ internal enum ActiveSurvivalBarsDifficultyEnum : uint
All,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcHazardDrainDifficultyOption.cs#L7
internal enum HazardDrainDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcBreakTechOnDamageDifficultyOption.cs#L7
internal enum BreakTechOnDamageProbabilityEnum : uint
{
Slow,
Normal,
Fast,
None,
Low,
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcEnergyDrainDifficultyOption.cs#L7
internal enum EnergyDrainDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcChargingRequirementsDifficultyOption.cs#L7
internal enum ChargingRequirementsDifficultyEnum : uint
{
Slow,
None,
Low,
Normal,
Fast,
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSubstanceCollectionDifficultyOption.cs#L7
internal enum SubstanceCollectionDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCreatureHostilityDifficultyOption.cs#L7
internal enum CreatureHostilityDifficultyEnum : uint
{
High,
Normal,
Low,
NeverAttack,
AttackIfProvoked,
FullEcosystem,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSprintingCostDifficultyOption.cs#L7
internal enum SprintingCostDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCurrencyCostDifficultyOption.cs#L7
internal enum CurrencyCostDifficultyEnum : uint
{
Free,
Low,
Full,
Cheap,
Normal,
Expensive,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcScannerRechargeDifficultyOption.cs#L7
internal enum ScannerRechargeDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageGivenDifficultyOption.cs#L7
internal enum DamageGivenDifficultyEnum : uint
{
VeryFast,
Fast,
High,
Normal,
Slow,
Low,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageReceivedDifficultyOption.cs#L7
Expand All @@ -61,14 +62,6 @@ internal enum DamageReceivedDifficultyEnum : uint
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcBreakTechOnDamageDifficultyOption.cs#L7
internal enum BreakTechOnDamageProbabilityEnum : uint
{
None,
Low,
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDeathConsequencesDifficultyOption.cs#L7
internal enum DeathConsequencesDifficultyEnum : uint
{
Expand All @@ -78,13 +71,21 @@ internal enum DeathConsequencesDifficultyEnum : uint
DestroySave,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcChargingRequirementsDifficultyOption.cs#L7
internal enum ChargingRequirementsDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcEnergyDrainDifficultyOption.cs#L7
internal enum EnergyDrainDifficultyEnum : uint
{
None,
Low,
Slow,
Normal,
High,
Fast,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcFishingDifficultyOption.cs#L7
public enum FishingDifficultyEnum : uint // added in Aquarius 5.10
{
AutoCatch,
LongCatchWindow,
NormalCatchWindow,
ShortCatchWindow,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcFuelUseDifficultyOption.cs#L7
Expand All @@ -96,30 +97,21 @@ internal enum FuelUseDifficultyEnum : uint
Expensive,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcLaunchFuelCostDifficultyOption.cs#L7
internal enum LaunchFuelCostDifficultyEnum : uint
{
Free,
Low,
Normal,
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCurrencyCostDifficultyOption.cs#L7
internal enum CurrencyCostDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCombatTimerDifficultyOption.cs#L7
internal enum CombatTimerDifficultyOptionEnum : uint
{
Free,
Cheap,
Off,
Slow,
Normal,
Expensive,
Fast,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcItemShopAvailabilityDifficultyOption.cs#L7
internal enum ItemShopAvailabilityDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcHazardDrainDifficultyOption.cs#L7
internal enum HazardDrainDifficultyEnum : uint
{
High,
Slow,
Normal,
Low,
Fast,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcInventoryStackLimitsDifficultyOption.cs#L7
Expand All @@ -130,29 +122,28 @@ internal enum InventoryStackLimitsDifficultyEnum : uint
Low,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcDamageGivenDifficultyOption.cs#L7
internal enum DamageGivenDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcItemShopAvailabilityDifficultyOption.cs#L7
internal enum ItemShopAvailabilityDifficultyEnum : uint
{
High,
Normal,
Low,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCombatTimerDifficultyOption.cs#L7
internal enum CombatTimerDifficultyOptionEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcLaunchFuelCostDifficultyOption.cs#L7
internal enum LaunchFuelCostDifficultyEnum : uint
{
Off,
Slow,
Free,
Low,
Normal,
Fast,
High,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcCreatureHostilityDifficultyOption.cs#L7
internal enum CreatureHostilityDifficultyEnum : uint
// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcNPCPopulationDifficultyOption.cs#L7
internal enum NPCPopulationDifficultyEnum : uint // added in Worlds Part II 5.50
{
NeverAttack,
AttackIfProvoked,
FullEcosystem,
Full,
Abandoned,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcReputationGainDifficultyOption.cs#L7
Expand All @@ -163,3 +154,28 @@ internal enum ReputationGainDifficultyEnum : uint
Normal,
Slow,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcScannerRechargeDifficultyOption.cs#L7
internal enum ScannerRechargeDifficultyEnum : uint
{
VeryFast,
Fast,
Normal,
Slow,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSprintingCostDifficultyOption.cs#L7
internal enum SprintingCostDifficultyEnum : uint
{
Free,
Low,
Full,
}

// https://github.com/monkeyman192/MBINCompiler/blob/development/libMBIN/Source/NMS/GameComponents/GcSubstanceCollectionDifficultyOption.cs#L7
internal enum SubstanceCollectionDifficultyEnum : uint
{
High,
Normal,
Low,
}
2 changes: 2 additions & 0 deletions libNOM.io/Enums/PersistentBaseTypesEnum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ internal enum PersistentBaseTypesEnum : uint
SpaceBase,
GeneratedPlanetBase,
GeneratedPlanetBaseEdits,
PlayerShipBase,
FriendsShipBase,
}

0 comments on commit e45b70f

Please sign in to comment.