mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] August 2024 various fixes (#8766)
Co-authored-by: Nadyr <41974248+Darlantanis@users.noreply.github.com>
This commit is contained in:
@@ -47,6 +47,19 @@
|
||||
src.set_dir(turn(src.dir, 270))
|
||||
return 1
|
||||
|
||||
//VOREstation edit: counter-clockwise rotation
|
||||
/obj/machinery/chemical_dispenser/verb/rotate_counterclockwise()
|
||||
set name = "Rotate Dispenser Counter-Clockwise"
|
||||
set category = "Object"
|
||||
set src in oview(1)
|
||||
|
||||
if (src.anchored || usr:stat)
|
||||
to_chat(usr, "It is fastened down!")
|
||||
return 0
|
||||
src.set_dir(turn(src.dir, 90))
|
||||
return 1
|
||||
//VOREstation edit end
|
||||
|
||||
/obj/machinery/chemical_dispenser/proc/add_cartridge(obj/item/weapon/reagent_containers/chem_disp_cartridge/C, mob/user)
|
||||
if(!istype(C))
|
||||
if(user)
|
||||
|
||||
@@ -359,6 +359,19 @@
|
||||
src.set_dir(turn(src.dir, 270))
|
||||
return 1
|
||||
|
||||
//VOREstation edit: counter-clockwise rotation
|
||||
/obj/structure/reagent_dispensers/water_cooler/verb/rotate_counterclockwise()
|
||||
set name = "Rotate Cooler Counter-Clockwise"
|
||||
set category = "Object"
|
||||
set src in oview(1)
|
||||
|
||||
if (src.anchored || usr:stat)
|
||||
to_chat(usr, "It is fastened to the floor!")
|
||||
return 0
|
||||
src.set_dir(turn(src.dir, 90))
|
||||
return 1
|
||||
//VOREstation edit end
|
||||
|
||||
/obj/structure/reagent_dispensers/water_cooler/attackby(obj/item/I as obj, mob/user as mob)
|
||||
if(I.has_tool_quality(TOOL_WRENCH))
|
||||
src.add_fingerprint(user)
|
||||
|
||||
Reference in New Issue
Block a user