Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit c6fd7d8

Browse files
new skill icons
1 parent 7cef28c commit c6fd7d8

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

code/datums/mind.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@
811811
if(mind.exp_progress[skill] + amount >= EXPERIENCE_PER_LEVEL * (2**mind.skills[skill])) // exp required scales exponentially
812812
mind.exp_progress[skill] = 0
813813
adjust_skill(skill, 1)
814-
to_chat(src, span_boldnotice("your [skill] skill is now level [get_skill(skill)]!"))
814+
to_chat(src, span_boldnotice("Your [skill] skill is now level [get_skill(skill)]!"))
815815
return TRUE
816816
mind.exp_progress[skill] += amount
817817
return FALSE

code/modules/asset_cache/assets/crafting.dm

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
for(var/atom in GLOB.crafting_recipes_atoms)
88
add_atom_icon(atom, id++)
99
add_tool_icons()
10-
add_skill_icons()
10+
InsertAll("", 'icons/mob/skills.dmi', list(SOUTH))
1111

1212
/datum/asset/spritesheet/crafting/cooking
1313
name = "cooking"
@@ -50,16 +50,3 @@
5050

5151
for(var/tool in tool_icons)
5252
Insert(replacetext(tool, " ", ""), tool_icons[tool])
53-
54-
///Adds skill icons to the spritesheet
55-
/datum/asset/spritesheet/crafting/proc/add_skill_icons()
56-
var/list/skill_icons = list(
57-
SKILL_PHYSIOLOGY = icon('icons/obj/storage.dmi', "firstaid"),
58-
SKILL_MECHANICAL = icon('icons/obj/tools.dmi', "drill_bolt"),
59-
SKILL_TECHNICAL = icon('icons/obj/module.dmi', "bluespacearray"),
60-
SKILL_SCIENCE = icon('icons/obj/turrets.dmi', "mini_on", frame = 2),
61-
SKILL_FITNESS = icon('icons/obj/clothing/gloves.dmi', "boxing"),
62-
)
63-
64-
for(var/skill in skill_icons)
65-
Insert(replacetext(skill, " ", ""), skill_icons[skill])

icons/mob/skills.dmi

597 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)