forked from Citadel-Station-13/Citadel-Station-13-RP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Citadel-Station-13:master' into master
- Loading branch information
Showing
132 changed files
with
685 additions
and
5,477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ on: | |
|
||
jobs: | ||
update-dmapi: | ||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'Citadel-Station-13/Citadel-Station-13-RP' # Don't run on forks! | ||
name: Update the TGS DMAPI | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Branch | ||
run: | | ||
|
@@ -22,15 +22,16 @@ jobs: | |
- name: Apply DMAPI update | ||
uses: tgstation/tgs-dmapi-updater@v2 | ||
id: dmapi-update | ||
with: | ||
header-path: 'code/__DEFINES/tgs.dm' | ||
library-path: 'code/modules/tgs' | ||
|
||
- name: Commit and Push | ||
continue-on-error: true | ||
run: | | ||
git config user.name tgstation-server | ||
git config user.email [email protected] | ||
git config user.name "tgstation-server-ci[bot]" | ||
git config user.email "161980869+tgstation-server-ci[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m 'Update TGS DMAPI' | ||
git push -f -u origin tgs-dmapi-update | ||
|
@@ -42,7 +43,7 @@ jobs: | |
source_branch: "tgs-dmapi-update" | ||
destination_branch: "master" | ||
pr_title: "Automatic TGS DMAPI Update" | ||
pr_body: "This pull request updates the TGS DMAPI to the latest version. Please note any breaking or unimplemented changes before merging." | ||
pr_body: "This pull request updates the TGS DMAPI to the latest version. Please note any changes that may be breaking or unimplemented in your codebase by checking what changes are in the definitions file: code/__DEFINES/tgs.dm before merging.\n\n${{ steps.dmapi-update.outputs.release-notes }}" | ||
pr_label: "Tools" | ||
pr_allow_empty: false | ||
github_token: ${{ secrets.SILICONS_BOT_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Interplanetary Worker's League | ||
|
||
By Seeks | ||
|
||
Description pending. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/obj/item/clothing/suit/storage/vest/leaguearmor | ||
name = "leaguer armored vest" | ||
desc = "A cumbersome green armored vest with steel plates slotted on the inside. Part of the new MOROD gear rollout for IWL armed forces." | ||
icon = 'icons/content/factions/orion/iwl/iwlsuit.dmi' | ||
icon_state = "iwl_armor" | ||
armor_type = /datum/armor/station/tactical | ||
encumbrance = ITEM_ENCUMBRANCE_ARMOR_MEDIUM | ||
weight = ITEM_WEIGHT_ARMOR_MEDIUM | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/suit/storage/vest/leaguearmorheavy | ||
name = "leaguer heavy armored vest" | ||
desc = "An even more cumbersome green armored vest with steel plates slotted on the inside, side-padding and an armored collar. Part of the new MOROD gear rollout for IWL armed forces. Looks like it can take a huge beating." | ||
icon = 'icons/content/factions/orion/iwl/iwlsuit.dmi' | ||
icon_state = "iwl_armor_heavy" | ||
armor_type = /datum/armor/station/heavy | ||
encumbrance = ITEM_ENCUMBRANCE_ARMOR_HEAVY | ||
weight = ITEM_WEIGHT_ARMOR_HEAVY | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/obj/item/gun/ballistic/automatic/k25 | ||
name = "League Service Rifle" | ||
desc = "A cheaply-made but rugged and reliable K25 semi-automatic rifle. A staple weapon of the Interplanetary Worker's League naval and armed forces, it handles a lighter caliber than other weaponry but packs quite the punch either way." | ||
icon = 'icons/content/factions/orion/iwl/items/guns/k25.dmi' | ||
icon_state = "k25" | ||
w_class = WEIGHT_CLASS_BULKY | ||
recoil = 2 // The battlerifle was known for its nasty recoil. | ||
max_shells = 45 | ||
caliber = /datum/ammo_caliber/a9_5mm | ||
origin_tech = list(TECH_COMBAT = 4, TECH_MATERIAL = 2) | ||
magazine_type = /obj/item/ammo_magazine/a9_5mm/k25 | ||
allowed_magazines = list(/obj/item/ammo_magazine/a9_5mm/k25) | ||
fire_sound = 'sound/content/factions/orion/iwl/gun_k25.ogg' | ||
load_method = MAGAZINE | ||
slot_flags = SLOT_BACK | ||
one_handed_penalty = 40 // The weapon itself is heavy | ||
render_use_legacy_by_default = FALSE | ||
item_state = null | ||
|
||
/obj/item/gun/ballistic/automatic/k25/update_icon() | ||
. = ..() | ||
update_held_icon() | ||
|
||
/obj/item/gun/ballistic/automatic/k25/update_icon_state() | ||
. = ..() | ||
if(ammo_magazine) | ||
icon_state = "k25" | ||
else | ||
icon_state = "k25-empty" | ||
|
||
// ---------- AMMO & MAGAZINE | ||
|
||
/obj/item/ammo_magazine/a9_5mm/k25 | ||
name = "box mag (9.5x40mm)" | ||
icon = 'icons/content/factions/orion/iwl/ammo_vr.dmi' | ||
icon_state = "k25_m" | ||
ammo_caliber = /datum/ammo_caliber/a9_5mm | ||
ammo_preload = /obj/item/ammo_casing/a95 | ||
ammo_max = 45 | ||
magazine_type = MAGAZINE_TYPE_NORMAL | ||
|
||
/obj/item/ammo_magazine/a9_5mm/k25/empty | ||
ammo_current = 0 | ||
|
||
// /obj/item/ammo_casing/s72 | ||
// desc = "A 9.5x40mm bullet casing." | ||
// icon_state = "rifle-casing" | ||
// caliber = "9.5x40mm" | ||
// projectile_type = /obj/projectile/bullet/rifle/s72 | ||
|
||
// /obj/projectile/bullet/rifle/s72 | ||
// damage = 35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/obj/item/clothing/head/iwlcap | ||
name = "officer's cap" | ||
desc = "A fine officer's cap denoting a leaguer rank-bearer. A golden star is embedded to the front." | ||
icon = 'icons/content/factions/orion/iwl/iwlhelms.dmi' | ||
icon_state = "iwl_cap" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/head/helmet/iwlhelmet | ||
name = "iwl helmet" | ||
desc = "A green helmet with padding and machined steel coating. Looks like it can take a hit or two." | ||
icon = 'icons/content/factions/orion/iwl/iwlhelms.dmi' | ||
icon_state = "iwl_helmet" | ||
armor_type = /datum/armor/station/tactical | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/head/helmet/iwlhelmetheavy | ||
name = "heavy iwl helmet" | ||
desc = "A green helmet with heavy padding and machined steel coating. Extended cheek plates and a mouthpiece protects the face. Heavy!" | ||
icon = 'icons/content/factions/orion/iwl/iwlhelms.dmi' | ||
icon_state = "iwl_helmet_heavy" | ||
armor_type = /datum/armor/station/ballistic | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/obj/item/clothing/suit/iwlofficersuit | ||
name = "officer's vest" | ||
desc = "A heavy, winter-padded vest with some insignia marking the wearer as part of the IWL navy." | ||
icon = 'icons/content/factions/orion/iwl/iwlsuit.dmi' | ||
icon_state = "iwl_officer" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/suit/iwlcommissarsuit | ||
name = "commissar vest" | ||
desc = "A heavy, winter-padded vest with some insignia marking the wearer as part of the IWL navy. This one is particularly well-manufactured with additional regalia." | ||
icon = 'icons/content/factions/orion/iwl/iwlsuit.dmi' | ||
icon_state = "iwl_comm" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/obj/item/clothing/under/iwlcommissar | ||
name = "commissar uniform" | ||
desc = "A decorated uniform belonging to a political officer. Red stripes on the shoulderpads denote their political affiliation to the All-Labor United Front." | ||
icon = 'icons/content/factions/orion/iwl/iwluni.dmi' | ||
icon_state = "iwl_comm_uniform" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/under/iwlofficer | ||
name = "officer's uniform" | ||
desc = "A decorated uniform belonging to a normal officer. Padded for cold Vorodzhian winters" | ||
icon = 'icons/content/factions/orion/iwl/iwluni.dmi' | ||
icon_state = "iwl_off_uniform" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL | ||
|
||
/obj/item/clothing/under/iwluniform | ||
name = "soldiery uniform" | ||
desc = "Green fatigues for conscripted Leaguer youth. " | ||
icon = 'icons/content/factions/orion/iwl/iwluni.dmi' | ||
icon_state = "iwl_uniform" | ||
worn_render_flags = WORN_RENDER_SLOT_ONE_FOR_ALL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/obj/machinery/porta_turret/stationary/shielded | ||
var/obj/item/shield_projector/rectangle/shield_projector | ||
var/shield_health = 150 | ||
var/shield_regen_delay = 10 SECONDS | ||
var/shield_regen_amount = 10 | ||
var/shield_size_x = 1 | ||
var/shield_size_y = 1 | ||
|
||
/obj/machinery/porta_turret/stationary/shielded/hostile | ||
check_all = TRUE | ||
|
||
/obj/machinery/porta_turret/stationary/shielded/Initialize(mapload) | ||
shield_projector = new /obj/item/shield_projector/rectangle(src) | ||
shield_projector.shield_health = shield_health | ||
shield_projector.max_shield_health = shield_health | ||
shield_projector.shield_regen_delay = shield_regen_delay | ||
shield_projector.shield_regen_amount = shield_regen_amount | ||
shield_projector.size_x = shield_size_x | ||
shield_projector.size_y = shield_size_y | ||
|
||
// we do this here so that the above changes get included | ||
shield_projector.always_on = TRUE | ||
shield_projector.create_shields() | ||
return ..() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.