mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
There are many files, folders and chunks of code in areas that make absolutely no sense and thanks to the defines being located mostly in a completely separate file, it can be damn-near impossible to find something. Before moving defines to where the rest of their code is located; I'm going to move some code around into places that actually make sense to begin with. I'll mainly be focusing on the code/game/objects folder. This commit mainly lays the groundwork for the work I'll be doing by adding in the effects, structures, decals and turfs folders. I'll slowly be moving appropriate files and code into these folders. I may end up moving machinery into 'objects' and mech stuff into its own module folder but I'll ask for some opinions on coderbus before doing that. I've also gotten rid of the /magic/ folder. I've moved the library stuff into its own folder in modules/library, the cult stuff is now in gamemode/cult with the rest of it and musician.dm is now in objects/structures since the piano is a structure apparently. I think I've got the hang of how DM and SVN handles folders and files but it's quite possible that something will break simply by svn committing it oddly. Please let me know if that's the case! Remember to clean compile. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4513 316c924e-a436-60f5-8080-3fe189b3f50e
62 lines
2.5 KiB
Plaintext
62 lines
2.5 KiB
Plaintext
//*******************************
|
|
//
|
|
// Library SQL Configuration
|
|
//
|
|
//*******************************
|
|
|
|
// Deprecated! See global.dm for new SQL config vars -- TLE
|
|
/*
|
|
#define SQL_ADDRESS ""
|
|
#define SQL_DB ""
|
|
#define SQL_PORT "3306"
|
|
#define SQL_LOGIN ""
|
|
#define SQL_PASS ""
|
|
*/
|
|
|
|
//*******************************
|
|
// Requires Dantom.DB library ( http://www.byond.com/developer/Dantom/DB )
|
|
|
|
|
|
/*
|
|
The Library
|
|
------------
|
|
A place for the crew to go, relax, and enjoy a good book.
|
|
Aspiring authors can even self publish and, if they're lucky
|
|
convince the on-staff Librarian to submit it to the Archives
|
|
to be chronicled in history forever - some say even persisting
|
|
through alternate dimensions.
|
|
|
|
|
|
Written by TLE for /tg/station 13
|
|
Feel free to use this as you like. Some credit would be cool.
|
|
Check us out at http://nanotrasen.com/ if you're so inclined.
|
|
*/
|
|
|
|
// CONTAINS:
|
|
|
|
// Objects:
|
|
// - bookcase
|
|
// - book
|
|
// - barcode scanner
|
|
// Machinery:
|
|
// - library computer
|
|
// - visitor's computer
|
|
// - book binder
|
|
// - book scanner
|
|
// Datum:
|
|
// - borrowbook
|
|
|
|
|
|
// Ideas for the future
|
|
// ---------------------
|
|
// - Visitor's computer should be able to search the current in-round library inventory (that the Librarian has stocked and checked in)
|
|
// -- Give computer other features like an Instant Messenger application, or the ability to edit, save, and print documents.
|
|
// - Admin interface directly tied to the Archive DB. Right now there's no way to delete uploaded books in-game.
|
|
// -- If this gets implemented, allow Librarians to "tag" or "suggest" books to be deleted. The DB ID of the tagged books gets saved to a text file (or another table in the DB maybe?).
|
|
// The admin interface would automatically take these IDs and SELECT them all from the DB to be displayed along with a Delete link to drop the row from the table.
|
|
// - When the game sets up and the round begins, have it automatically pick random books from the DB to populate the library with. Even if the Librarian is a useless fuck there are at least a few books around.
|
|
// - Allow books to be "hollowed out" like the Chaplain's Bible, allowing you to store one pocket-sized item inside.
|
|
// - Make books/book cases burn when exposed to flame.
|
|
// - Make book binder hackable.
|
|
// - Books shouldn't print straight from the library computer. Make it synch with a machine like the book binder to print instead. This should consume some sort of resource.
|