> For the complete documentation index, see [llms.txt](https://wiki.openmc.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.openmc.fr/zunhuycbzyencd/systems/interests.md).

# Les intérêts

Dans le plugin **OpenMC** il y a un système de banques. Il y a des banques personnels (pour chaque joueur) et des banques de ville (pour chaque ville).\
Les deux sortes de banques peuvent percevoir des intérèts deux fois par semaine. Le Lundi et le Jeudi à 2h du matin (heure Française).

Si une feature que vous développez à besoin de modifier le taux d'intérêt des joueurs et/ou des villes il suffit de modifier les fonctions suivants:

* Pour les joueurs, la fonction `calculatePlayerInterest` dans la classe `BankManager`
* Pour les villes, la fonction `calculateCityInterest` dans la classe `City`\
  La valeur retournée est le taux d'intérêt en proportion et non en pourcentage.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.openmc.fr/zunhuycbzyencd/systems/interests.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
