[Package Index | Mudlib Index | Effect Index]
File /obj/crafts/tanning/tanning_handler.c
Handler for tanning hides to make various things.Written by Touchstone
Started early 2007ish
Includes
This class includes the following files /include/tasks.hMethod index
- is_result_allowed(string, object)
Checks whether the skin can be turned into the result.
- make_desideratum(string, object, int)
Makes the leather, and sets it up according to the skillcheck result
passed in.
Public Functions
These are functions that everyone can access.
-
is_result_allowed
int is_result_allowed(string result,
object ob)
Checks whether the skin can be turned into the result.
Called from the tanning kit.
- Returns:
1 or 0
-
make_desideratum
object make_desideratum(string type,
object ob,
int tasker_degree)
Makes the leather, and sets it up according to the skillcheck result
passed in. Doesn't do any plausibility checking internally.
Called from the tanning kit after a successful skillcheck.
- Returns:
the piece of leather