Skip to content

Instantly share code, notes, and snippets.

@maxanier
Created December 4, 2017 20:53
Show Gist options
  • Save maxanier/a2cacf5294c4cfe02ab131f59e7199c2 to your computer and use it in GitHub Desktop.
Save maxanier/a2cacf5294c4cfe02ab131f59e7199c2 to your computer and use it in GitHub Desktop.
Overview Vampirism Village Rework
  • Three states for villages: Hunter, Neutral, Vampire
  • Naturally generated villages are mostly neutral, but a small percentage (config) is already controlled
    • Percentage could be dynamically calculated based on online players
    • Village which are controlled by default could have some faction specific buildings
    • Maybe an option in world gen menu to make assign all to one faction
  • Effects of a village being controlled
    • Spawn hunter/vampire randomly up to a certain threshold (only a handful, depending on village size)
    • Give boosts to any creature of the controlling faction inside the boundaries
      • Effect can be increased by fuelling a specific structure
    • A small percentage of the villagers will become angry/vampire
    • Villagers in hunter controlled villages will become immune and vampire ones are cured
  • Villages are controlled by a block or block structure
    • Block could be a multiblock structure.
      • Two block high totem style
      • Indicate current status or take over progress
      • Destroy any block above
      • Beacon like beam with color indication for faction
    • Block has to be fuelled to get the best effects
    • Vampires could use blood container
    • Hunter some other garlic container
  • Small raids might happen if the player is nearby
    • A small number of the opposite faction attack, but should not cause much permanent damage
  • Take over
    • If neutral, very easily. Place block and wait
    • If opposite, initiate a phase where the current faction tries to regain control. If that fails and all hostile creature are killed after that cooldown, the village becomes neutral and can be overtaken
  • Villages will eventually be taken over by the opposite faction
    • Only if structure not refilled
    • Small chance if player not near
    • Just a simulation in background and e.g. applied once chunk loaded?
    • Config (default?)
  • Notify nearby players about raids
  • Can only place one totem per village
  • Can place ones outside of village without any effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment