Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
veloren
veloren
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 290
    • Issues 290
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 25
    • Merge requests 25
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Veloren
  • velorenveloren
  • Merge requests
  • !1744

Merged
Created Jan 30, 2021 by Christof Petig@cpetigDeveloper3 of 3 tasks completed3/3 tasks

Economy rework, inter site trading, merchants in towns trading with players

  • Overview 45
  • Commits 69
  • Pipelines 47
  • Changes 49
  • By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license.
  • Migrations have been added if applicable
  • Significant changes of this merge request have been added to the changelog.

Remove shadow economy structure, assign per site natural resources from map, load professions from ron file, implement inter-site trading.

Add on demand economic information in map (turned off for now).

Implement relative price calculation, add merchants to sites and enable them to trade with players.

Provides also:

  • Incentives for sites to employ guards and produce martial goods
  • Economic simulation of stockpiling, gathering, (potentially warfare and sabotage)
  • Economic simulation of reaction to changes in the world (changed access to resources, trading routes and amounts) and of activity inside a site (e.g. how many people perform which profession).

Future improvments:

  • balance resources in regards to population
  • remember chunk allocation and usage (… to enable …)
  • spawn working people (ratio and position provided by this simulation)
  • proper handling of near and far resources
Edited Mar 13, 2021 by Christof Petig
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: christof/trading_MVP