Aller au contenu

Photo

Merchant Source Code


1 réponse à ce sujet

#1
Nodrak

Nodrak
  • Members
  • 144 messages
I was hoping that maybe someone from Bio could help me here, I was looking to figure out how merchants handle their items with regard to level scaling, among other things, and was dismayed to find that merchant_core.nss is blank.  Now, either this class truly is emtpy, or the source was stripped :(

If this is on purpose, then can I ask for a description of what the following variables do?

Merchant_Counter_1
Merchant_Counter_2
Merchant_Counter_3
Merchant_Is_Scaled  (I can guess this one, even though it is of type INT)
Merchant_Level_override 
Merchant_Level_Modifier 
Merhcant_High_Chance

I can surmise the basics of the last 4, but they are still left undocumented and unreferenced, not in code, the source, or the wiki.

Thank you in advance to anyone with answers.

#2
BryanDerksen

BryanDerksen
  • BioWare Employees
  • 273 messages
Merchant_core really is blank. We created "default" event-handler scripts for all of the basic resource types, but in the case of merchants there was no particular default event-handling behavior in need of scripting support.



I don't know what the variables are used for, I presume some of them are used by the treasure system.