mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 23:11:52 +00:00
Nuke 17 useless files (#1653)
All files deleted and disabled were either: Not touched for 2+ years Replaced with native DM functions (JSON specifically) Generally replaced with newer iterations
This commit is contained in:
@@ -1,105 +0,0 @@
|
||||
/mob/living/silicon
|
||||
var/list/silicon_subsystems_by_name = list()
|
||||
var/list/silicon_subsystems = list(
|
||||
/datum/nano_module/alarm_monitor/all,
|
||||
/datum/nano_module/law_manager
|
||||
)
|
||||
|
||||
/mob/living/silicon/ai/New()
|
||||
silicon_subsystems.Cut()
|
||||
for(var/subtype in subtypesof(/datum/nano_module))
|
||||
var/datum/nano_module/NM = subtype
|
||||
if(initial(NM.available_to_ai))
|
||||
silicon_subsystems += NM
|
||||
..()
|
||||
|
||||
/mob/living/silicon/robot/syndicate
|
||||
silicon_subsystems = list(
|
||||
/datum/nano_module/law_manager
|
||||
)
|
||||
|
||||
/mob/living/silicon/Destroy()
|
||||
for(var/subsystem in silicon_subsystems)
|
||||
remove_subsystem(subsystem)
|
||||
silicon_subsystems.Cut()
|
||||
. = ..()
|
||||
|
||||
/mob/living/silicon/proc/init_subsystems()
|
||||
for(var/subsystem_type in silicon_subsystems)
|
||||
init_subsystem(subsystem_type)
|
||||
|
||||
if(/datum/nano_module/alarm_monitor/all in silicon_subsystems)
|
||||
for(var/datum/alarm_handler/AH in alarm_manager.all_handlers)
|
||||
AH.register_alarm(src, /mob/living/silicon/proc/receive_alarm)
|
||||
queued_alarms[AH] = list() // Makes sure alarms remain listed in consistent order
|
||||
|
||||
/mob/living/silicon/proc/init_subsystem(var/subsystem_type)
|
||||
var/existing_entry = silicon_subsystems[subsystem_type]
|
||||
if(existing_entry && !ispath(existing_entry))
|
||||
return FALSE
|
||||
|
||||
var/ui_state = subsystem_type == /datum/nano_module/law_manager ? conscious_state : self_state
|
||||
var/stat_silicon_subsystem/SSS = new(src, subsystem_type, ui_state)
|
||||
silicon_subsystems[subsystem_type] = SSS
|
||||
silicon_subsystems_by_name[SSS.name] = SSS
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/proc/remove_subsystem(var/subsystem_type)
|
||||
var/stat_silicon_subsystem/SSS = silicon_subsystems[subsystem_type]
|
||||
if(!istype(SSS))
|
||||
return FALSE
|
||||
|
||||
silicon_subsystems_by_name -= SSS.name
|
||||
silicon_subsystems -= subsystem_type
|
||||
qdel(SSS)
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/proc/open_subsystem(var/subsystem_type)
|
||||
var/stat_silicon_subsystem/SSS = silicon_subsystems[subsystem_type]
|
||||
if(!istype(SSS))
|
||||
return FALSE
|
||||
SSS.Click()
|
||||
return TRUE
|
||||
|
||||
/mob/living/silicon/verb/activate_subsystem(var/datum/silicon_subsystem_name in silicon_subsystems_by_name)
|
||||
set name = "Subsystems"
|
||||
set desc = "Activates the given subsystem"
|
||||
set category = "Silicon Commands"
|
||||
|
||||
var/stat_silicon_subsystem/SSS = silicon_subsystems_by_name[silicon_subsystem_name]
|
||||
if(istype(SSS))
|
||||
SSS.Click()
|
||||
|
||||
/mob/living/silicon/Stat()
|
||||
. = ..()
|
||||
if(!.)
|
||||
return
|
||||
if(!silicon_subsystems.len)
|
||||
return
|
||||
if(!statpanel("Subsystems"))
|
||||
return
|
||||
for(var/subsystem_type in silicon_subsystems)
|
||||
var/stat_silicon_subsystem/SSS = silicon_subsystems[subsystem_type]
|
||||
stat(SSS)
|
||||
|
||||
/stat_silicon_subsystem
|
||||
parent_type = /atom/movable
|
||||
simulated = 0
|
||||
var/ui_state
|
||||
var/datum/nano_module/subsystem
|
||||
|
||||
/stat_silicon_subsystem/New(var/mob/living/silicon/loc, var/subsystem_type, var/ui_state)
|
||||
if(!istype(loc))
|
||||
CRASH("Unexpected location. Expected /mob/living/silicon, was [loc.type].")
|
||||
src.ui_state = ui_state
|
||||
subsystem = new subsystem_type(loc)
|
||||
name = subsystem.name
|
||||
..()
|
||||
|
||||
/stat_silicon_subsystem/Destroy()
|
||||
qdel(subsystem)
|
||||
subsystem = null
|
||||
. = ..()
|
||||
|
||||
/stat_silicon_subsystem/Click()
|
||||
subsystem.ui_interact(usr, state = ui_state)
|
||||
@@ -1,60 +0,0 @@
|
||||
//Look Sir, free head!
|
||||
/mob/living/simple_animal/head
|
||||
name = "CommandBattle AI"
|
||||
desc = "A standard borg shell on its chest crude marking saying CommandBattle AI MK4 : Head."
|
||||
icon_state = "crab"
|
||||
icon_living = "crab"
|
||||
icon_dead = "crab_dead"
|
||||
speak_emote = list("clicks")
|
||||
emote_hear = list("clicks")
|
||||
emote_see = list("clacks")
|
||||
universal_speak = 1
|
||||
speak_chance = 1
|
||||
turns_per_move = 5
|
||||
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat
|
||||
response_help = "pets"
|
||||
response_disarm = "gently pushes aside"
|
||||
response_harm = "punches"
|
||||
var/list/insults = list(
|
||||
"Man you suck",
|
||||
"You look like the most retarded douche around",
|
||||
"What's up?, oh wait nevermind you are a fucking asshat",
|
||||
"you are just overly retarded",
|
||||
"Whiteman said what?!",)
|
||||
var/list/comments = list("Man have you seen those furry cats?,I mean who in the right mind would like something like that?",
|
||||
"They call me abusive,I just like the truth",
|
||||
"Beeboop, im a robit",
|
||||
"Gooogooooll, break ya bones",
|
||||
"Crab say what?",
|
||||
"Man they say we have space lizards now, man this shit is getting more wack every minute",
|
||||
"The so called \"improved\" station AI is just bullshit, that thing aint fun for noone",
|
||||
"The Captain is a traitor, he took my power core.",
|
||||
"Say \"what\" again. Say \"what\" again. I dare you. I double-dare you, motherfucker. Say \"what\" one more goddamn time.",
|
||||
"Ezekiel 25:17 ,The path of the righteous man is beset on all sides by the iniquities of the selfish and the tyranny of evil men. Blessed is he who in the name of charity and good will shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who attempt to poison and destroy my brothers. And you will know my name is the Lord... when I lay my vengeance upon thee.",
|
||||
"Did you notice a sign out in front of my house that said \"Dead Nigger Storage\"?")
|
||||
stop_automated_movement = 1
|
||||
|
||||
/mob/living/simple_animal/head/Life()
|
||||
if(stat == DEAD)
|
||||
if(health > 0)
|
||||
icon_state = icon_living
|
||||
stat = CONSCIOUS
|
||||
density = 1
|
||||
return
|
||||
else if(health < 1)
|
||||
Die()
|
||||
else if(health > maxHealth)
|
||||
health = maxHealth
|
||||
for(var/mob/A in viewers(world.view,src))
|
||||
if(A.ckey)
|
||||
say_something(A)
|
||||
/mob/living/simple_animal/head/proc/say_something(mob/A)
|
||||
if(prob(85))
|
||||
return
|
||||
if(prob(30))
|
||||
var/msg = pick(insults)
|
||||
msg = "Hey, [A.name].. [msg]"
|
||||
src.say(msg)
|
||||
else
|
||||
var/msg = pick(comments)
|
||||
src.say(msg)
|
||||
@@ -1,33 +0,0 @@
|
||||
//kobold
|
||||
/mob/living/simple_animal/kobold
|
||||
name = "kobold"
|
||||
desc = "A small, rat-like creature."
|
||||
icon = 'icons/mob/mob.dmi'
|
||||
icon_state = "kobold_idle"
|
||||
icon_living = "kobold_idle"
|
||||
icon_dead = "kobold_dead"
|
||||
//speak = list("You no take candle!","Ooh, pretty shiny.","Me take?","Where gold here...","Me likey.")
|
||||
speak_emote = list("mutters","hisses","grumbles")
|
||||
emote_hear = list("mutters under it's breath.","grumbles.", "yips!")
|
||||
emote_see = list("looks around suspiciously.", "scratches it's arm.","putters around a bit.")
|
||||
speak_chance = 15
|
||||
turns_per_move = 5
|
||||
see_in_dark = 6
|
||||
meat_type = /obj/item/weapon/reagent_containers/food/snacks/meat/monkey
|
||||
response_help = "pets"
|
||||
response_disarm = "gently pushes aside"
|
||||
response_harm = "kicks"
|
||||
minbodytemp = 250
|
||||
min_oxy = 16 //Require atleast 16kPA oxygen
|
||||
minbodytemp = 223 //Below -50 Degrees Celcius
|
||||
maxbodytemp = 323 //Above 50 Degrees Celcius
|
||||
|
||||
/mob/living/simple_animal/kobold/Life()
|
||||
..()
|
||||
if(prob(15) && turns_since_move && !stat)
|
||||
flick("kobold_act",src)
|
||||
|
||||
/mob/living/simple_animal/kobold/Move(var/dir)
|
||||
..()
|
||||
if(!stat)
|
||||
flick("kobold_walk",src)
|
||||
Reference in New Issue
Block a user