Dispel is the spell removal utility. It can be called by the user or by intone.
Original version Copyright 2001 by Kyle Sallee Additions/corrections Copyright 2002 by the Source Mage Team
Dispel is the spell removal utility. It can be called by the user or by intone.
Downgrade a spell to a previously installed version
Parameters
Parse the dispel script's parameters
Parameters
Remove the parsed parameters This is a silly way to do it
Display what dependencies were removed
Frontend to do common things for dispelling (keep a note of what has already been dispelled.
Move one step down the depends tree for the given spells, return list of spells removed. The caller is expected to call this in a loop until nothing is returned.
Common code for querying the user about children to remove Prints a message and asks a query, if ask-yes or ask-no is the provided action.
Common code for querying the user about parents spells. Asks a query, if ask-yes or ask-no is the provided action.
dis-associate with all its children (fix upward dep tree) remove spell from the downward tree
Find the spells that the following spell borks. Bork is a technical term which in this context refers to the situation where a spell is removed and spells that depend on it are broken. For example xorg borks blackbox.
Main dependency following engine. This will follow the dependency tree downwards for all the provided spells, then repair one level of borked parents. The caller is expected to call this repeatedly until there are no borked parents to remove.
Parameters
Main loop for dispel