Files
Bubberstation/code/modules/library/skill_learning/job_skillchips/chef.dm
SkyratBot f9171bc2ff [MIRROR] Fixes Cook CQC + job change config fixes [MDB IGNORE] (#13592)
* Fixes Cook CQC + job change config fixes

* Update _job.dm

* Update jobs.dm

* Update department_guards.dm

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: Tom <8881105+tf-4@users.noreply.github.com>
2022-05-20 14:45:47 +01:00

24 lines
1.1 KiB
Plaintext

/obj/item/skillchip/job/chef
name = "B0RK-X3 skillchip" // bork bork bork
desc = "This biochip faintly smells of garlic, which is odd for something that is normally wedged inside a user's brain. Consult a dietician before use."
skill_name = "Close Quarters Cooking"
skill_description = "A specialised form of self defence, developed by skilled sous-chef de cuisines. No man fights harder than a chef to defend his kitchen."
skill_icon = "utensils"
activate_message = "<span class='notice'>You can visualize how to defend your kitchen with martial arts.</span>"
deactivate_message = "<span class='notice'>You forget how to control your muscles to execute kicks, slams and restraints while in a kitchen environment.</span>"
/// The Chef CQC given by the skillchip.
var/datum/martial_art/cqc/under_siege/style
/obj/item/skillchip/job/chef/Initialize(mapload)
. = ..()
style = new
style.refresh_valid_areas()
/obj/item/skillchip/job/chef/on_activate(mob/living/carbon/user, silent = FALSE)
. = ..()
style.teach(user, make_temporary = TRUE)
/obj/item/skillchip/job/chef/on_deactivate(mob/living/carbon/user, silent = FALSE)
style.remove(user)
return ..()