SW Economy

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Krager
Dangerous
Dangerous
Posts: 105
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: SW Economy

Post by Krager »

Cholmondely wrote: Thu Jun 26, 2025 2:49 pm
Krager wrote: Thu Jun 26, 2025 2:29 pm
Есть возможность сделать чтоб "SW_Economy" при обнаружении "More_Moolah" использовала описание товаров из него?
Либо добавить в "SW_Economy" подробное описание каждого товара, что думаю предпочтительнее)
А то товаров куча уже, и время от времени добавляются новые.
А описание к ним вообще скудные. В "More_Moolah" описание товаров значительно расширили.
Is there any reason that you can't do this yourself in your own version? The Russian version of SW Economy does not need to be a carbon copy of the English!
Причина есть. Я в програмировании не разбираюсь. Тексты в кодах нахожу интуитивно. Если что то начинает работать не правильно - начинаю переводить заново. По этой причине и обращаюсь к знающим людям.
Если мне покажут на примере, например двух-трёх товаров, как добавить описание, по аналогии попытаюсь сам добавить остальные товары и подобрать для них описания.
User avatar
Cholmondely
Archivist
Archivist
Posts: 6108
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: SW Economy

Post by Cholmondely »

Krager wrote: Thu Jun 26, 2025 3:07 pm
Причина есть. Я в програмировании не разбираюсь. Тексты в кодах нахожу интуитивно. Если что то начинает работать не правильно - начинаю переводить заново. По этой причине и обращаюсь к знающим людям.
Если мне покажут на примере, например двух-трёх товаров, как добавить описание, по аналогии попытаюсь сам добавить остальные товары и подобрать для них описания.
Sorry. I'd not looked inside SW Economy - and you are right. It is not obvious how to do it. Stranger is back with us again, though. Why not ask him on Roolite? It should be easy for him, especially if you create the descriptions for him to add in.

There is more description on the wiki - try the pages listed here: https://wiki.alioth.net/index.php/Category:Commodities

Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Krager
Dangerous
Dangerous
Posts: 105
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: SW Economy

Post by Krager »

Нашёл ещё один вариант решения этого вопроса. Назрел момент когда дополнений стало много и необходимо вводить очерёдность их загрузки. Что решит многие проблемы без вмешательства в код самих дополнений.
Так как у нас получается игра модульная можно пойти по примеру Linux MagOS, там выставлена очерёдность загрузки модулей. просто введены цифры в начале названия файла. Так вот решение. Если сначала загрузить "SW Economy" выставить её например номер "005_SW Economy" а "More_Moolah" загрузить позднее например "010_More_Moolah" то всё работает так как мне хочется)
Буфер обмена01.jpg
User avatar
Cholmondely
Archivist
Archivist
Posts: 6108
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: SW Economy

Post by Cholmondely »

The original Oolite was written for the AppleMac by Aegidian in 2003. In 2006 it was then adapted for Windows by DAJT and adapted for Linux by Winston.

So each of the main versions is a little different - and the loading order of OXPs is one of the areas where these differences show themselves.

So for Windows, it is alphabetical - and adding z's to the name of the OXP causes it to load later (eg: Oolite.oxp.zzz.Montana05.Far_Arm_Ships.OXZ).

They tell me that for Linux it is in order of the date of birth of the author's great grandmother, and that for the AppleMac, it is to do with the DNA of the author's next-door neighbour.

But who knows? Truth is, we don't know!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Krager
Dangerous
Dangerous
Posts: 105
Joined: Wed Dec 11, 2024 9:44 pm
Location: Russian

Re: SW Economy

Post by Krager »

Нашёл ещё одну накладку в "SW Economy" и "More_Moolah" первая в том что "More_Moolah" должен загружаться после "SW Economy".
По своему исправил, правильно или нет, не знаю. Пишу для информации.
В "SW Economy" медицина обозначена как "medicine"
В "More_Moolah" медицина обозначена как "medicines"
Отсюда в списке товаров получаем два товара "Медицина".
Автозаменой поменял в "More_Moolah" все слова "medicines" на "medicine".
Вроде всё работает нормально.
User avatar
Cholmondely
Archivist
Archivist
Posts: 6108
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: SW Economy

Post by Cholmondely »

Cim's "SOTL" OXPs need to be loaded in a specific order.

"Song_of_the_Labyrinth_Startup_1.1" needs to be loaded first, and then either "SOTL_Exploration_0.4" or "Song_of_the_Labyrinth_Altmap_1.0". Cim somehow managed to ensure that it would happen in just that way.

I don't know how Cim did it, but perhaps Simba can work it out for you!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply