Comments (2)
From experimenting in hotseat a little more, all trains except 4+3 trains can be cross-bought from other companies. Not sure what would cause that but itβs at least a lead for when I have time to properly debug this.
from 18xx.
- the base code determined that both the 4 and 4+3 variants should be available for other corporations to buy (other code made sure the UI only presented the 4+3, which is how the train was bought initially by LNP)
- FE&MV has $325, more than the face value of a 4-train ($300) but less than the 4+3's face value ($360)
- the 1868 Wyoming code assumes that if two variants are available, we're buying from the depot
- when buying from the depot, we can only buy a train we can afford or the cheapest, so the 4+3 gets filtered out
The fix in #10793 is to simply return the single active variant if the train is in fact owned by a company instead of the depot.
from 18xx.
Related Issues (20)
- [18RoyalGorge] B2 paying revenue outside of brown phase HOT 1
- [21Moon+] Certificate Limit changes after closing corporations HOT 2
- [1822Africa] P12 (Saharan Fast Tile Lay) not working as expected HOT 3
- [18ZOO Map F] Cannot buy a share of PE HOT 2
- [1822PNW] Cannot convert minor to major without cash on hand
- [1841] Game will not load HOT 5
- [1846] GameError: Not a buyable train: 2-7 HOT 3
- [18GA] Better graphic for Jacksonville HOT 1
- [1822 family] E-train routes should require 2 tokens HOT 1
- [18Mag] Unable to select routes correctly HOT 1
- [1822MX] Home Station in Mexico City Not Placed After Purchase of NdeM token in Mexico City
- [1822PNW] P7 and P16 both should use up the normal tile laying step
- 1850 Mesabi token unavailable HOT 2
- [18RoyalGorge] gold and steel companies should pay out at end of final OR set
- [18RoyalGorge] enhancement ideas
- 18Rhl Trajektanstalt power cannot be used before the normal tile lay as it is supposed to HOT 1
- 1861: RSR buys 3T from the Pool HOT 2
- [18Rhl] Unfloated companies do not show in the spreadsheet, not even when shares are bought. HOT 1
- Max Players is not capped by game limit HOT 2
- [1822pnw] Backroom Negotations did not let me choose a company that had been removed from the game. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 18xx.