Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Origin of Spell Checking & Unidentified Attrib
Author Message
snoozed
Apprentice
*

Posts: 7
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2014
Reputation: 0



Post: #1
Origin of Spell Checking & Unidentified Attrib
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
(This post was last modified: 05-08-2017 04:29 PM by snoozed.)
05-08-2017 10:55 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Origin of Spell Checking & Unidentified Attrib
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
05-08-2017 04:40 PM
Find all posts by this user Like Post Quote this message in a reply
snoozed
Apprentice
*

Posts: 7
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2014
Reputation: 0



Post: #3
RE: Origin of Spell Checking & Unidentified Attrib
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
05-09-2017 10:05 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 246
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Origin of Spell Checking & Unidentified Attrib
About the identified attr, just create a globale @create trigger with EventsItem and put attr = 01.

The checks i think are replicable
05-09-2017 06:58 PM
Find all posts by this user Like Post Quote this message in a reply
bmanny
Apprentice
*

Posts: 25
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2017
Reputation: 0



Post: #5
RE: Origin of Spell Checking & Unidentified Attrib
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.
05-10-2017 09:14 AM
Find all posts by this user Like Post Quote this message in a reply
Murmur
Apprentice
*

Posts: 33
Likes Given: 3
Likes Received: 2 in 2 posts
Joined: Feb 2013
Reputation: 0



Post: #6
RE: Origin of Spell Checking & Unidentified Attrib
You must use TYPEDEF instead of EVENTS.

https://forum.spherecommunity.net/Thread...EventsItem

*you glance to your left to a region you just surveyed... you glimpse a magical being, more shadow than substance, caught midway in transformation... the figure smiles, the corners of his mouth jut upwards slightly on the edges, suddenly stretched to a length not at all human...*
(This post was last modified: 05-10-2017 03:30 PM by Murmur.)
05-10-2017 03:30 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)