Exemplo n.º 1
0
 static patch_ArtifactCatalog()
 {
     ArtifactCatalog.artifactDefs = new ArtifactDef[5];
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Command, new ArtifactDef
     {
         nameToken               = "Command",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texCommandSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texCommandSmallDeselected",
         unlockableName          = "",
         descriptionToken        = "[NON-FUNCTIONING] Items are no longer random. You can choose which items you want to purchase."
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Bomb, new ArtifactDef
     {
         nameToken               = "Bomb",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSpiteSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSpiteSmallDeselected",
         unlockableName          = "",
         descriptionToken        = "Enemies explode on death."
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Sacrifice, new ArtifactDef
     {
         nameToken               = "Sacrifice",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSacrificeSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSacrificeSmallDeselected",
         unlockableName          = "",
         descriptionToken        = "[SEMI-FUNCTIONING] Chests no longer spawn (NOTE: incorrect); monsters now drop items on death."
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Enigma, new ArtifactDef
     {
         nameToken               = "Enigma",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texEnigmaSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texEnigmaSmallDeselected",
         unlockableName          = "",
         descriptionToken        = "Use items have a random effect."
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Spirit, new ArtifactDef
     {
         nameToken               = "Spirit",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSpiritSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSpiritSmallDeselected",
         unlockableName          = "",
         descriptionToken        = "[SEMI-FUNCTIONING] Characters and enemies move faster at low health (BUGGED: enemies in MP fly around)"
     });
 }
Exemplo n.º 2
0
 // Token: 0x06000A0C RID: 2572 RVA: 0x00046848 File Offset: 0x00044A48
 static ArtifactCatalog()
 {
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Command, new ArtifactDef
     {
         nameToken               = "ARTIFACT_COMMAND_NAME",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texCommandSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texCommandSmallDeselected",
         unlockableName          = "artifact_command"
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Bomb, new ArtifactDef
     {
         nameToken               = "ARTIFACT_BOMB_NAME",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSpiteSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSpiteSmallDeselected",
         unlockableName          = "artifact_bomb"
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Sacrifice, new ArtifactDef
     {
         nameToken               = "ARTIFACT_SACRIFICE_NAME",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSacrificeSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSacrificeSmallDeselected",
         unlockableName          = "artifact_sacrifice"
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Enigma, new ArtifactDef
     {
         nameToken               = "ARTIFACT_ENIGMA_NAME",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texEnigmaSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texEnigmaSmallDeselected",
         unlockableName          = "artifact_enigma"
     });
     ArtifactCatalog.RegisterArtifact(ArtifactIndex.Spirit, new ArtifactDef
     {
         nameToken               = "ARTIFACT_SPIRIT_NAME",
         smallIconSelectedPath   = "Textures/ArtifactIcons/texSpiritSmallSelected",
         smallIconDeselectedPath = "Textures/ArtifactIcons/texSpiritSmallDeselected",
         unlockableName          = "artifact_spirit"
     });
 }