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

Fix for broken nightmare inserts #7009

Merged
merged 16 commits into from
Aug 29, 2024
Merged

Conversation

FOFFLES105
Copy link
Contributor

@FOFFLES105 FOFFLES105 commented Aug 23, 2024

About the pull request

All but one nightmare insert for Fiorina was broken due to some strange naming bug. In addition, one nightmare insert for Kutjevo was broken. This PR fixes those nightmare inserts and adds them back. Also cleaned up several unused sprinkles and moved them to an appropriate folder.

Explain why it's good for the game

More nightmare inserts are cool.

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑

fix: fixed issue where nightmare inserts would not spawn
fix: moved unused nightmare inserts to "unused" folder so that they don't cause errors.

/:cl:

FOFFLES105 and others added 2 commits August 22, 2024 20:56
	modified:   maps/map_files/FOP_v3_Sciannex/Fiorina_SciAnnex.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/10.podholder.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/10.pod_holder.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/10.scavshipholder.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/10.scav_shipholder.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.birthdayparty.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.birthday_party.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.nogear.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.no_gear.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.warden_officedecorated.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.gamertime.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.gamer_time.dmm
	deleted:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.medicalhold.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.poolparty.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.pool_party.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.yardbasketball.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.yard_basketball.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/25.researchprestine.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/25.research_prestine.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.engineeroffice.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.engineer_office.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.pizzatime.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.pizza_time.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.repairpanelslz.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.repair_panelslz.dmm
	modified:   maps/map_files/Kutjevo/Kutjevo.dmm
	renamed:    maps/map_files/Kutjevo/sprinkles/35.communications.dmm -> maps/map_files/Kutjevo/sprinkles/35.communications_building.dmm
@github-actions github-actions bot added Mapping did you remember to save in tgm format? Fix Fix one bug, make ten more labels Aug 23, 2024
@FOFFLES105 FOFFLES105 marked this pull request as draft August 23, 2024 02:08
@FOFFLES105 FOFFLES105 marked this pull request as ready for review August 23, 2024 02:23
Copy link
Member

@harryob harryob left a comment

Choose a reason for hiding this comment

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

i don't think this is the best way to do it, we can fix this in code

in code/modules/nightmare/nmnodes/mapload.dm, on line 58, with the var/regex/matcher, we can replace the new() statement with new(@"^([0-9]+)([\.\+]).*?\.dmm$", "i") instead

then you can revert map changes as it should work without the underscores

@harryob harryob marked this pull request as draft August 24, 2024 11:19
	modified:   maps/map_files/BigRed/BigRed.dmm
	modified:   maps/map_files/FOP_v3_Sciannex/Fiorina_SciAnnex.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/10.pod_holder.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/10.podholder.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/10.scav_shipholder.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/10.scavshipholder.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.birthday_party.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.birthdayparty.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.no_gear.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.nogear.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/15.warden_officedecorated.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/15.wardenofficedecorated.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.gamer_time.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.gamertime.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.pool_party.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.poolparty.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/20.yard_basketball.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/20.yardbasketball.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/25.research_prestine.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/25.researchprestine.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.engineer_office.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.engineeroffice.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.pizza_time.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.pizzatime.dmm
	renamed:    maps/map_files/FOP_v3_Sciannex/sprinkles/30.repair_panelslz.dmm -> maps/map_files/FOP_v3_Sciannex/sprinkles/30.repairpanelslz.dmm
	modified:   maps/map_files/Kutjevo/Kutjevo.dmm
	renamed:    maps/map_files/Kutjevo/sprinkles/35.communications_building.dmm -> maps/map_files/Kutjevo/sprinkles/35.communications.dmm
	modified:   maps/map_files/New_Varadero/New_Varadero.dmm
@cm13-github cm13-github added the Merge Conflict PR can't be merged because it touched too much code label Aug 25, 2024
@cm13-github
Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@FOFFLES105 FOFFLES105 reopened this Aug 25, 2024
@cm13-github cm13-github removed the Merge Conflict PR can't be merged because it touched too much code label Aug 25, 2024
@cm13-github
Copy link
Contributor

Conflicts have been resolved. A maintainer will review the pull request shortly.

@FOFFLES105 FOFFLES105 marked this pull request as ready for review August 25, 2024 22:50
@FOFFLES105 FOFFLES105 requested a review from fira as a code owner August 25, 2024 22:50
@FOFFLES105
Copy link
Contributor Author

Ignore the comically large amount of commits. I kind of forgot how to use GitHub.

@harryob harryob enabled auto-merge August 29, 2024 15:55
…> maps/map_files/Ice_Colony_v3/sprinkles/unused/20.labs-larder.dmm

	renamed:    maps/map_files/Ice_Colony_v3/sprinkles/33.labs-entrance.dmm -> maps/map_files/Ice_Colony_v3/sprinkles/unused/33.labs-entrance.dmm
auto-merge was automatically disabled August 29, 2024 16:18

Head branch was pushed to by a user without write access

@harryob harryob enabled auto-merge August 29, 2024 22:40
@harryob harryob added this pull request to the merge queue Aug 29, 2024
Merged via the queue into cmss13-devs:master with commit a7a2a42 Aug 29, 2024
29 checks passed
cm13-github added a commit that referenced this pull request Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more Mapping did you remember to save in tgm format?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants