Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-10-2001, 04:48 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
playing with inventory

Im trying to make somthing to do with inventory. How would I do this. I want to have NPCs that the player gets and every time they get them i want it to add 1 to the inventory but also to a string or somthing. This way they can get 3 of the NPC and it shows 3 in the inventory but wont allow them to get more until they go to some place and use it up. For example:

On bread baking on 2001, say you could carry 3 things of wheat. It showed 3 wheat symbols in the inventory. Then they had to carry it back to the bread place and they would walk to a table and 1 one disappear from the inventory leaving 2 wheat icons. Then the actions would happen. After making the first bread they had 2 wheats left. They can either go get another to make 3 there or just use up the other 2. How would this work. I dont know how to make it take 1 away from the inventory.
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.