Commodities in cargo missions#6360
Conversation
757628f to
1836856
Compare
|
Remind me:
I'm slightly skeptical, as the cargo run missions were a way to give the player a chance to transport something other than what's on the commodity market, plus some 'fun' falvours, like wedding dresses in urgent need. Adding the normal cargo might "water down" the mission, or at least be unnecessary? EDIT: I imagine if the client needs medicine, she can buy it over the market at the station where it's needed. If medicine is sold out, then we're in the NewsEventCommodity module territory, or SoldOut module. |
To me it's an uncanny valley kind of thing. The two groups are kept apart but I see now reason for it. Why could you not have a shipment of medicine? It's not specified what kind of medicine in either case. It could be a sample of something and I've sketched on that kind of scenario. This is more akin to how it works in the real world. You buy and sell stuff or you get contracted to take similar stuff from point A to point B.
In this iteration you can't sell the goods. Most of the strings of the new goods are either already translated or deliberately untranslated (.ja, .zh, etc.). I've used it for a while now and it doesn't feel strange at all. I could perhaps limit this cargo to just one branch each, to make it appear less frequently if that would somehow sweeten the deal? ;) |
|
Issue: Custom risk messages get wonky in this PR. Looking into. |
|
My words are not necessarily actionable, I'm just thinking out loud. @sturnclaw was positive to this, so. |
1836856 to
58860c0
Compare
Fixed! The prices needed to be adapted to the prices of the original cargo with a max_price of 300, which is used to calculate the risk of the mission. I added one new custom risk message and they go into module-cargorun and not commodities as getNumberOfFlavours() is hardcoded for one module. |
|
Chiming in here with some details from IRC that lead to this PR - the intent is that I will tackle the CargoManager during the upcoming development cycle and add support for carrying both equipment items and "tagged" cargo (e.g. unsaleable mission cargo, scooped stolen cargo, etc.). A planned goal is to be able to associate metadata such as purchase price with (groups of) cargo, so the flight log can record cargo trading profit in-game. As a consequence, the current approach of mission-specific duplicated commodities is not one I expect to make it to merge; instead cargo missions that give the player "regular" commodities will also provide the necessary metadata to tag those commodities as "unowned" (with similar consequences to carrying stolen cargo if the player defaults on the mission). |
Adds commodities to the cargo runs. Only the strings are used so they should not interfere with each other. The new cargo is registered again under a new dummy name cargo_<name of commodity>, and then added to branches with the other cargo.
58860c0 to
6bcc853
Compare
OK. I drop it down to draft. I believe the general idea to have more variety in cargo/commodities to be valid though. I'll keep this on a simmer until the future CargoManager drops. |
As mentioned on IRC. Adds some of the commodities to the cargo runs. Only the strings are used so they should not interfere with each other. The new cargo is registered again under a new dummy name cargo_, and then added to branches with the other cargo.