Where exactly should I put them though? I can't seem to find do_look in tables.c...using the search tool on CPad [which is what I've been using to change code].
I just need a little bit of hand-holding for this...
Uugghh, man...I love how none of this was in the instructions for it.
I was told to put some code in act_obj.c, but it didn't specify, so I put it all at the very bottom, would that effect it? [if you want to see what it was, I'll gladly post it]
Also...could you tell me what all to do with cedit? I never done anything like this before and have no clue what to do with cedit.
hey just in case you didn't already, make sure to set the level on your new command down so your players can use it too. when you create a new command it defaults the commands level to your immortal characters level.
Which I have, I changed ITEM_EMPTY1 to ITEM_PIECE
Next it tells me:
in DB.C find:
------------------------
case ITEM_DRINK_CON:
case ITEM_KEY:
case ITEM_KEYRING:
under that add:
case ITEM_PIECE:
Which I have also done. I did a make clean and then make, everyone compiled beautifully. Then I started up the MUD, everything started up clean. I logged on, "ocreate 1201 bottom half sword", then "oset 1201 type piece" and I it tells me that its not a valid item type. So I tried all sorts of combinations of piece; piece, PIECE, item_piece, ITEM_PIECE, etc, and none of them work. What am I missing now?
Is that all it said to do? There is more. You need to add the new string in that itemtype array, although I can't remember where it is offhand (build.c perhaps).