search:

General



Rooms & Areas



Presence



Systems



Wiki Help



pmwiki.org



edit menu
Edit Page Upload Security

When replacing magical items and/or any item created by the treasure system, it is necessary to connect to the game's MySQL database.

  • First, build the base item:

Go to tr_magic_items
go to Data tab
click NOUN then DESCRIPTOR to sort
Click the values to copy (CTL + Y to copy or right mouse button)
Do this for each set of values (Data1, Data2, and Data 3)
Click here for screenshot example.

Make note of these values by pasting them into the item OLC code in Notepad.

0 0 0 0 3 8000 33 19
4 0 0 0 0 0 0 0
0 14 6 1 0 0 0 0

  • Next, assign the magical values.

In the SQL database, go to tr_magic_prefixes (if the item has a prefix) and sort by PREFIX

More than 1 set of values may be listed for PREFIX and SUFIX entries.

0 is for weapons
1 is for armor

Click here for screenshot example.

Find all appropriate values and add to item like this:

add_object_effect 5 carapace armor
add_object_effect 11 carapace armor

Example:

create_object
change_object_name item a platinum aegis
change_object_shortdesc aegis a platinum aegis of insight
change_object_data1 aeg 0 0 0 0 15 10000 32769 5
change_object_data2 aeg 5 0 0 0 3 0 0 0
change_object_data3 aeg 0 0 0 0 0 0 0 0
add_object_effect 1 aeg

Recent Changes - Page History - Printable View
Page last modified on December 13, 2006, at 12:44 PM EST
PmWiki 2.20-beta16 - www.PmWiki.org