Skip to content

Commit

Permalink
aids
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwolf602 committed Nov 27, 2023
1 parent 92e97cb commit 7afafc4
Show file tree
Hide file tree
Showing 57 changed files with 440 additions and 616 deletions.
7 changes: 0 additions & 7 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1663,26 +1663,19 @@
#include "code\modules\clothing\spacesuits\rig\suits\cseco.dm"
#include "code\modules\clothing\spacesuits\rig\suits\engineering.dm"
#include "code\modules\clothing\spacesuits\rig\suits\ert.dm"
#include "code\modules\clothing\spacesuits\rig\suits\excavation.dm"
#include "code\modules\clothing\spacesuits\rig\suits\firesuit.dm"
#include "code\modules\clothing\spacesuits\rig\suits\flesh.dm"
#include "code\modules\clothing\spacesuits\rig\suits\hacker.dm"
#include "code\modules\clothing\spacesuits\rig\suits\light.dm"
#include "code\modules\clothing\spacesuits\rig\suits\marine.dm"
#include "code\modules\clothing\spacesuits\rig\suits\marksman.dm"
#include "code\modules\clothing\spacesuits\rig\suits\merc.dm"
#include "code\modules\clothing\spacesuits\rig\suits\mining.dm"
#include "code\modules\clothing\spacesuits\rig\suits\patrol.dm"
#include "code\modules\clothing\spacesuits\rig\suits\riot.dm"
#include "code\modules\clothing\spacesuits\rig\suits\scaf.dm"
#include "code\modules\clothing\spacesuits\rig\suits\sea.dm"
#include "code\modules\clothing\spacesuits\rig\suits\security.dm"
#include "code\modules\clothing\spacesuits\rig\suits\specialforces.dm"
#include "code\modules\clothing\spacesuits\rig\suits\station.dm"
#include "code\modules\clothing\spacesuits\rig\suits\tarnished.dm"
#include "code\modules\clothing\spacesuits\rig\suits\unitologist.dm"
#include "code\modules\clothing\spacesuits\rig\suits\vintage.dm"
#include "code\modules\clothing\spacesuits\rig\suits\wasp.dm"
#include "code\modules\clothing\spacesuits\void\merc.dm"
#include "code\modules\clothing\spacesuits\void\misc.dm"
#include "code\modules\clothing\spacesuits\void\station.dm"
Expand Down
30 changes: 30 additions & 0 deletions code/datums/craft/recipes/rig.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,36 @@
list(CRAFT_TOOL, QUALITY_WIRE_CUTTING, 10, WORKTIME_NORMAL, FAILCHANCE_NORMAL, SKILL_ELECTRICAL)
)

/datum/craft_recipe/rig/eng_int
name = "Intermediate Engineering RIG"
desc = "Upgrade a Standard Engineering RIG into a Intermediate Engineering RIG"
time = 50
result = /obj/item/rig/eng_int
steps = list(
list(CRAFT_OBJECT, /obj/item/rig/engineering),
list(CRAFT_STACK, /obj/item/stack/power_node, 3),
list(CRAFT_TOOL, QUALITY_WIRE_CUTTING, 10, WORKTIME_NORMAL, FAILCHANCE_NORMAL, SKILL_ELECTRICAL)
)

/datum/craft_recipe/rig/excavation
name = "Intermediate Mining RIG"
desc = "Upgrade a Standard Mining RIG into a Intermediate Mining RIG"
time = 50
result = /obj/item/rig/excavation
steps = list(
list(CRAFT_OBJECT, /obj/item/rig/mining),
list(CRAFT_STACK, /obj/item/stack/power_node, 3),
list(CRAFT_TOOL, QUALITY_WIRE_CUTTING, 10, WORKTIME_NORMAL, FAILCHANCE_NORMAL, SKILL_ELECTRICAL)
)









