what am I doing with my life

This commit is contained in:
zth
2019-10-30 11:46:05 -03:00
parent e711a1fcc5
commit ed276c46df
7 changed files with 1 additions and 109 deletions

View File

@@ -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

View File

@@ -210,9 +210,4 @@ var/list/diseases = typesof(/datum/disease) - /datum/disease
return 0
/datum/disease/proc/Copy(var/process = 0)
return new type(process, src)
/*
/datum/disease/Destroy()
active_diseases.Remove(src)
*/
return new type(process, src)

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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"