Skip to content

[Big] Feature/engine 2#4

Merged
RobbieKiwi merged 15 commits into
mainfrom
feature/engine_2
May 20, 2025
Merged

[Big] Feature/engine 2#4
RobbieKiwi merged 15 commits into
mainfrom
feature/engine_2

Conversation

@RobbieKiwi

Copy link
Copy Markdown
Owner

No description provided.

@RobbieKiwi RobbieKiwi changed the title Feature/engine 2 [Big] Feature/engine 2 May 17, 2025
Comment thread src/models/buses.py Outdated
id: BusId
x: float
y: float
asset_type: AssetType

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would you assign buses to a certain asset type? Multiple assets should be allowed into the same bus.
Also, I would not include ice cream information into the bus

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you remember when we were discussing at your house we said that we don't want people making generators/loads on the same bus as we want to force players to build transmission instead of building self-sufficient islands?
Also that there would be general buses as well as one special bus per player where they keep their ice cream.

To achieve this I was thinking to describe the limitations of what can be connected to each bus.
NPC Load bus -> Anyone can build a load
NPC Generator bus -> Anyone can build a generator
Player Load ice cream bus -> Only for the one player's ice cream

I am not proposing to keep track of how much ice cream is on the bus, that property is just a quick way to understand which buses are ice cream buses (same thing as a player bus) and which ones are not

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but remember that we would like to have a local market in each bus, so that it is possible to have both supply and demand (but from different players). Thus, the condition could be that for each bus, a player can only have one type of asset: generation or load. Remember we also spoke about the number of access points per bus (including transmission, consumption and generation).

@RomanCantu RomanCantu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, we are on a good track. We could define from here separate tasks to work on simultaneously.

@RobbieKiwi RobbieKiwi merged commit 3a29d20 into main May 20, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants