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

Upp req console, tank and cas printers #6988

Open
wants to merge 84 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
9676fa0
eh
uuuuhuuuu Jul 13, 2024
a184b87
Merge branch 'master' of https://github.com/cuberound/cmss13
uuuuhuuuu Jul 13, 2024
444b74c
ehm
uuuuhuuuu Jul 16, 2024
98fa1ae
Merge branch 'master' of https://github.com/cuberound/cmss13
uuuuhuuuu Jul 16, 2024
2a78285
ehm
uuuuhuuuu Jul 16, 2024
b412fdb
Merge branch 'cmss13-devs:master' into master
cuberound Jul 18, 2024
d2d0c64
Merge branch 'cmss13-devs:master' into master
cuberound Aug 9, 2024
920c4a3
Merge branch 'cmss13-devs:master' into master
cuberound Aug 10, 2024
30b2c7f
groundwork begins
uuuuhuuuu Aug 19, 2024
6a43ea3
okey we cooking
uuuuhuuuu Aug 19, 2024
c403150
okey I KNOW THAT NORMAL ELEVATOR DOES NOT WORK but I need to test the…
uuuuhuuuu Aug 19, 2024
cddc464
eh
uuuuhuuuu Aug 19, 2024
e7ab536
ehm
uuuuhuuuu Aug 19, 2024
cf6649e
Adding basic stuff to UPP req console
SerheyKr Aug 19, 2024
7bcb0a0
Merge pull request #5 from SerheyKr/Adding-basic-stuff-to-UPP-req-con…
cuberound Aug 19, 2024
d93b72e
menu for upp stuff thanks to tex
uuuuhuuuu Aug 19, 2024
677b328
fixes again
uuuuhuuuu Aug 19, 2024
769220d
removes random create from upp console
uuuuhuuuu Aug 19, 2024
e495da8
Fixing crate types and some names. Adding circuit for UPP req console…
SerheyKr Aug 20, 2024
abdc1fd
cleanup fix
uuuuhuuuu Aug 20, 2024
f09b8d7
solves init in nice way
uuuuhuuuu Aug 20, 2024
5ddd21d
good
uuuuhuuuu Aug 20, 2024
71e223b
removes dupe
uuuuhuuuu Aug 20, 2024
1858506
fix
uuuuhuuuu Aug 20, 2024
64bb426
tabs added to list
uuuuhuuuu Aug 20, 2024
bd9f71a
ehm what is wrong
uuuuhuuuu Aug 20, 2024
aca0349
adds ,
uuuuhuuuu Aug 20, 2024
248b5e3
whaat
uuuuhuuuu Aug 20, 2024
e5af819
eh?
uuuuhuuuu Aug 20, 2024
cbf1d5c
aaaa
uuuuhuuuu Aug 20, 2024
5f66565
god
uuuuhuuuu Aug 20, 2024
f9f3133
pain
uuuuhuuuu Aug 20, 2024
3872710
aaa
uuuuhuuuu Aug 20, 2024
bfd0efb
Merge pull request #6 from SerheyKr/Fixing-crate-types-and-some-names…
cuberound Aug 20, 2024
c1feb57
atempt to solve improper cleanup
uuuuhuuuu Aug 20, 2024
1ee30b8
I hate alphabet
uuuuhuuuu Aug 20, 2024
297f7de
eh
uuuuhuuuu Aug 20, 2024
4500db1
eh
uuuuhuuuu Aug 20, 2024
f220a3b
fuck
uuuuhuuuu Aug 20, 2024
099641d
WORK!
uuuuhuuuu Aug 20, 2024
0d39aa0
dp part fabricator and tank part fabricator
uuuuhuuuu Aug 20, 2024
8e1a08e
uses definde strings
uuuuhuuuu Aug 20, 2024
93ccb24
Updating UPP crates, some paper stuff
SerheyKr Aug 20, 2024
1cac616
Removing black market from UPP req circuit
SerheyKr Aug 20, 2024
5855835
Update computer.dm
SerheyKr Aug 20, 2024
b2bb92f
Update supplyshuttle_upp.dm
SerheyKr Aug 20, 2024
e202a55
Creating new order console for UPP and some paper update
SerheyKr Aug 20, 2024
7174dd4
Merge pull request #7 from SerheyKr/Updating-UPP-crates,-some-paper-s…
cuberound Aug 20, 2024
17c466c
removes unintended mapping chnages
uuuuhuuuu Aug 21, 2024
8171ba4
Merge branch 'UPP-req-console' of https://github.com/cuberound/cmss13…
uuuuhuuuu Aug 21, 2024
c1164bc
Fixing papers and adding random crate to UPP req
SerheyKr Aug 21, 2024
f9a0be6
Merge pull request #11 from SerheyKr/Fixing-papers-and-adding-random-…
cuberound Aug 21, 2024
9139bb9
Bug fix
SerheyKr Aug 21, 2024
4ba1819
Merge pull request #12 from SerheyKr/Bug-fix
cuberound Aug 21, 2024
8bc3e9e
UPP req console code refactoring
SerheyKr Aug 22, 2024
f088ee5
Little fixes
SerheyKr Aug 22, 2024
f983584
Merge pull request #13 from SerheyKr/UPP-req-console-code-refactoring
cuberound Aug 22, 2024
748daa6
removes unused iterations from upp supply
uuuuhuuuu Aug 23, 2024
5e1c458
now
uuuuhuuuu Aug 23, 2024
742372c
working on it
uuuuhuuuu Aug 24, 2024
20aefb1
fix
uuuuhuuuu Aug 24, 2024
9605736
eh
uuuuhuuuu Aug 24, 2024
9b692a7
eh
uuuuhuuuu Aug 24, 2024
e55b5d5
em
uuuuhuuuu Aug 24, 2024
50c882e
eh
uuuuhuuuu Aug 24, 2024
1987965
missing ,
uuuuhuuuu Aug 24, 2024
7e94a2e
removes useless junk
uuuuhuuuu Aug 24, 2024
30c8dca
heh
uuuuhuuuu Aug 24, 2024
a326f21
em
uuuuhuuuu Aug 24, 2024
66cfb82
cleanup
uuuuhuuuu Aug 24, 2024
2fdf73c
ehm
uuuuhuuuu Aug 24, 2024
8679367
eh
uuuuhuuuu Aug 24, 2024
e3724bc
Merge branch 'master' into UPP-req-console
cuberound Oct 5, 2024
d1a7c19
correctly solves the merge conflct
uuuuhuuuu Oct 6, 2024
4303fbd
Merge branch 'master' into UPP-req-console
cuberound Oct 7, 2024
25f1ec9
mergeconflict fix finished
uuuuhuuuu Oct 7, 2024
9e12f47
fixed whitepsaces and capital in proc
uuuuhuuuu Oct 8, 2024
12fb0dc
Merge branch 'master' into UPP-req-console
cuberound Oct 9, 2024
c2d2ff6
none made shuttles into new shuttle code so here we go I quess
uuuuhuuuu Oct 10, 2024
00eb850
working elevator
uuuuhuuuu Oct 10, 2024
238a2af
renames areas
uuuuhuuuu Oct 10, 2024
d4abe28
finishing touch
uuuuhuuuu Oct 10, 2024
c02a961
finishing touch
uuuuhuuuu Oct 10, 2024
bd1049f
Merge branch 'master' into UPP-req-console
cuberound Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions code/controllers/shuttle_controller.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
process_shuttles = list()
locs_crash = list()

