O'Reilly logo

Flash Multiplayer Virtual Worlds by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Trading with NPC

We discussed item trading between players in the last chapter. We are going to discuss trading items with NPC now. The difference in trading between NPC and trading between users is that the former creates a new item and sells it to the player and the latter just passes an item from one player to another. The item creation process means the total amount of the items inside the virtual world increases, and it may lead to a virtual economy problem such as inflation. Therefore, some virtual worlds will set a limit to some rare items that even the NPC will not always sell. Instead, they will mark it as no stock until the amount of the items is below the upper limit.

Buying items from NPC

Not every NPC sells the same items. Some NPCs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required