Ship Upgrading and Extension-
- Periculi
- Fleet Officer
- Posts: 1282
- Joined: Sat Oct 13, 2007 7:48 pm
- Location: Necroposting in a forum near you
How do you access the data from the item in a block of script? I haven't seen any samples of using the data holder for items other than the amount of fuel you get added to your reactor- and that script wouldn't be helpful as a filter.
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
(itmGetTypeData itemStruct)
the armor pastes use it too look at them and dsUseArmorCoating for an example on it being used (it doesn't use lists but you can at least do alot without lists)
Look at dsExchangeSell for a easy way of filtering the items (all you have to do is alter a couple extra lines of code and you have your filter just don't use it on that dockscreen
).
oh and before you ask
(itmHasModifier itemStruct modifier) depending on how that works you might want to have lists for ease of making + or -
the armor pastes use it too look at them and dsUseArmorCoating for an example on it being used (it doesn't use lists but you can at least do alot without lists)
Look at dsExchangeSell for a easy way of filtering the items (all you have to do is alter a couple extra lines of code and you have your filter just don't use it on that dockscreen

oh and before you ask
(itmHasModifier itemStruct modifier) depending on how that works you might want to have lists for ease of making + or -
Crying is not a proper retort!
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
oh nevermind found an easy way scrSetListFilter no need for lists you will need to use cat though 
So you don't need to worry about itmHasModifier or lists

So you don't need to worry about itmHasModifier or lists
Crying is not a proper retort!
- Ttech
- Fleet Admiral
- Posts: 2767
- Joined: Tue Nov 06, 2007 12:03 am
- Location: Traveling in the TARDIS
- Contact:
I'm lost, but I guess I'll stay that way for now.Betelgeuse wrote:oh nevermind found an easy way scrSetListFilter no need for lists you will need to use cat though
So you don't need to worry about itmHasModifier or lists

- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
hmm I have an idea will see how many functions I can find in the xmls
Crying is not a proper retort!
- Periculi
- Fleet Officer
- Posts: 1282
- Joined: Sat Oct 13, 2007 7:48 pm
- Location: Necroposting in a forum near you
Please do- you have a lot of good ideas and if you gave some examples and some direction I would be willing to do any of the tedious bits and we could put some of these ideas into play in a more cohesive format.hmm I have an idea will see how many functions I can find in the xmls
You know what else- a member of the UTF, Apemant, who hasn't been authorized over here yet for some reason, has been putting together some really well written script and may be close to winning the mod challenge for a dynamic trading system without even realizing it.
Apemant also made the Jump to a Beacon code work and a new mod with 5 stargates you can pick up and move around as your own private network. Very awesome mods keep coming forth- might be someone to work with on functions and scripts that we could put into mods.
Periculi wrote:You know what else- a member of the UTF, Apemant, who hasn't been authorized over here yet for some reason, has been putting together some really well written script and may be close to winning the mod challenge for a dynamic trading system without even realizing it.
