gplotAppraiseOpenStore(object, object, int, int)

Opens a store using the appraise skill.

void gplotAppraiseOpenStore(
    object oStore,
    object oPC,
    int nBonusMarkUp = 0,
    int nBonusMarkDown = 0
);

Parameters

oStore

Store object to open

oPC

PC to open the store for

nBonusMarkUp

A number in percent to mark up prices. (Default: 0)

nBonusMarkDown

A number in percent to mark down prices. (Default: 0)


Description

Opens oStore for oPC, allowing for an appraise skill check to further lower or raise prices.



Remarks

Calls OpenStore with parameters as provided to the function, except it adds or subtracts numbers to the markup and markdown values depending on the result of the appraise skill check.


Known Bugs

This isn't a bug at all, still: If you are using a system which has an edited version of the nw_i0_plot file in it, from before version 1.30, this function won't be available to you.


Requirements

#include "nw_i0_plot"

Version

1.30

See Also

functions: OpenStore
categories: Store Functions | Money Functions


 author: Lilac Soul, editor: Mistress