Just noticed that this uses itemListCursor which is based on the deprecated function getItemListCursor .
So, should shpRepairItem be deprecated as well?
I presume that itmSetDamaged would be used now.
shpRepairItem - should it be deprecated?
- Aury
- Fleet Admiral
- Posts: 5528
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
itmSetDamage can set something to undamaged?
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
shpRepairItem accepts itmStruct directly now.
It's one of the functions on xelerus that needs to be updated.
I can extract the notes on xelerus and put them on the pastie we are using, later
It's one of the functions on xelerus that needs to be updated.
I can extract the notes on xelerus and put them on the pastie we are using, later
Yes, yes it can. I just used it in when I removed getItemListCursor and shpRepairItem from The Almighty Wrench.Wolfy wrote:itmSetDamage can set something to undamaged?
- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
Yes, it goes for shpEnhanceItem too
The difference between using a 'shp*' function for an 'itm*' function directly is that you don't need to take care of replacing the item on the ship in question. Say you are enhancing an item on a ship. If it is already installed and you want to use (itmSetEnhanced ...) then you have to uninstall, remove, enhance, replace, install... quite a hassle. (shpEnhanceItem ...) takes care of that for you.
The difference between using a 'shp*' function for an 'itm*' function directly is that you don't need to take care of replacing the item on the ship in question. Say you are enhancing an item on a ship. If it is already installed and you want to use (itmSetEnhanced ...) then you have to uninstall, remove, enhance, replace, install... quite a hassle. (shpEnhanceItem ...) takes care of that for you.
- digdug
- Fleet Admiral
- Posts: 2620
- Joined: Mon Oct 29, 2007 9:23 pm
- Location: Decoding hieroglyphics on Tan-Ru-Dorem
latest pastie, I added the list of functions that are on Xelerus, but are outdated
http://paste.pocoo.org/show/eayZVSnzna8fB2K73hZz/
http://paste.pocoo.org/show/eayZVSnzna8fB2K73hZz/