Jump to content

Need an example for ADD_CRE_ITEM_FLAGS


Recommended Posts

From the weidu readme:


ADD_CRE_ITEM_FLAGS: adds flags to all matching items possessed by a creature. Regexp allowed. This is a PATCH macro and function.

  • SPRINT item_to_change to the item the flags should be added to
  • SPRINT flags to flags you need to add (usual weidu syntax: STOLEN, IDENTIFIEDSTOLEN, etc).

I know this is what I'd like to use, but I have no clue how. I'm trying to patch the item NTROBE02 from the creature NTORC03.cre with the addditional flag "UNDROPPABLE".

Could someone give me a working example?

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...