mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Complete Library Overhaul Part 1 (#17832)
* first edits * more commits yay * more changes * Update paradise.dme * changes * more edits * more edits * changes * more changes * changes * more stuff stuff Update tgui.bundle.js * FUCK * Many UI changes * Update Lib Computer UI and Correct Map Issues * squashed commits :) Guts Old Book/Manual Code and Reworks it final (almost) touches * this should pass tests now * fixes random ruin having a removed object * adds review suggestions Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * squashed commits :) update schema adds python requested changes implements proper python & sql scripts applies some requested changes + minor fixes bump SQL version to 40 Co-Authored-By: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> * applies requested changes from code review * lets pass some tests today more fixes * Apply suggestions from code review Co-authored-by: Farie82 <farie82@users.noreply.github.com> * more requested changes fulfilled * should fix map issues + a couple other things * fixes & sanitization stuff * Apply suggestions from code review Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> * updates UI and implements more requested changes * mother of bug fixes & UI cleanup * removes unused code * Apply suggestions from code review Co-authored-by: Farie82 <farie82@users.noreply.github.com> * fixes * adds GC checks * Apply suggestions from code review Co-authored-by: Farie82 <farie82@users.noreply.github.com> * requested changes + TGUI Cleanup and Styling Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
Farie82
SteelSlayer
Luc
parent
49817b4122
commit
f2813a6730
@@ -0,0 +1,47 @@
|
||||
//library category defines
|
||||
|
||||
//General Categories
|
||||
#define LIB_CATEGORY_FICTION 1
|
||||
#define LIB_CATEGORY_NONFICTION 2
|
||||
#define LIB_CATEGORY_RELIGION 3
|
||||
#define LIB_CATEGORY_FANTASY 4
|
||||
#define LIB_CATEGORY_HORROR 5
|
||||
#define LIB_CATEGORY_ROMANCE 6
|
||||
#define LIB_CATEGORY_MYSTERY 7
|
||||
#define LIB_CATEGORY_ADVENTURE 8
|
||||
#define LIB_CATEGORY_HISTORY 9
|
||||
#define LIB_CATEGORY_PHILOSOPHY 10
|
||||
#define LIB_CATEGORY_DRAMA 11
|
||||
#define LIB_CATEGORY_POETRY 12
|
||||
|
||||
|
||||
//Other Categories, ss13 related
|
||||
#define LIB_CATEGORY_EXPERIMENT 13
|
||||
#define LIB_CATEGORY_LEGAL 14
|
||||
#define LIB_CATEGORY_BIOGRAPHY 15
|
||||
#define LIB_CATEGORY_GUIDE 16
|
||||
#define LIB_CATEGORY_PAPERWORK 17
|
||||
#define LIB_CATEGORY_COOKING 18
|
||||
#define LIB_CATEGORY_DESIGN 19
|
||||
#define LIB_CATEGORY_COMBAT 20
|
||||
#define LIB_CATEGORY_THEATRE 21
|
||||
#define LIB_CATEGORY_EXPLORATION 22
|
||||
|
||||
//Departmental
|
||||
#define LIB_CATEGORY_LAW 23
|
||||
#define LIB_CATEGORY_SECURITY 24
|
||||
#define LIB_CATEGORY_SUPPLY 25
|
||||
#define LIB_CATEGORY_ENGINEERING 26
|
||||
#define LIB_CATEGORY_SERVICE 27
|
||||
#define LIB_CATEGORY_MEDICAL 28
|
||||
#define LIB_CATEGORY_RESEARCH 29
|
||||
#define LIB_CATEGORY_COMMAND 30
|
||||
|
||||
//Library Report button defines
|
||||
#define LIB_REPORT_HATESPEECH 1
|
||||
#define LIB_REPORT_EROTICA 2
|
||||
#define LIB_REPORT_OOC 3
|
||||
#define LIB_REPORT_COPYPASTA 4
|
||||
#define LIB_REPORT_BLANK 5
|
||||
#define LIB_REPORT_NOEFFORT 6
|
||||
#define LIB_REPORT_OTHER 7
|
||||
@@ -371,7 +371,7 @@
|
||||
#define INVESTIGATE_BOMB "bombs"
|
||||
|
||||
// The SQL version required by this version of the code
|
||||
#define SQL_VERSION 37
|
||||
#define SQL_VERSION 40
|
||||
|
||||
// Vending machine stuff
|
||||
#define CAT_NORMAL 1
|
||||
|
||||
@@ -2,5 +2,7 @@
|
||||
#define MAX_MESSAGE_LEN 1024
|
||||
#define MAX_PAPER_MESSAGE_LEN 3072
|
||||
#define MAX_PAPER_FIELDS 50
|
||||
#define MAX_BOOK_MESSAGE_LEN 9216
|
||||
///Max Characters that can be on a single book page, this will give players an average of 5000 words worth of writing space (1000 per page)
|
||||
#define MAX_CHARACTERS_PER_BOOKPAGE 5000
|
||||
#define MAX_SUMMARY_LEN 1500
|
||||
#define MAX_NAME_LEN 50 //diona names can get loooooooong
|
||||
|
||||
Reference in New Issue
Block a user