-
-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6724a62
commit 76cf4c8
Showing
15 changed files
with
170 additions
and
21 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
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
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,58 @@ | ||
/datum/round_event_control/fax_spam | ||
name = "Fax Spam" | ||
typepath = /datum/round_event/fax_spam | ||
weight = 10 | ||
max_occurrences = 1 | ||
min_players = 1 | ||
earliest_start = 5 MINUTES | ||
|
||
/datum/round_event/fax_spam | ||
endWhen = 60 | ||
var/list/pick_faxes = list() | ||
var/spam_frequency = 5 | ||
var/spam_prob = 50 | ||
var/obj/item/paper/spam/spam_type | ||
|
||
/datum/round_event/fax_spam/setup() | ||
endWhen = rand(20, 40) | ||
spam_type = pick(/obj/item/paper/spam/ifmc, /obj/item/paper/spam/help) | ||
|
||
/datum/round_event/fax_spam/start() | ||
for(var/obj/machinery/fax/fax_machine in GLOB.machines) | ||
if(fax_machine.visible_to_network) | ||
pick_faxes += fax_machine | ||
|
||
/datum/round_event/fax_spam/tick() | ||
if(activeFor % spam_frequency == 0) | ||
var/obj/item/paper/spam/spam_message = new spam_type | ||
for(var/obj/machinery/fax/fax_machine in pick_faxes ) | ||
if(!prob(spam_prob)) | ||
continue | ||
fax_machine.receive(spam_message, spam_message.sender) | ||
|
||
/obj/item/paper/spam | ||
var/sender = "Spammer" | ||
|
||
/obj/item/paper/spam/ifmc | ||
name = "paper- 'Official Bulletin'" | ||
sender = "Interstellar Frontier Mining Conglormerate" | ||
default_raw_text = {"Greetings sir/madame/other, | ||
|
||
I am representative of the Interstellar Frontier Mining Conglomerate, and recent lucerative mining operations in frontier systems have resulted in an approximate profit equal to 40,000,000 credits. | ||
|
||
Unfortunately, due to Solar Confederation laws regarding monetary transfer, we are unable to transfer monetary profits to our local bank accounts, and we require your assistance in transferring our funding. For facilitating this transfer, the Interstellar Frontier Mining Conglomerate is willing to relinquish 10% or 4,000,000 credits in exchange for services rendered. | ||
|
||
To assist us, please wire funding equal to or exceeding 500 credits to the SolGov Monetary Fund Account listed below. Upon confirmed reciept of the funding, we will send additional instructions on monetary transfer. | ||
|
||
Forward funding to SolGov Monetary Fund Account ID: 846584. | ||
|
||
Yours truly, | ||
|
||
Interstellar Frontier Mining Conglormerate Board of Directors"} | ||
|
||
/obj/item/paper/spam/help | ||
name = "paper- 'HELP ME'" | ||
sender = "HELP ME" | ||
default_raw_text = {"HEEEEEEEEELP | ||
|
||
HEEEEEEEEEEEEELP ME"} |
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,79 @@ | ||
/datum/round_event_control/salesman | ||
name = "Outpost Salesman" | ||
typepath = /datum/round_event/ghost_role/salesman | ||
weight = 5 | ||
earliest_start = 10 MINUTES | ||
min_players = 0 | ||
max_occurrences = 1 | ||
|
||
/datum/round_event/ghost_role/salesman | ||
role_name = "Outpost Salesman" | ||
minimum_required = 1 | ||
var/salesman_outfit = /datum/outfit/job/independent/cargo_tech | ||
var/locker = /obj/structure/closet/salesman | ||
|
||
/datum/round_event/ghost_role/salesman/spawn_role() | ||
var/list/candidates = get_candidates(null, null, null) | ||
if(!candidates.len) | ||
return NOT_ENOUGH_PLAYERS | ||
|
||
var/mob/dead/selected = pick_n_take(candidates) | ||
|
||
var/list/spawn_locs = list() | ||
for(var/obj/effect/landmark/salesman/spawn_point in GLOB.landmarks_list) | ||
spawn_locs += spawn_point.loc | ||
if(!spawn_locs.len) | ||
return MAP_ERROR | ||
|
||
var/spawn_location = pick(spawn_locs) | ||
var/mob/living/carbon/human/salesman = new(spawn_location) | ||
var/datum/preferences/A = new | ||
A.copy_to(salesman) | ||
salesman.dna.update_dna_identity() | ||
var/datum/mind/salesman_mind = new /datum/mind(selected.key) | ||
salesman_mind.assigned_role = role_name | ||
salesman_mind.special_role = role_name | ||
salesman_mind.active = TRUE | ||
salesman_mind.transfer_to(salesman) | ||
salesman.equipOutfit(salesman_outfit) | ||
|
||
new locker(spawn_location) | ||
|
||
message_admins("[ADMIN_LOOKUPFLW(salesman)] has been made into a salesman by an event.") | ||
log_game("[key_name(salesman)] was spawned as a salesman by an event.") | ||
spawned_mobs += salesman | ||
return SUCCESSFUL_SPAWN | ||
|
||
/obj/structure/closet/salesman | ||
|
||
/obj/structure/closet/salesman/PopulateContents() | ||
..() | ||
var/type = pick("hunters_pride") | ||
|
||
var/list/stuff = list() | ||
|
||
|
||
stuff += /obj/item/spacecash/bundle/loadsamoney | ||
stuff += /obj/item/spacecash/bundle/loadsamoney | ||
|
||
switch(type) | ||
if("hunters_pride") | ||
stuff += list(/obj/item/gun/ballistic/rifle/illestren, | ||
/obj/item/gun/ballistic/rifle/illestren, | ||
/obj/item/gun/ballistic/rifle/scout, | ||
/obj/item/gun/ballistic/shotgun/doublebarrel, | ||
/obj/item/gun/ballistic/revolver/detective, | ||
/obj/item/gun/ballistic/revolver/detective, | ||
/obj/item/gun/ballistic/revolver/firebrand, | ||
/obj/item/ammo_box/c38, | ||
/obj/item/ammo_box/c38, | ||
/obj/item/ammo_box/c38_box, | ||
/obj/item/ammo_box/c38_box, | ||
/obj/item/ammo_box/magazine/illestren_a850r, | ||
/obj/item/ammo_box/magazine/illestren_a850r, | ||
/obj/item/storage/toolbox/ammo/a850r,) | ||
|
||
for(var/thing in stuff) | ||
new thing(src) | ||
|
||
|
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
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