Mailing List
Home
Forum Home
MUD Dev - Discussion of MUD system design, development, and implementation
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Assigning values to ITEM_*

Assigning values to ITEM_*

2003-12-04       - By Jesse Boulianne

 Back
Reply:     1     2     3  

When adding a new item_type that requires the use of obj->value[x], where do
you modify (or add) the code to allow the use of the value fields for the
new item?  I've scoured the code in search of the answer and have come up
empty-handed.  There's lots of examples in the code with regards to using
(and checking) the values, but I need to know how to assign v0 and v1 to a
specific object type.

For example, if you create an item_type called "car", where in the code do
you set it so that v0 will represent the maximum amount of gas the tank can
hold, and be able to modify that value via OLC?

Some light-shedding on this would be appreciated.

TIA

~Jesse


--
ROM mailing list
ROM@(protected)
http://www.rom.org/cgi-bin/mailman/listinfo/rom

Earn $52 per hosting referral at Lunarpages.