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

Tele COPE #15810

Merged
merged 6 commits into from May 20, 2024
Merged

Tele COPE #15810

merged 6 commits into from May 20, 2024

Conversation

Lumipharon
Copy link
Contributor

@Lumipharon Lumipharon commented May 6, 2024

About The Pull Request

What's worse than a SOM engineer throwing a COPE sentry at you?
A SOM SL calling in a teleporter delivered COPE on you.

Adds the ability to summon up to 2 COPE sentries via teleporter. Like TGMC sentry/supply pods, this is enabled simply by activating the teleporter asset, and lasing like all air support.

For maints: I also reorganised the files, as it was all crammed in one giant DM. Only the stuff in the teleport.dm file is new though.

Why It's Good For The Game

While the teleporter is situationally very strong, in practical terms drop pods are SIGNIFICANTLY more useful, due to being very flexible for individual drops.

This adds a bit more utility to the teleporter, even when you're not using it to deploy troops or supplies.

Changelog

🆑
add: Campaign: Activating the teleporter asset gives access to a teleport COPE air support type
/:cl:

@tgstation-server tgstation-server added the Feature New interesting mechanics with new interesting bugs label May 6, 2024
@github-actions github-actions bot added the Merge Conflict Pull request is in a conflicted state with base branch. label May 9, 2024
@tgstation-server tgstation-server removed the Merge Conflict Pull request is in a conflicted state with base branch. label May 9, 2024
Comment on lines 79 to 85
/datum/fire_support/proc/select_target(turf/target_turf)
var/list/turf_list = list()
for(var/turf/spread_turf in RANGE_TURFS(scatter_range, target_turf))
turf_list += spread_turf
for(var/i = 1 to impact_quantity)
var/turf/impact_turf = pick(turf_list)
addtimer(CALLBACK(src, PROC_REF(do_impact), impact_turf), 0.15 SECONDS * i)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? range_turfs is a turf only list already lol thats its benefit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I unno, old code from mortar or something. Fixed though.

@Lumipharon Lumipharon requested a review from TiviPlus May 14, 2024 21:50
Copy link
Member

@TiviPlus TiviPlus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest looks ok

var/list/turf_list = list()
for(var/turf/T in range(range_num, target))
turf_list += T
var/list/turf_list = range(range_num, target)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RANGE_TURFS, range() returns all atoms

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops

@Lumipharon Lumipharon requested a review from TiviPlus May 15, 2024 21:45
@TiviPlus TiviPlus merged commit c33f2ec into tgstation:master May 20, 2024
34 checks passed
github-actions bot added a commit that referenced this pull request May 20, 2024
@Lumipharon Lumipharon deleted the telecope branch May 20, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New interesting mechanics with new interesting bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants