- type: entity
  # begin starcup: genericize and abstract parent entity
  # name: space bible
  # description: New Interstellar Version 2340.
  abstract: true
  # end starcup
  parent: BaseStorageItem
  id: Bible
  components:
  - type: UseDelay
    delay: 10.0
  - type: Bible
    damage:
      groups:
        Brute: -15
        Burn: -15
    damageOnFail:
      groups:
        Brute: 15
        Airloss: 15
    damageOnUntrainedUse: ## What a non-chaplain takes when attempting to heal someone
      groups:
        Burn: 10
  - type: MeleeWeapon
    soundHit:
      collection: Punch
    damage:
      types:
        Holy: 25
        Blunt: 1
  - type: Prayable
    bibleUserOnly: true
  - type: Summonable
    specialItem: SpawnPointGhostRemilia
  - type: ReactionMixer
    mixMessage: "bible-mixing-success"
    reactionTypes:
    - Holy
  - type: Sprite
    sprite: Objects/Specific/Chapel/bible.rsi
    state: icon
  - type: Item
    size: Small
    sprite: Objects/Specific/Chapel/bible.rsi
  - type: Clothing
    slots:
    - Belt
  - type: Storage
    grid:
    - 0,0,0,1
  - type: UserInterface
    interfaces:
      enum.StorageUiKey.Key:
        type: StorageBoundUserInterface
  - type: Tag
    tags:
    - Book
  - type: StealTarget
    stealGroup: Bible

- type: entity
  parent: [Bible, BaseTraitorContraband] # starcup: shared contraband level with nt gear
  name: necronomicon
  description: "There's a note: Klatuu, Verata, Nikto -- Don't forget it again!"
  id: BibleNecronomicon
  components:
  - type: Bible
    damage:
      types:
        Caustic: 20 ## ~15 dps
    damageOnFail:
      groups:
        Brute: 15
        Airloss: 25
    damageOnUntrainedUse:
      types:
        Caustic: 50
    failChance: 0
    locPrefix: "necro"
    healSound: "/Audio/Effects/lightburn.ogg"
  - type: Summonable
    specialItem: SpawnPointGhostCerberus
    respawnTime: 300
  - type: Sprite
    sprite: Objects/Specific/Chapel/necronomicon.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/necronomicon.rsi

- type: entity
  parent: BaseAction
  id: ActionBibleSummon
  name: Summon familiar
  description: Summon a familiar that will aid you and gain humanlike intelligence once inhabited by a soul.
  components:
  - type: Action
    icon: { sprite: Clothing/Head/Hats/witch.rsi, state: icon }
    useDelay: 1
  - type: InstantAction
    event: !type:SummonActionEvent

- type: entity
  id: BibleDruid
  name: druidic tablet
  parent: Bible
  description: Texts of the Broken Stones faith are painstakingly etched into these moss-eaten, crumbling tablets. # starcup: rewritten for setting lore
  components:
  - type: Sprite
    sprite: Objects/Specific/Chapel/mysteryofthedruids.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/mysteryofthedruids.rsi

- type: entity
  id: BibleCommunistManifesto
  name: communist manifesto
  parent: Bible
  description: "Remove the mask of humanity from Capital."
  components:
  - type: Sprite
    sprite: Objects/Specific/Chapel/communistmanifesto.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/communistmanifesto.rsi

- type: entity
  id: BibleNarsie
  name: gothic bible # starcup: renamed for setting lore
  parent: Bible
  description: A copy of an ancient text dedicated to the dark goddess Visigoth. You can't read any of the words, but the pictures are probably goffick enough to base a religion around. # starcup: rewritten for setting lore
  components:
  - type: Sprite
    sprite: Objects/Specific/Chapel/tomeofnarsie.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/tomeofnarsie.rsi

- type: entity
  id: BibleNanoTrasen
  name: codex nanotrasimus
  parent: Bible
  description: "A familiar book containing the Sacred Operating Procedures."
  components:
  - type: Sprite
    sprite: Objects/Specific/Chapel/codexnanotrasimus.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/codexnanotrasimus.rsi

# begin starcup: removed for tone
#- type: entity
#  id: BibleHonk
#  name: mirth of the honkmother
#  parent: Bible
#  description: "Oh great and glorious Mother, Mistress of Mirth, Matron of Mask and Merriments, Blessed is she amongst us jesters."
#  components:
#  - type: Sprite
#    sprite: Objects/Specific/Chapel/honk.rsi
#  - type: Item
#    sprite: Objects/Specific/Chapel/honk.rsi
# end starcup

- type: entity
  id: BibleRatvar
  name: tablet of ratvar
  parent: Bible
  description: "A holy relic of the Clockwork Cult, blessed by the Clockwork Justice, Ratvar."
  components:
  - type: Sprite
    sprite: Objects/Specific/Chapel/ratvartablet.rsi
  - type: Item
    sprite: Objects/Specific/Chapel/ratvartablet.rsi