var/datum/shuttle/ferry/shuttle
var/datum/shuttle/ferry/supply/shuttle

// Supply shuttle
shuttle = new/datum/shuttle/ferry/supply()
Expand All @@ -40,8 +40,9 @@

shuttles["Supply"] = shuttle
process_shuttles += shuttle

GLOB.supply_controller.shuttle = shuttle
GLOB.supply_controller_upp.shuttle = shuttle


//---ELEVATOR---//
// Elevator I
Expand Down
1 change: 1 addition & 0 deletions code/controllers/subsystem/ticker.dm
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ SUBSYSTEM_DEF(ticker)
to_chat_spaced(world, html = FONT_SIZE_BIG(SPAN_ROLE_BODY("<B>Welcome to [GLOB.round_statistics.round_name]</B>")))

GLOB.supply_controller.start_processing()
GLOB.supply_controller_upp.start_processing()

for(var/i in GLOB.closet_list) //Set up special equipment for lockers and vendors, depending on gamemode
var/obj/structure/closet/C = i
Expand Down
5 changes: 4 additions & 1 deletion code/datums/supply_packs/_supply_packs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@
/// How much "heat" this crate adds, too much heat will send an investigation. Only use for contraband.
var/crate_heat = 0

/datum/supply_packs/proc/Get_contains()
cuberound marked this conversation as resolved.
Show resolved Hide resolved
return contains

