Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derelict Cyborg and Rogue Beepsky #11399

Closed
7 changes: 2 additions & 5 deletions _maps/RuinGeneration/13x13_ai-lab.dmm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions beestation.dme
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DM Environment file for beestation.dme.

Check failure on line 1 in beestation.dme

View workflow job for this annotation

GitHub Actions / Run Linters

Ticked File Enforcement

The include at line 3911 is out of order (#include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\vip_extraction.dm", expected #include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\silicon.dm")
// All manual changes should be made outside the BEGIN_ and END_ blocks.
// New source code should be placed in .dm files: choose File/New --> Code File.
// BEGIN_INTERNALS
Expand Down Expand Up @@ -3899,6 +3899,7 @@
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\nuke_ruin.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\recover_blackbox.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\vip_extraction.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\objective_types\silicon.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\ruin_generator\asteroid_generator.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\ruin_generator\mapping.dm"
#include "code\modules\shuttle\super_cruise\orbital_poi_generator\ruin_generator\ruin_generator.dm"
Expand Down
4 changes: 4 additions & 0 deletions code/modules/mob/living/simple_animal/bot/secbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
resize = 0.8
update_transform()

/mob/living/simple_animal/bot/secbot/derelict
name = "Officer Buzzsky"
emagged = 2
faction = list("silicon","turret")

/mob/living/simple_animal/bot/secbot/beepsky/explode()
var/atom/Tsec = drop_location()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/mob/living/silicon/robot/derelict
name = "Derelict Cyborg"
var/ion_laws_range_minimum = 4
var/ion_laws_range_maximum = 8
//if it is at -1 it will randomize it
var/ion_laws_count = -1

/mob/living/silicon/robot/derelict/Initialize()
. = ..()
lawupdate = FALSE
scrambledcodes = TRUE
locked = FALSE
if(prob(50)){
opened = 1
}
name = get_standard_name()
set_playable(JOB_NAME_CYBORG)

if(ion_laws_count < 0)
ion_laws_count = rand(ion_laws_range_minimum,ion_laws_range_maximum)
for(var/i in 1 to ion_laws_count)
add_ion_law(generate_ion_law())
Loading