/datum/craft_recipe/rig/flesh
name = "Odd RIG"
desc = "Upgrade a zealot rig into a odd rig"
Expand Down
2 changes: 2 additions & 0 deletions code/datums/craft/recipes/weapon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@
/datum/craft_recipe/weapon/rendingcutter
name = "Rending Cutter"
result = /obj/item/gun/energy/cutter/rending
flags = CRAFT_ON_WORKBENCH
time = 200
steps = list(
list(CRAFT_OBJECT, /obj/item/gun/energy/cutter/plasma, WORKTIME_NORMAL, FALSE, /obj/item/gun/energy/cutter/rending),
Expand All @@ -198,6 +199,7 @@
/datum/craft_recipe/weapon/rendingdivet
name = "Rending Divet"
result = /obj/item/gun/projectile/divet/rending
flags = CRAFT_ON_WORKBENCH
time = 200
steps = list(
list(CRAFT_OBJECT, /obj/item/gun/projectile/divet, WORKTIME_NORMAL, FALSE, /obj/item/gun/projectile/divet/rending),
Expand Down
4 changes: 2 additions & 2 deletions code/datums/supplypacks/security.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

/decl/hierarchy/supply_pack/security/rig_security
name = "T2 RIG - Security"
contains = list(/obj/item/rig/security = 1)
contains = list(/obj/item/rig/pcsi/security = 1)
cost = 150
containertype = /obj/structure/closet/crate/secure/large
containername = "\improper security RIG crate"
Expand All @@ -176,7 +176,7 @@

/decl/hierarchy/supply_pack/security/rig_patrol
name = "T2 RIG - Patrol"
contains = list(/obj/item/rig/patrol = 1)
contains = list(/obj/item/rig/riot/patrol = 1)
cost = 150
containertype = /obj/structure/closet/crate/secure/large
containername = "\improper patrol RIG crate"
Expand Down
4 changes: 2 additions & 2 deletions code/game/jobs/job/cargo.dm
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
department = "Supply"
abbreviation = "ST"
department_flag = SUP
total_positions = 15
spawn_positions = 15
total_positions = 3
spawn_positions = 3
supervisors = "the Supply Officer"
selection_color = "#3b3b3b"
minimal_player_age = 18
Expand Down
12 changes: 6 additions & 6 deletions code/game/jobs/job/civilian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
title = "Line Cook"
abbreviation = "LC"
department_flag = SRV
total_positions = 7
spawn_positions = 7
total_positions = 2
spawn_positions = 2
supervisors = "the First Lieutenant"
selection_color = "#006200"
minimal_player_age = 18
Expand Down Expand Up @@ -60,8 +60,8 @@
title = "Botanist"
abbreviation = "BOT"
department_flag = SRV
total_positions = 6
spawn_positions = 6
total_positions = 2
spawn_positions = 2
supervisors = "the First Lieutenant"
selection_color = "#006200"
minimal_player_age = 18
Expand All @@ -88,8 +88,8 @@
title = "Janitor"
abbreviation = "JTR"
department_flag = SRV
total_positions = 20
spawn_positions = 20
total_positions = 3
spawn_positions = 3
supervisors = "the First Lieutenant"
selection_color = "#6c0864"
minimal_player_age = 18
Expand Down
4 changes: 2 additions & 2 deletions code/game/jobs/job/ishimura/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
department = "Medical"
abbreviation = "MD"
department_flag = MED
total_positions = 6
spawn_positions = 6
total_positions = 5
spawn_positions = 5
supervisors = "the Senior Medical Officer"
selection_color = "#013d3b"
minimal_player_age = 18
Expand Down
2 changes: 1 addition & 1 deletion code/game/jobs/job/ishimura/mining.dm
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
abbreviation = "PC"
department = "Mining"
department_flag = MIN
total_positions = 25
total_positions = 100
spawn_positions = 25
supervisors = "the Mining Foreman"
selection_color = "#5e4215"
Expand Down
8 changes: 4 additions & 4 deletions code/game/jobs/job/ishimura/security.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
department = "Security"
abbreviation = "SSO"
department_flag = SEC
total_positions = 1
spawn_positions = 1
total_positions = 2
spawn_positions = 2
supervisors = "the Chief Security Officer"
selection_color = "#601c1c"
minimal_player_age = 18
Expand Down Expand Up @@ -72,8 +72,8 @@
department = "Security"
abbreviation = "SEC"
department_flag = SEC
total_positions = 4
spawn_positions = 4
total_positions = 15
spawn_positions = 15
supervisors = "the Chief Security Officer and Senior Security Officer"
selection_color = "#601c1c"
minimal_player_age = 18
Expand Down
8 changes: 4 additions & 4 deletions code/game/jobs/job/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
department = "Medical"
abbreviation = "MD"
department_flag = MED
total_positions = 15
spawn_positions = 15
total_positions = 5
spawn_positions = 5
supervisors = "the Senior Medical Officer"
selection_color = "#013d3b"
minimal_player_age = 18
Expand Down Expand Up @@ -74,8 +74,8 @@
department = "Medical"
abbreviation = "SRG"
department_flag = MED
total_positions = 5
spawn_positions = 5
total_positions = 2
spawn_positions = 2
supervisors = "the Senior Medical Officer"
selection_color = "#013d3b"
minimal_player_age = 18
Expand Down
4 changes: 2 additions & 2 deletions code/game/jobs/job/science.dm
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
department = "Science"
abbreviation = "RA"
department_flag = SCI
total_positions = 10
spawn_positions = 10
total_positions = 4
spawn_positions = 4
supervisors = "the Chief Science Officer"
selection_color = "#633d63"
minimal_player_age = 18
Expand Down
2 changes: 2 additions & 0 deletions code/game/machinery/vending_miner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
/obj/item/gun/spray/hydrazine_torch = 8000,
/obj/item/reagent_containers/glass/fuel_tank/fuel = 2000,
/obj/item/reagent_containers/glass/fuel_tank/hydrazine = 4000,
/obj/item/rig/eng_int = 10000,
/obj/item/rig/advanced/mining = 20000,
)

/obj/machinery/vending/mining/attackby(obj/item/W, mob/user)
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/stacks/power_node.dm
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ obj/item/stack/special_node/divet

obj/item/stack/special_node/evil
desc = "A strange power note emanating with an evil aura."
name = "divet nodes"
singular_name = "divet node"
name = "evil nodes"
singular_name = "evil node"
color = "#740909"
11 changes: 8 additions & 3 deletions code/game/objects/items/weapons/grenades/light.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,21 @@
icon_state = "lightgrenade"
item_state = "flashbang"
det_time = 20
light_range = 12
light_range = 6
light_power = 1
light_on = FALSE

/obj/item/grenade/light/detonate()
..()
var/lifetime = rand(2 MINUTES, 4 MINUTES)
var/colour = pick("#49f37c", "#fc0f29", "#599dff", "#fa7c0b", "#fef923")
var/color = pick("#49f37c", "#fc0f29", "#599dff", "#fa7c0b", "#fef923")

playsound(src, 'sound/effects/snap.ogg', 80, 1)
audible_message("<span class='warning'>\The [src] detonates with a sharp crack!</span>")
set_light_color(colour)
set_light_color(color)
QDEL_IN(src, lifetime)

if (active)
set_light_on(TRUE)
else
set_light_on(FALSE)
2 changes: 1 addition & 1 deletion code/game/objects/items/weapons/tools/pickaxe.dm
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
force = WEAPON_FORCE_NORMAL
throwforce = WEAPON_FORCE_NORMAL
item_state = "ds_rocksaw0"
w_class = ITEM_SIZE_HUGE
w_class = ITEM_SIZE_NORMAL
matter = list(MATERIAL_STEEL = 1200, MATERIAL_PLASTIC = 800)
tool_qualities = list()
switched_on_qualities = list(QUALITY_DIGGING = 50, QUALITY_DRILLING = 20, QUALITY_EXCAVATION = 15, QUALITY_SAWING = 60, QUALITY_CUTTING = 50)
Expand Down
6 changes: 3 additions & 3 deletions code/game/objects/random/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ something, make sure it's not in one of the other lists.*/

/obj/random/scaf/item_to_spawn() //total weight = 100
return pickweight(list(
/obj/item/rig/arctic = 4,
/obj/item/rig/scaf/elite = 4,
/obj/item/rig/scaf/legionnaire = 4,
/obj/item/rig/advanced/arctic = 4,
/obj/item/rig/pcsi/elite = 4,
/obj/item/rig/pcsi/legionnaire = 4,
/obj/item/gun/projectile/automatic/bullpup = 10,
/obj/item/ammo_magazine/bullpup = 18,
/obj/random/medical = 15,
Expand Down
24 changes: 12 additions & 12 deletions code/game/objects/random/rig.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
icon_state = "generic"

/obj/random/hardsuit/item_to_spawn()
return pickweight(list(/obj/item/rig/security,
return pickweight(list(/obj/item/rig/pcsi/security,
/obj/item/rig/engineering,
/obj/item/rig/engineering/forged_new,
/obj/item/rig/hacker,
/obj/item/rig/mining,
/obj/item/rig/excavation,
/obj/item/rig/vintage = 0.2,
/obj/item/rig/advanced = 0.1, //At 0.5, they are still very common, shouldn't even be "misplaced" anyway.
/obj/item/rig/patrol = 0.1,
/obj/item/rig/industrial,
/obj/item/rig/eva,
/obj/item/rig/civilian,
/obj/item/rig/excavation = 0.5,
/obj/item/rig/eng_int = 0.5,
/obj/item/rig/eng_int/forged_new = 0.5,
/obj/item/rig/vintage = 0.1,
/obj/item/rig/advanced = 0.1,
/obj/item/rig/advanced/engineering = 0.1,
/obj/item/rig/advanced/mining = 0.1,
/obj/item/rig/riot/patrol = 0.2,
/obj/item/rig/civilian/slim,
/obj/item/rig/medical = 0.8,
/obj/item/rig/light/internalaffairs = 0.01,
/obj/item/rig/ce = 0.01,
/obj/item/rig/hazmat = 0.01,
/obj/item/rig/hazard = 0.01,
/obj/item/rig/clown = 0.01))


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
new/datum/atom_creator/simple(/obj/item/storage/backpack/dufflebag/eng, 50),
/obj/item/clothing/accessory/storage/brown_vest,
/obj/item/blueprints,
/obj/item/rig/advanced,
/obj/item/rig/advanced/engineering,
/obj/item/clothing/under/deadspace/engineer,
/obj/item/clothing/head/hardhat/white,
/obj/item/clothing/head/welding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@
if ("tank")
new /obj/item/tank/emergency/oxygen/engi(src)
new /obj/item/tank/emergency/oxygen/engi(src)
new /obj/item/rig/emergency(src)
new /obj/item/rig/emergency/astro(src)
new /obj/item/clothing/mask/gas/half(src)
new /obj/item/clothing/mask/gas/half(src)
new /obj/random/tool_upgrade(src)
if ("large")
new /obj/item/tank/emergency/oxygen/double(src)
new /obj/item/tank/emergency/oxygen/double(src)
new /obj/item/rig/emergency(src)
new /obj/item/rig/emergency/astro(src)
new /obj/item/clothing/mask/gas(src)
new /obj/item/clothing/mask/gas(src)
new /obj/item/oxycandle(src)
if ("both")
new /obj/item/storage/toolbox/emergency(src)
new /obj/item/tank/emergency/oxygen/engi(src)
new /obj/item/tank/emergency/oxygen/engi(src)
new /obj/item/rig/emergency(src)
new /obj/item/rig/emergency/astro(src)
new /obj/item/clothing/mask/gas/half(src)
new /obj/item/clothing/mask/gas/half(src)
new /obj/item/storage/firstaid/o2(src)
Expand Down
2 changes: 0 additions & 2 deletions code/modules/clothing/spacesuits/rig/modules/utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@
return 1

/obj/item/rig_module/maneuvering_jets/activate()
if(!..())
return

if(active)
return 0
Expand Down
Loading

0 comments on commit 7afafc4

Please sign in to comment.