mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
* Positive moodlets when examining high-value paintings, plus tgui nitpicks (#84646) ## About The Pull Request This PR makes it so that, when framed, paintings can give positive moodlets based on their art element, which is based upon their patronage, meaning, the higher tha patronage, the better the positive moodlets. This PR also adjusts the tgui states to allow observers to interact with the painting, but only for zooming in and out. And expands the tgui window a little so hopefully you can see the plaquette when it's framed. ## Why It's Good For The Game Higher-valued pieces tend to also look better, right? . . . right? Ok, jokes apart, I think this is a nice touch to paintings. ## Changelog 🆑 add: Examining high-value paintings now can give a positive moodlet. qol: Observers can now zoom paintings in and out in the UI. /🆑 * Positive moodlets when examining high-value paintings, plus tgui nitpicks --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
|
|
// art quality defines, used in datums/components/art.dm, elsewhere
|
|
#define BAD_ART 12.5
|
|
#define OK_ART 20
|
|
#define GOOD_ART 25
|
|
#define GREAT_ART 50
|
|
|
|
///tgui tab portrait categories- they're the same across all portrait tguis.
|
|
#define TAB_LIBRARY 1
|
|
#define TAB_SECURE 2
|
|
#define TAB_PRIVATE 3
|
|
|
|
///cost defines for drawing graffiti: how many charges of a crayon or spraycan are used.
|
|
#define CRAYON_COST_SMALL 0.5
|
|
#define CRAYON_COST_DEFAULT 1
|
|
#define CRAYON_COST_LARGE 5
|
|
|
|
/**
|
|
* Patronage thresholds for paintings.
|
|
* Different cosmetic frames become available as more credits are spent on the patronage.
|
|
* These also influence the artistic value (read: positive moodlets) of a painting.
|
|
*/
|
|
#define PATRONAGE_OK_FRAME (PAYCHECK_CREW * 3) // 150 credits, as of march 2022
|
|
#define PATRONAGE_NICE_FRAME (PATRONAGE_OK_FRAME * 2.5)
|
|
#define PATRONAGE_GREAT_FRAME (PATRONAGE_NICE_FRAME * 2)
|
|
#define PATRONAGE_EXCELLENT_FRAME (PATRONAGE_GREAT_FRAME * 2)
|
|
#define PATRONAGE_AMAZING_FRAME (PATRONAGE_EXCELLENT_FRAME * 2)
|
|
#define PATRONAGE_SUPERB_FRAME (PATRONAGE_AMAZING_FRAME * 2)
|
|
#define PATRONAGE_LEGENDARY_FRAME (PATRONAGE_SUPERB_FRAME * 2)
|