mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 18:11:47 +00:00
* 10K hours 60,000 minutes hahah sure if you want a trailing newline i can do that default cloak gets default skill lazy list and no equip good necessary ig Update code/datums/skills/_skill.dm Co-Authored-By: nemvar <47324920+nemvar@users.noreply.github.com> Update code/datums/skills/gaming.dm Co-Authored-By: Angust <46400996+Angustmeta@users.noreply.github.com> WIP PDA skill monitor program hacky fixes till i refactor skills refactors skills a bit, adds admin skill edit menu If you have a failing, it's that you're always demanding perfection ...IF you have a failing i think that's it for the admin skill manger appeases lord flord bruh level names FUCK!! unga Update code/modules/vehicles/vehicle_key.dm Co-authored-by: Rohesie <rohesie@gmail.com> Update code/modules/admin/topic.dm Co-authored-by: Rohesie <rohesie@gmail.com> Update code/modules/admin/skill_panel.dm Co-authored-by: Rohesie <rohesie@gmail.com> Update code/modules/admin/skill_panel.dm Co-authored-by: Rohesie <rohesie@gmail.com> Apply suggestions from code review frick Co-authored-by: Rohesie <rohesie@gmail.com> EOL and dumb spaces more rohsie bait tgui: Query Windows Registry for BYOND cache directory hell yeah brother update tgui and dmi CLRF and bat file typo ig * tgui and new janicloak that i accdiently changed on another branch * jani * gamer cloak * trim trailing whitespace * tgui * bruh * variable renaming
23 lines
830 B
Plaintext
23 lines
830 B
Plaintext
/*!
|
|
This subsystem mostly exists to populate and manage the skill singletons.
|
|
*/
|
|
|
|
SUBSYSTEM_DEF(skills)
|
|
name = "Skills"
|
|
flags = SS_NO_FIRE
|
|
init_order = INIT_ORDER_SKILLS
|
|
///Dictionary of skill.type || skill ref
|
|
var/list/all_skills = list()
|
|
///List of level names with index corresponding to skill level
|
|
var/list/level_names = list("None", "Novice", "Apprentice", "Journeyman", "Expert", "Master", "Legendary") //List of skill level names. Note that indexes can be accessed like so: level_names[SKILL_LEVEL_NOVICE]
|
|
|
|
/datum/controller/subsystem/skills/Initialize(timeofday)
|
|
InitializeSkills()
|
|
return ..()
|
|
|
|
///Ran on initialize, populates the skills dictionary
|
|
/datum/controller/subsystem/skills/proc/InitializeSkills(timeofday)
|
|
for(var/type in GLOB.skill_types)
|
|
var/datum/skill/ref = new type
|
|
all_skills[type] = ref
|