The ship won't pull from my wares.xml (but if I take it out of the wares file its says 0cr ) It shows the default amount of credits when you purchase it but in the unit info tab it shows the correct cost
here you could use the highlight feature in case something went wrong
copy all code on one page and select the string you know it is right, then all others should highlight
will be helpfull that day you start coding with $vars and $var
here you could use the highlight feature in case something went wrong
copy all code on one page and select the string you know it is right, then all others should highlight
will be helpfull that day you start coding with $vars and $var
I honestly never thought about doing that, thanks for the tip!
"We are the middle children of History. Born too late to explore the earth, born to early to explore the stars."
So I have no idea why this ship is being such a pain, but now Its not pulling from my wares.xml (its using the default one) I'm 99.9% sure I have everything pathed right but obviously I don't, any ideas?
If the errors from the first post are relevant : did you add the full path of your ship macro into the index/macros.xml ? (including extensions/your extension)
Same for the component file if you use your own one
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
UniTrader wrote:If the errors from the first post are relevant : did you add the full path of your ship macro into the index/macros.xml ? (including extensions/your extension)
Same for the component file if you use your own one
I got that error fixed (it was using an older file path) but I'm still unsure as to why its defaulting to the original wares.xml instead of the price I have set (the price shows up in the Units info tab but if you build it it shows the default amount and costs that)
"We are the middle children of History. Born too late to explore the earth, born to early to explore the stars."
I seem to remember the actual price for ship construction resulting from the resources that you put in. I think the number you put in the "price" node is irrelevant in that regard.