/datum/supply_packs/New()
if(randomised_num_contained)
manifest += "Contains any [randomised_num_contained] of:"
manifest += "<ul>"
for(var/atom/movable/path in contains)
for(var/atom/movable/path in Get_contains())
if(!path) continue
manifest += "<li>[initial(path.name)]</li>"
manifest += "</ul>"
2 changes: 1 addition & 1 deletion code/datums/supply_packs/black_market.dm
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ USCM spare items, miscellaneous gear that's too niche and distant (or restricted
/datum/supply_packs/contraband/ammo/bizon
name = "Magazines box (Type 64, 10x mags)"
dollar_cost = 40
contains = list(/obj/item/ammo_box/magazine/type64)
contains = list(/obj/item/ammo_box/magazine/type64,)
containertype = /obj/structure/largecrate/black_market

/datum/supply_packs/contraband/ammo/m1911
Expand Down
220 changes: 220 additions & 0 deletions code/datums/supply_packs/upp_ammo.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
/datum/supply_packs/upp/ammo_rounds_box_5_45x39mm
name = "ammo box crate (5.45x39mm) (x600 rounds)"
contains = list(
/obj/item/ammo_box/rounds/type71,
)
cost = 20
containertype = /obj/structure/closet/crate/ammo
containername = "5.45x39mm ammo crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_rounds_box_5_45x39mm_ap
name = "ammo box crate (5.45x39mm AP) (x600 rounds)"
contains = list(
/obj/item/ammo_box/rounds/type71/ap,
)
cost = 40
containertype = /obj/structure/closet/crate/ammo
containername = "5.45x39mm AP ammo crate"
group = "UPP Ammo"


/datum/supply_packs/upp/ammo_8g_slug
name = "Magazine box (Type 23, 20x slug)"
contains = list(
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
/obj/item/ammo_magazine/handful/shotgun/heavy/slug,
)
cost = 10
containertype = /obj/structure/closet/crate/ammo
containername = "Type 23 slug ammo crate"
group = "UPP Ammo"

/datum/supply_packs/ammo_8g_dragon_breath
name = "Magazine box (Type 23, 10x dragon's breath)"
contains = list(
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
/obj/item/ammo_magazine/handful/shotgun/heavy/dragonsbreath,
)
cost = 20
containertype = /obj/structure/closet/crate/ammo
containername = "Type 23 dragon's breath ammo crate"
group = "UPP Ammo"

/datum/supply_packs/ammo_8g_flechette
name = "Magazine box (Type 23, 10x flechette)"
contains = list(
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
/obj/item/ammo_magazine/handful/shotgun/heavy/flechette,
)
cost = 10
containertype = /obj/structure/closet/crate/ammo
containername = "Type 23 flechette ammo crate"
group = "UPP Ammo"


