mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-27 21:27:28 +01:00
- all cells in the game are now small, medium, large - super, hyper capacity cells, device, and weapon cells are all removed - cells now have standardized variants, some of which are printable by R&D - energy weapons rebalanced - **advanced energy guns and stun revolvers removed** - use the new modular weapon system and microfission cells. --------- Co-authored-by: silicons <silicons@silicons.dev>
27 lines
737 B
Plaintext
27 lines
737 B
Plaintext
//* This file is explicitly licensed under the MIT license. *//
|
|
//* Copyright (c) 2024 Citadel Station Developers *//
|
|
|
|
//! these wrappers are used for things that still check tools on attackby()
|
|
//! new usages are prohibited.
|
|
|
|
/*
|
|
* Assorted tool procs, so any item can emulate any tool, if coded
|
|
*/
|
|
/obj/item/proc/is_screwdriver()
|
|
return tool_behavior() == TOOL_SCREWDRIVER
|
|
|
|
/obj/item/proc/is_wrench()
|
|
return tool_behavior() == TOOL_WRENCH
|
|
|
|
/obj/item/proc/is_crowbar()
|
|
return tool_behavior() == TOOL_CROWBAR
|
|
|
|
/obj/item/proc/is_wirecutter()
|
|
return tool_behavior() == TOOL_WIRECUTTER
|
|
|
|
/obj/item/proc/is_multitool()
|
|
return tool_behavior() == TOOL_MULTITOOL
|
|
|
|
/obj/item/proc/is_welder()
|
|
return tool_behavior() == TOOL_WELDER
|