Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperstructure points system #1123

Closed
bob0005 opened this issue Jul 18, 2024 · 1 comment
Closed

Hyperstructure points system #1123

bob0005 opened this issue Jul 18, 2024 · 1 comment
Assignees

Comments

@bob0005
Copy link
Collaborator

bob0005 commented Jul 18, 2024

Current mechanics:
When creating a hyperstructure, there's 1 owner and N potential contributors who can help finish it.
Currently, once the hyperstructure is finished, the owner and the contributors earn points every seconds depending on their contributions.

Issues

  1. When the hyperstructure gets conquered by another player, only the owner changes, not the contributors. The contributors still earn points after the hyperstructure is conquered and there's no incentive for them to defend the hyperstructure.
  2. The hyperstructure demands a lot of resources to be built, not being spent for armies. We fear that people would rather just build up their armies and wait for someone else to build one because it would be easier to conquer it then to build it themselves.

Improvements

  1. When a hyperstructure is finished, a one time amount of point goes to the owner and the contributors. This allows them to get rewarded for all the resources that were given and even if someone else conquers it right away, they still get something out of it, giving some incentive to help build it.
  2. When the structure is finished, the contributors are automatically set as "co-owners" and receive a share of points every tick.
    When the hyperstructure is conquered by someone else, the new owner needs to decide who the new co-owners are. He can assign a % of the shares to the players he wants. These players will earn points every tick depending on their share.

Interesting gameplay can arise from this because you can then choose who has more incentive to defend this structure by giving them bigger shares then others. You can also give shares to someone who didn't help at all for the conquest if you think he'd be a good ally. You'll also need to manage negotiations between people who think they deserve a bigger share than others, etc... You can also just set yourself as sole owner if you have the balls to defend it yourself.

-- Raschel

@bob0005
Copy link
Collaborator Author

bob0005 commented Jul 18, 2024

Implementation proposition:

  1. Contributors get a fixed amount of points, in proportion of their contribution.

  2. New 'set_co_owners' contract call who emits HyperstructureCoOwnersShareEvent

HyperstructureCoOwnersShareEvent:

  • LastUpdatedAt
  • LastUpdatedBy
    span<(realm_entity_id, % of shares)>

Current Hyperstructure impl. stays the same. Small difference: As long as this event hasnt been emitted, no points are generated for the structure.

LastUpdatedAt -> Only let the owner change coowners every x hours
LastUpdatedBy -> If new owner (just claimed the hyperstructure), let him change coowners without worrying about LastUpdatedAt ts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants