mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
what am I doing with my life
This commit is contained in:
@@ -87,14 +87,6 @@
|
||||
else
|
||||
user.examination(src)
|
||||
|
||||
/* Bay edition
|
||||
// Oh by the way this didn't work with old click code which is why clicking shit didn't spam you
|
||||
/atom/proc/attack_ghost(mob/dead/observer/user as mob)
|
||||
if(user.client && user.client.inquisitive_ghost)
|
||||
examine()
|
||||
return
|
||||
*/
|
||||
|
||||
// ---------------------------------------
|
||||
// And here are some good things for free:
|
||||
// Now you can click through portals, wormholes, gateways, and teleporters while observing. -Sayu
|
||||
|
||||
@@ -211,8 +211,3 @@ var/list/diseases = typesof(/datum/disease) - /datum/disease
|
||||
|
||||
/datum/disease/proc/Copy(var/process = 0)
|
||||
return new type(process, src)
|
||||
|
||||
/*
|
||||
/datum/disease/Destroy()
|
||||
active_diseases.Remove(src)
|
||||
*/
|
||||
|
||||
@@ -558,14 +558,6 @@ its easier to just keep the beam vertical.
|
||||
/atom/proc/hitby(var/atom/movable/AM)
|
||||
. = isobserver(AM)
|
||||
|
||||
/*
|
||||
/atom/proc/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
||||
if (!(istype(W, /obj/item/weapon/grab) ) && !(istype(W, /obj/item/weapon/plastique)) && !(istype(W, /obj/item/weapon/reagent_containers/spray)) && !(istype(W, /obj/item/weapon/packageWrap)) && !istype(W, /obj/item/device/detective_scanner))
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
to_chat(O, "<span class='danger'>[src] has been hit by [user] with [W]</span>")
|
||||
return
|
||||
*/
|
||||
/atom/proc/add_hiddenprint(mob/M as mob)
|
||||
if(isnull(M))
|
||||
return
|
||||
|
||||
@@ -38,11 +38,6 @@ var/list/obj/machinery/flasher/flashers = list()
|
||||
density = 1
|
||||
min_harm_label = 35 //A lot. Has to wrap around the bulb, after all.
|
||||
|
||||
/*
|
||||
/obj/machinery/flasher/New()
|
||||
sleep(4) //<--- What the fuck are you doing? D=
|
||||
src.sd_SetLuminosity(2)
|
||||
*/
|
||||
/obj/machinery/flasher/power_change()
|
||||
if ( powered() )
|
||||
stat &= ~NOPOWER
|
||||
|
||||
@@ -282,34 +282,6 @@
|
||||
radio.talk_into(speech)
|
||||
return
|
||||
|
||||
////////////////////////////
|
||||
///// Action processing ////
|
||||
////////////////////////////
|
||||
/*
|
||||
/atom/DblClick(object,location,control,params)
|
||||
var/mob/M = src.mob
|
||||
if(M && M.in_contents_of(/obj/mecha))
|
||||
|
||||
if(mech_click == world.time)
|
||||
return
|
||||
mech_click = world.time
|
||||
|
||||
if(!istype(object, /atom))
|
||||
return
|
||||
if(istype(object, /obj/abstract/screen))
|
||||
var/obj/abstract/screen/using = object
|
||||
if(using.screen_loc == ui_acti || using.screen_loc == ui_iarrowleft || using.screen_loc == ui_iarrowright)//ignore all HUD objects save 'intent' and its arrows
|
||||
return ..()
|
||||
else
|
||||
return
|
||||
var/obj/mecha/Mech = M.loc
|
||||
spawn() //this helps prevent clickspam fest.
|
||||
if (Mech)
|
||||
Mech.click_action(object,M)
|
||||
// else
|
||||
// return ..()
|
||||
*/
|
||||
|
||||
/obj/mecha/proc/click_action(atom/target,mob/user)
|
||||
if(!src.occupant || src.occupant != user )
|
||||
return
|
||||
|
||||
@@ -17,19 +17,6 @@
|
||||
/obj/mecha/working/range_action(atom/target as obj|mob|turf)
|
||||
return
|
||||
|
||||
/*
|
||||
/obj/mecha/working/get_stats_part()
|
||||
var/output = ..()
|
||||
output += "<b>[src.name] Tools:</b><div style=\"margin-left: 15px;\">"
|
||||
if(equipment.len)
|
||||
for(var/obj/item/mecha_parts/mecha_equipment/MT in equipment)
|
||||
output += "[selected==MT?"<b>":"<a href='?src=\ref[src];select_equip=\ref[MT]'>"][MT.get_equip_info()][selected==MT?"</b>":"</a>"]<br>"
|
||||
else
|
||||
output += "None"
|
||||
output += "</div>"
|
||||
return output
|
||||
*/
|
||||
|
||||
/obj/mecha/working/Exit(atom/movable/O)
|
||||
if(O in cargo)
|
||||
return 0
|
||||
|
||||
@@ -1,44 +1,3 @@
|
||||
//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:33
|
||||
|
||||
/* new portable generator - work in progress
|
||||
|
||||
/obj/machinery/power/port_gen
|
||||
name = "portable generator"
|
||||
desc = "A portable generator used for emergency backup power."
|
||||
icon = 'generator.dmi'
|
||||
icon_state = "off"
|
||||
density = 1
|
||||
anchored = 0
|
||||
var/t_status = 0
|
||||
var/t_per = 5000
|
||||
var/filter = 1
|
||||
var/tank = null
|
||||
var/turf/inturf
|
||||
var/starter = 0
|
||||
var/rpm = 0
|
||||
var/rpmtarget = 0
|
||||
var/capacity = 1e6
|
||||
var/turf/outturf
|
||||
var/lastgen
|
||||
|
||||
|
||||
/obj/machinery/power/port_gen/process()
|
||||
ideally we're looking to generate 5000
|
||||
|
||||
/obj/machinery/power/port_gen/attackby(obj/item/weapon/W, mob/user)
|
||||
tank [un]loading stuff
|
||||
|
||||
/obj/machinery/power/port_gen/attack_hand(mob/user)
|
||||
turn on/off
|
||||
|
||||
/obj/machinery/power/port_gen/examine()
|
||||
display round(lastgen) and plasmatank amount
|
||||
|
||||
*/
|
||||
|
||||
//Previous code been here forever, adding new framework for portable generators
|
||||
|
||||
|
||||
//Baseline portable generator. Has all the default handling. Not intended to be used on it's own (since it generates unlimited power).
|
||||
/obj/machinery/power/port_gen
|
||||
name = "Portable Generator"
|
||||
|
||||
Reference in New Issue
Block a user