mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 02:02:39 +00:00
* Adds support for self-filling reagent containers * Sets tool_behaviour on the default set of tools * Fixing merge conflicts * Refactors welder to use tool behaviour * The refactor: part I * The refactor: part II * Tool Refactor Part III: Revenge of the Maint * Tool Refactor Part IV: A New Hope * Tool Refactor Part V: The Oldcoder Strikes Back * Tool Refactor Part VI: Return of the Coder * VII * Holy shit, it compiles?! * Nannek I completed your TODO, you owe me ice cream * Tool helpers; telepad is compliant * Bugtest, Round 1: Fight Fuck refactoring disposals * Buggfixing, Round 2: Electric Boogaloo * Personal crafting uses tool behaviours now * Construction datums use new tool behaviours; better way of handling fueltank refuelling; more bugfixing * multitool_check_buffer change; removes some useless things in tool_helpers * proc name change * TRUE/FALSE changes * Bugfixing, Round 3: A Good Day To Bugfix Hard Fixes multiple issues raised by the testmerge * Minor style changes
22 lines
691 B
Plaintext
22 lines
691 B
Plaintext
// Conversion kit
|
|
/obj/item/conversion_kit
|
|
name = "\improper Revolver Conversion Kit"
|
|
desc = "A professional conversion kit used to convert any knock off revolver into the real deal capable of shooting lethal .357 rounds without the possibility of catastrophic failure."
|
|
icon_state = "kit"
|
|
flags = CONDUCT
|
|
w_class = WEIGHT_CLASS_SMALL
|
|
origin_tech = "combat=2"
|
|
var/open = 0
|
|
|
|
/obj/item/conversion_kit/New()
|
|
..()
|
|
update_icon()
|
|
|
|
/obj/item/conversion_kit/update_icon()
|
|
icon_state = "[initial(icon_state)]_[open]"
|
|
|
|
/obj/item/conversion_kit/attack_self(mob/user)
|
|
open = !open
|
|
to_chat(user, "<span class='notice'>You [open ? "open" : "close"] the conversion kit.</span>")
|
|
update_icon()
|