Owl_Guild

by Tafe
A somewhat viable guild system. [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Tafe.Owl_Guild##version=1

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Tafe.Owl_Guild##version=1

16 downloads
Version 1.2
Date added: Mar 2 2018
Last updated: Apr 18 2018
0 fans
/************
Library:
Name: Owl_Guild
Version: 1.2

Dependencies:
Library: Owl_Framework
Link: http://www.byond.com/developer/Tafe/Owl_Framework
version: 0.1 or higher
**************/


if people find interrest in adding more futures you can suggest it under "future requests" in the hub.

Reference
guild/proc
init(name)
add_player(var/mob/ref, rank)
remove_player(var/mob/ref)
return_roster()
import(name)
export()



mob/proc
guild_clear()
guild_savefile_check()

Comments

Tafe: (Mar 8 2018, 4:11 pm)
update 1.1

Added description and a viable example.
Guild.delete() is added
Tafe: (Mar 8 2018, 10:10 am)
update 1

Issues fixed:
Library actually works now.
/guild expanded with more functionality
Hub updated with corresponding procs(listed below)

Future additions before completion
guild/delete() - needs to be properly added to delete guild completely, and reset the variables to all /mob who holds mob/guild/guild = guild()

added:
guild
init(n) //n = guild name
add_player(var/mob/ref, rank) //ref = /mob to add to guild, rank = player rank
remove_player(var/mob/ref) //ref = /mob to remove from guild
return_roster() //outputs /member in roster
import(name) //imports /guild from savefile: guild/[name].sav
export() //exports /guild to savefile: guild/[name].sav