Skip to content

Commit

Permalink
OTRepair1
Browse files Browse the repository at this point in the history
  • Loading branch information
LC4492 committed Oct 1, 2023
1 parent 9f4d3b4 commit dea8e81
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions code/game/jobs/job/logistics/engi/ordnance_tech.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//Ordnance Technician
/datum/job/logistics/tech
/datum/job/logistics/otech
title = JOB_ORDNANCE_TECH
total_positions = 3
spawn_positions = 3
Expand All @@ -11,10 +11,10 @@
gear_preset = /datum/equipment_preset/uscm_ship/ordn
entry_message_body = "<a href='%WIKIURL%'>Your job</a> is to maintain the integrity of the USCM weapons, munitions and equipment, including the orbital cannon. You can use the workshop in the portside hangar to construct new armaments for the marines. However you remain one of the more flexible roles on the ship and as such may receive other menial tasks from your superiors."

/datum/job/logistics/tech/set_spawn_positions(count)
/datum/job/logistics/otech/set_spawn_positions(count)
spawn_positions = ot_slot_formula(count)

/datum/job/logistics/tech/get_total_positions(latejoin = 0)
/datum/job/logistics/otech/get_total_positions(latejoin = 0)
var/positions = spawn_positions
if(latejoin)
positions = ot_slot_formula(get_total_marines())
Expand All @@ -26,12 +26,11 @@
total_positions_so_far = positions
return positions

AddTimelock(/datum/job/logistics/tech, list(
AddTimelock(/datum/job/logistics/otech, list(
JOB_ENGINEER_ROLES = 1 HOURS
))

/obj/effect/landmark/start/otech
name = JOB_ORDNANCE_TECH
icon_state = "ot_spawn"
job = /datum/job/logistics/otech

job = /datum/job/logistics/otech

0 comments on commit dea8e81

Please sign in to comment.