talisman

Vars | |
| talisman_desc | String. The description of the talisman effect exposed to cultists on examine. |
|---|---|
| talisman_name | String. The true name of the talisman exposed to cultists on examine. |
| talisman_sound | Sound file. The sound to play when the talisman is invoked. |
| valid_target_type | Type or list of types. The type(s) that this talisman can be used on. |
Procs | |
| can_invoke | Whether or not this talisman can be invoked on the target by the user. |
| invoke | Called when a user invokes the talisman against a target. Overrides should contain the code handling the talisman's actual effects. can_invoke() is already checked before this is called. |
Var Details
talisman_desc

String. The description of the talisman effect exposed to cultists on examine.
talisman_name

String. The true name of the talisman exposed to cultists on examine.
talisman_sound

Sound file. The sound to play when the talisman is invoked.
valid_target_type

Type or list of types. The type(s) that this talisman can be used on.
Proc Details
can_invoke
Whether or not this talisman can be invoked on the target by the user.
Parameters:
target- The targeted atom.user- The mob attempting to invoke the talisman.silent(boolean) - If set,userwill not be given any feedback messages on why they cannot invoke the talisman.
Returns boolean. Whether or not the talisman can be invoked.
invoke
Called when a user invokes the talisman against a target. Overrides should contain the code handling the talisman's actual effects. can_invoke() is already checked before this is called.
Parameters:
target- The targeted atom.user- The mob attempting to invoke the talisman.