mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
* wall and floor and overlay icons * HOLY SHIT PLANEMASTERS ARE AMAZING <3 LUMMOX * nevermind shit is fucked i hate byond * apc hackin tweaks start now * attack_ai is overridden almost everywhere for zero reason * more attack_ai shit * more shit * FORCEDISABLE pt. 1 * FORCEDISABLE pt 2 * more forcedisable 3 * 3.1 * end of forcedisable * remove all hackview shit, cleanup * better apc hacking, lots of fixes, and UI! * more machine ability, lots of cleanup, radial lock updating, modules and active modules * movable ui elements * ADVANCED hologrmas * more SHIT * SHUNTSHUNTSHUNT * fig congflgighgsa * more testing * fuck * commit 2 * holo fixes * fake APC images! * lots of stuff * fixes and cleanup and vomit * More abilities. AI Control fixes and cleanup * fixes * fix * clear another warning * remove comment fix numbers * raise price * raise price * fix * 1 autoborger limit * remove undocumented change * handle at bot level * order of operations * dont call ert * decrease * fix unit test * icon check please work * remove unused icons, comment out chem dispenser drain * comment out firewall, add disable to turrets * remove unused wall icons * Sort mob list, humans appear at the top * fix sorting, fix hologram bug * hologram tweaks, stupid fucking alert APC name * qdel * raise ever so slightly * revert * Delete broken_hand_icons.txt * Update setup.dm * Create setup.dm * attack_self * fix filter icon, delete unused file, remove forcedisable from magtape deck * accidental change * mousedropfrom recharge station * oh rite * fixo * remove useless code * aaahhh * remove rig meal, made obsolete by emag * fffffshhhhhhwooooop * typo!
75 lines
1.8 KiB
Plaintext
75 lines
1.8 KiB
Plaintext
/*
|
|
Protolathe
|
|
|
|
Similar to an autolathe, you load glass and metal sheets (but not other objects) into it to be used as raw materials for the stuff
|
|
it creates. All the menus and other manipulation commands are in the R&D console.
|
|
*/
|
|
|
|
#define PROTOLATHE_BUILD_TIME 1
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe
|
|
name = "Protolathe"
|
|
icon_state = "protolathe"
|
|
desc = "A fabricator capable of producing prototypes from research schematics."
|
|
flags = OPENCONTAINER
|
|
|
|
start_end_anims = 1
|
|
|
|
build_time = PROTOLATHE_BUILD_TIME
|
|
build_number = 2
|
|
|
|
light_color = LIGHT_COLOR_CYAN
|
|
|
|
research_flags = CONSOLECONTROL | HASOUTPUT | TAKESMATIN | HASMAT_OVER | LOCKBOXES | MULTIOUTPUT
|
|
|
|
part_sets = list(
|
|
"Stock Parts" = list(),
|
|
"Bluespace" = list(),
|
|
"Anomaly" = list(),
|
|
"Data" = list(),
|
|
"Engineering" = list(),
|
|
"Medical" = list(),
|
|
"Surgery" = list(),
|
|
"Mining" = list(),
|
|
"Robotics" = list(),
|
|
"Weapons" = list(),
|
|
"Armor" = list(),
|
|
"Misc" = list(),
|
|
)
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe/power_change()
|
|
..()
|
|
if(!(stat & (BROKEN|NOPOWER|FORCEDISABLE)))
|
|
set_light(2)
|
|
else
|
|
set_light(0)
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe/New()
|
|
. = ..()
|
|
|
|
component_parts = newlist(
|
|
/obj/item/weapon/circuitboard/protolathe,
|
|
/obj/item/weapon/stock_parts/matter_bin,
|
|
/obj/item/weapon/stock_parts/matter_bin,
|
|
/obj/item/weapon/stock_parts/manipulator,
|
|
/obj/item/weapon/stock_parts/manipulator,
|
|
/obj/item/weapon/stock_parts/micro_laser,
|
|
/obj/item/weapon/stock_parts/micro_laser,
|
|
)
|
|
|
|
RefreshParts()
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe/Destroy()
|
|
if(linked_console && linked_console.linked_lathe == src)
|
|
linked_console.linked_lathe = null
|
|
|
|
. = ..()
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe/setup_part_sets()
|
|
return
|
|
|
|
/obj/machinery/r_n_d/fabricator/protolathe/attackby(var/obj/item/O as obj, var/mob/user as mob)
|
|
..()
|
|
if (O.is_open_container())
|
|
return 1
|