Changin Crystal Currency

PutCursorHere

New Pirate
Registered
LV
0
 
Joined
Jul 28, 2026
Messages
3
Reaction score
0
Points
1
I finally got my private server to work after a few days of playing with it, and I was looking at making the premium in-game shop currency (crystal) purchasable from an npc.

Would anyone be able to help me on how I would approach doing this.

I'm using the 2022 DX9 source code.

Thank you in advance!
 
I've figured out how to add items into the game and the shops, and all that is working.

Would anyone know how to make my in-game item give the IMP currency. I've found commands in the init.lua, (GiveIMP) but can't seem to make it work in the itemeffect.lua file to make my item work.