Adds new factions to the fax machine (#279)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
One small issue with this PR is that all new factions are listed at the
top of the list, while regular station faxes are shifted down. This
needs to be resolved before the PR is merged. Otherwise, it works as
intended.
Emag is required for most antagonistic factions.
Has no gameplay impact other than allowing anyone using a fax machine to
direct a fax to a specific target. NT remains at the top of the list.
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

<!-- Please make sure to actually test your PRs. If you have not tested
your PR mention it. -->

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑
Add: The ability to fax different factions, ship relays, et cetera in
the sector, based on lore.
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
This commit is contained in:
ReturnToZender
2023-06-21 22:10:22 -05:00
committed by GitHub
parent ee5139f831
commit 51b8d16fdf
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
/obj/machinery/fax/Initialize()
.=..()
special_networks |= list(
//Food Delivery
Moffuchis = list(fax_name = "Moffuchis Pizzeria", fax_id = "Moffuchis", color = "red", emag_needed = FALSE),
Dogginos = list(fax_name = "Dogginos Delivery", fax_id = "Dogginos Delivery", color = "red", emag_needed = TRUE),
//Embassies or Factions
UnHives = list(fax_name = "United Hives", fax_id = "UnHives", color = "orange", emag_needed = FALSE),
Tizira = list(fax_name = "Tiziran", fax_id = "Tirizian", color = "orange", emag_needed = FALSE),
Moghes = list(fax_name = "Moghes", fax_id = "Moghes", color = "orange", emag_needed = FALSE),
Nri = list(fax_name = "NRI", fax_id = "NRI", color = "orange", emag_needed = FALSE),
Ombrux = list(fax_name = "Ombrux", fax_id = "Ombrux", color = "orange", emag_needed = TRUE),
Soato = list(fax_name = "Soato", fax_id = "Soato", color = "orange", emag_needed = TRUE),
SolFed = list(fax_name = "SBI", fax_id = "SBI", color = "orange", emag_needed = FALSE),
Irs = list(fax_name = "IRS", fax_id = "IRS", color = "orange", emag_needed = FALSE),
WizFed = list(fax_name = "Wizard Fed", fax_id = "WizFed", color = "blue", emag_needed = TRUE),
Union = list(fax_name = "Union", fax_id = "Union", color = "orange", emag_needed = TRUE),
//Syndicate companies
Cybersun = list(fax_name = "Cybersun", fax_id = "Cybersun", color = "red", emag_needed = TRUE),
Tiger = list(fax_name = "Tiger Coop", fax_id = "Tiger", color = "red", emag_needed = TRUE),
Gorlex = list(fax_name = "Gorlex", fax_id = "Gorlex", color = "red", emag_needed = TRUE),
Donk = list(fax_name = "Donk Co.", fax_id = "Donk", color = "red", emag_needed = TRUE),
Waffle = list(fax_name = "Waffle Co.", fax_id = "Waffle", color = "red", emag_needed = TRUE),
Mi13 = list(fax_name = "MI13", fax_id = "MI13", color = "red", emag_needed = TRUE),
Iaa = list(fax_name = "NT Black Ops", fax_id = "InternalAffairs", color = "black", emag_needed = TRUE),
Blf = list(fax_name = "Bee Liberation", fax_id = "Bee", color = "red", emag_needed = TRUE),
Arc = list(fax_name = "Animal Rights Consortium", fax_id = "PETA", color = "red", emag_needed = TRUE),
Coe = list(fax_name = "Champions of Evil", fax_id = "Evil", color = "red", emag_needed = TRUE),
//Rogue AI cores
Fan = list(fax_name = "Fanatical Revelation", fax_id = "FreeAI", color = "green", emag_needed = TRUE),
Synd = list(fax_name = "SyndOS", fax_id = "SyndAI", color = "red", emag_needed = TRUE),
Logi = list(fax_name = "Logic Core", fax_id = "LogicAI", color = "green", emag_needed = TRUE),
//Random ships
Ntss = list(fax_name = "NTSS Elysium", fax_id = "ntss", color = "black", emag_needed = FALSE),
Moff = list(fax_name = "Mothic Fleet Flagship", fax_id = "Moff", color = "yellow", emag_needed = FALSE),
Zeta = list(fax_name = "Mothership Zeta", fax_id = "Zeta", color = "pink", emag_needed = TRUE),
)
sort_list(special_networks)

View File

@@ -7144,6 +7144,7 @@
#include "modular_zubbers\code\modules\mod\mod_types.dm"
#include "modular_zubbers\code\modules\modular_computers\file_system\programs\minesweeper.dm"
#include "modular_zubbers\code\modules\pai\ghost_pai.dm"
#include "modular_zubbers\code\modules\paperwork\fax.dm"
#include "modular_zubbers\code\modules\projectiles\guns\energy\pulse.dm"
#include "modular_zubbers\code\modules\research\designs\comp_board_designs.dm"
#include "modular_zubbers\code\modules\research\designs\medical_designs.dm"