Daemon guild_d
Documentation for the daemons-guild_d daemon in /daemons/guild_d.c.
Functions
- varargs int add_material(string guild, mixed m, int c)
int add_material(mixed m) Adds a material (object) to the pouch and detroys it from inventory. If m is a string, it’s added directly under that ID. The function returns 1 on success or 0 on failure.
-
int has_material(string guild, string m, int count)
int has_material(string m, int count) Checks for count material from the pouch if available (return 1), otherwise return 0. Material could also be in inventory, which is also checked.
-
int remove_material(string guild, string m, int count)
int remove_material(string m, int count) Removes count material from the pouch if available (return 1), otherwise it does nothing (return 0).
File generated by Lima 1.1a4 reStructured Text daemon.