mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
Various fixes (#16176)
-Patches map-spawn random objects inside loot piles -Adds counter-clockwise rotation to many objects -Prevents borers from crashing VR -Tweaks blood drying to not queue dry timers on mapload -Prevents adding grabs to crates -Fixes look up verb when outdoors -Lets vehicles fall through open space -Lets the cargo tug dangerously use stairs -Fixes med/sec bot runtimes -Fixes TECH_MAGNETS incorrect define -Fixes damage/stumblevore procing every step when riding taurs/borgs while confused
This commit is contained in:
@@ -42,6 +42,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)
|
||||
@@ -522,4 +535,3 @@
|
||||
/obj/structure/reagent_dispensers/bloodbarrel/Initialize()
|
||||
. = ..()
|
||||
reagents.add_reagent("blood", 1000, list("donor"=null,"viruses"=null,"blood_DNA"=null,"blood_type"="O-","resistances"=null,"trace_chem"=null))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user