Station help.

Freeform discussion about anything related to modding Transcendence.
Post Reply
e_____e
Miner
Miner
Posts: 33
Joined: Sun Sep 30, 2007 6:40 pm

Well, I've been wondering if it's possible to have different shops in one station. In the station I'm making, I want a weapons shop, a defenses shop, a technology shop, and a general shop, but I don't know if that's possible.

Code: Select all

(setq gShowCriteria "*")
It has something to do with that, but I'm not sure exactly how to go about doing it.
User avatar
dvlenk6
Militia Captain
Militia Captain
Posts: 519
Joined: Sun Mar 05, 2006 6:56 am
Location: Sanctuary and beyond
Contact:

Make the shops as dock panes.
Use the (setq gShowCriteria ...) before calling the &dsExchangeBuySell; dockscreen.
Here is the list of the letter codes:
a armor
d device (weapon, shield, drive, etc.)
f fuel
l launcher weapon only
m missile
r reactor
s shields
t miscellaneous
u useful (armor coating, ROM, etc.)
v drive
w weapon (including launchers)
I is installed
D is damaged
N is not damaged
S is useable
U is not installed

Means that "*NU" is * (All Items), N (Not damaged), and U (not installed)

Then the modifiers (from the item's modifiers) go after the letter codes.
+ must have this modifier
- must not have this modifier

"*NU -military" would be all undamaged uninstalled items that don't have military modifier. A '+' instead of the '-' would make it so that the items Must Have military modifier.

The station would have to have all of the items for all of the different shops in it's [Items]...[/Items], then use the (setq gShowCriteria ...) on each dock pane to limit which ones of the station's inventory would work for the individual 'shop' pane's buy/sell screens.
"War is hell."
-William Tecumseh Sherman
http://dvlenk6.blackraven3d.com/transgals.html
e_____e
Miner
Miner
Posts: 33
Joined: Sun Sep 30, 2007 6:40 pm

Thanks.
User avatar
evilbob
Militia Captain
Militia Captain
Posts: 555
Joined: Sun Mar 05, 2006 1:23 pm

I'm sure I did this with one of my mods. A station had 2 shops, a junk shop for damaged items, then a normal shop.
Kamikaze
Commonwealth Pilot
Commonwealth Pilot
Posts: 78
Joined: Mon Apr 23, 2007 4:41 am
Location: Canton, MI/Redford, MI (Home/School)

Could it have been in your TIC mod?

I've still got it despite a full wipe of my hard drive (Willingly, thank god).

Yeah, I'm a pack rat, keeping mods from .97 well into .98.
I never said I was sane.

I said I was perfectly insane.
Post Reply