/datum/supply_packs/upp/ammo_Type64_x10
name = "Magazine box (Type 64, 10x regular mags)"
contains = list(
/obj/item/ammo_box/magazine/type64,
)
cost = 20
containertype = /obj/structure/closet/crate/ammo
containername = "Type 64 magazines crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_Type71_box
name = "Magazine box (Type 71, 10x regular mags)"
contains = list(
/obj/item/ammo_box/magazine/type71,
)
cost = 20
containertype = /obj/structure/closet/crate/ammo
containername = "Type 71 magazines crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_Type71_box_ap
name = "Magazine box (Type 71, 10x AP mags)"
contains = list(
/obj/item/ammo_box/magazine/type71/ap,
)
cost = 40
containertype = /obj/structure/closet/crate/ammo
containername = "Type 71 AP magazines crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_m2c_upp
name = "M2C ammunition crate (x2)"
contains = list(
/obj/item/ammo_magazine/m2c,
/obj/item/ammo_magazine/m2c,
)
cost = 25
containertype = /obj/structure/closet/crate/ammo
containername = "\improper m2c ammunition crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_pkp_mags
name = "Magazines (QYJ-72, 10x mags)"
contains = list(
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
/obj/item/ammo_magazine/pkp,
)
cost = 30
containertype = /obj/structure/closet/crate/ammo
containername = "QYJ-72 magazines crate"
group = "UPP Ammo"

/datum/supply_packs/upp/ammo_minigun_mags
name = "Magazines (GSh-7.62, 6x mags)"
contains = list(
/obj/item/ammo_magazine/minigun,
/obj/item/ammo_magazine/minigun,
/obj/item/ammo_magazine/minigun,
/obj/item/ammo_magazine/minigun,
/obj/item/ammo_magazine/minigun,
/obj/item/ammo_magazine/minigun,
)
cost = 30
containertype = /obj/structure/closet/crate/ammo
containername = "GSh-7.62 magazines crate"
group = "UPP Special Ammo"

/datum/supply_packs/upp/ammo_Type88_x10
name = "Magazines (Type 88, 10x regular mags)"
contains = list(
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
/obj/item/ammo_magazine/sniper/svd,
)
cost = 20
containertype = /obj/structure/closet/crate/ammo
containername = "Type 88 magazines crate"
group = "UPP Special Ammo"

/datum/supply_packs/upp/ammo_rpg_he
name = "HJRA-12 HE Rocket Crate (x3)"
contains = list(
/obj/item/ammo_magazine/rocket/upp,
/obj/item/ammo_magazine/rocket/upp,
/obj/item/ammo_magazine/rocket/upp,
)
cost = 30
containertype = /obj/structure/closet/crate/explosives
containername = "HJRA-12 HE Rocket Crate"
group = "UPP Special Ammo"

/datum/supply_packs/upp/ammo_rpg_ap
name = "HJRA-12 AP Rocket Crate (x3)"
contains = list(
/obj/item/ammo_magazine/rocket/upp/at,
/obj/item/ammo_magazine/rocket/upp/at,
/obj/item/ammo_magazine/rocket/upp/at,
)
cost = 30
containertype = /obj/structure/closet/crate/explosives
containername = "HJRA-12 AP Rockets Crate"
group = "UPP Special Ammo"

/datum/supply_packs/upp/ammo_rpg_wp
name = "HJRA-12 Extreme-Intensity Incendiary Rocket Crate (x3)"
contains = list(
/obj/item/ammo_magazine/rocket/upp/incen,
/obj/item/ammo_magazine/rocket/upp/incen,
/obj/item/ammo_magazine/rocket/upp/incen,
)
cost = 30
containertype = /obj/structure/closet/crate/explosives
containername = "HJRA-12 Extreme-Intensity Incendiary Rocket Crate"
group = "UPP Special Ammo"
Loading
Loading