Adds a display for job difficulty as well as a description of the job (#30960)

* tip window, comments, padding, difficulty supervisor

* spacing

* shows missing stars

* dmi to base64

* defines

* assigned difficulty to each job

* added star sprites

* assistant fix

* show stars when assistant

* Fixed restrictions

* comment

* consistent size work preference

* tooltips now work, indented html

* inlined the tooltip script

* Moved buttons to top

* padding and margins

* align learn more button right

* css cleanup

* added descriptions. HTML encoding.

* cargo description expansion

* linting

* null check

* l

* 3 half stars

* lint

* miner difficulty 3->4

* spacing and removed old test comments

* spacing pt1

* spacing pt2

* string names of colors

* spacing

* rearranged defines

* span -> defines

* snake_case

* removed extra space

* Apply suggestions from code review

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

* Update code/modules/client/preference/character.dm

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
Christer2222
2025-12-18 23:09:07 +00:00
committed by GitHub
co-authored by DGamerL
parent 6a370b5598
commit e2efb09016
13 changed files with 268 additions and 41 deletions
+10
View File
@@ -1,3 +1,13 @@
#define NONE_DIFFICULTY 0
#define EASY_DIFFICULTY 1
#define LOW_DIFFICULTY 2
#define MEDIUM_DIFFICULTY 3
#define HARD_DIFFICULTY 4
#define VERY_HARD_DIFFICULTY 5
#define EXTREMELY_HARD_DIFFICULTY 6
#define MAX_DIFFICULTY 6
///////////////////////////////
// WARNING //
////////////////////////////////////////////////////////////////////////