SphereCommunity

Full Version: Origin of Spell Checking & Unidentified Attrib
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, anyone know where I can find the following:

- Where is spell checking happening? IE. No regs, spell not in spellbook, no spellbook, etc?

- Where the Unidentified attribute is defaulted to wearable items




Thanks Smile
Most of the checks are hardcoded a part from the "No reagent check" that is handled by a flag in the sphere.ini.
Hovewer you can override almost everything by using the @spellselect/@select trigger

https://wiki.spherecommunity.net/index.p...pellSelect
Hmm.. so you can't replicate the condition in a script (with simplicity)?

What about the Unidentified property, that seems to be declared as the default for items (AOS context menus). Is there a high level function to control this attribute? The other option appears to be adding 'ATTR=identified' to every item.


Thanks
About the identified attr, just create a globale @create trigger with EventsItem and put attr = 01.

The checks i think are replicable
ON=@create isn't being overridden for some reason.

// Events related to all items
EventsItem=e_itemidfix

[EVENTS e_itemidfix]

ON=@Create
attr = 01
name = test


this does nothing.

But if I go into the individual item and add
attr = 01
name = test

I get both changes.
You must use TYPEDEF instead of EVENTS.

https://forum.spherecommunity.net/Thread...EventsItem
Reference URL's