MakeMenu | ||
---|---|---|
Prototype | MakeMenu( sock, mnu ); | |
Purpose | Opens up make menu mnu and sends it to sock | |
Example of Usage | MakeMenu( sock, 1 ); |
MakeItem | ||
---|---|---|
Prototype | MakeItem( sock, player, itemNum ); | |
Purpose | Player makes the item itemNum. itemNum points to a create.scp (SECTION ITEM itemNum) entry. Sock can be -1 | |
Example of Usage | MakeItem( sock, player, 1 ); |
CalcRank | ||
---|---|---|
Prototype | int CalcRank( minRank, maxRank, minSkill, skillNum, playerChar ); | |
Purpose | Calculates the rankage of a player char when making an item with skill skillNum. | |
Example of Usage | var finalRank = CalcRank( 0, 10, 0, 0, mChar ); |
ApplyRank | ||
---|---|---|
Prototype | void ApplyRank( itemNum, rank ); | |
Purpose | Apply's rank to an item itemNum that's been created | |
Example of Usage | ApplyRank( itemMade, 5 ); |