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

feat(content,port): aircraft carrier #3892

Merged
merged 15 commits into from
Dec 14, 2023
Merged

Conversation

Vollch
Copy link
Contributor

@Vollch Vollch commented Dec 13, 2023

Purpose of change

Who doesn't like magical flying boats?

Describe the solution

Ported:

Describe alternatives you've considered

None.

Testing

Found one in wild, started in another one with scenario. Looks good.

Additional context

Checklist

Vollch and others added 10 commits December 13, 2023 17:04
* initial aircraft commit - overmap

* adding terrain mechanisms

* adding few terrains for carrier

* adding few new loot table

* adding a carrier palette

* adding some nested maps for carrier

* adding OMspecial for carrier

* 0 level of carrier

* -1 level of carrier

* first floor of carrier

* second floor of the carrier (flight deck)

* rename the folder so it has no spaces

* adding triple bunkbed

* making officers berths, kinda

* delete unque flag for test purposes

* adding 3 floor (bridge)

* Lint

* add some zeds to spawn

* some turrets on the bridge (bc thats fun)

* split OM terrain on two to make different mob spawns

* remade z1 vehicle spawn

* fix z1 vehicle spawn

* fixing z2 transport spawn

* burning the random vehicle spawn in fire

* added nuclear reactor

* disabling the elevators

* lint

* fixes

* 123

* some stairs fix

* real some stairs fix

* adding loot to driers and washers

* some stuff

* remade offices, fix clothes

* office supplies tweaks, some computer stuff replacing

* replacing computers with wooden one, changing the book loot

* replacing computers with wooden one, changing the book loot

* delete office mess, add loot for entertainment center

* TVs FOR EVERYBODY, YEEEEEAH

* small bunkbed changes

* ( -> )

* fix the metal gates

* add some heavy engines to mechanic supplies

* lint

* spawn only on lake (doesnt work)

* fixing the spawn issues

* replacing unpickable doors with pickable one

* adding water belt around the ship

* tweaking the overmap special

* ¯\_(ツ)_/¯

* Beds

* moved entertainment_center_loot to a better place

* fck u inheritance

* typo

* Update data/json/mapgen_palettes/aircraft_carrier_palette.json

Co-authored-by: Maleclypse <[email protected]>

Co-authored-by: Maleclypse <[email protected]>
@github-actions github-actions bot added the JSON related to game datas in JSON format. label Dec 13, 2023
Copy link
Contributor

autofix-ci bot commented Dec 13, 2023

The Autofix app has automatically formatted this Pull Request.

If you edit your PR on web UI, you can ignore this message.
If you edit your PR locally, YOU MUST DO EITHER OF THE FOLLOWING:

  • Run git pull to merge the automated commit into your local copy of the PR branch.
  • Format your code locally, and force push to your PR branch.

If you don't do this, your following work will be based on the old commit, and cause MERGE CONFLICT.

@Vollch Vollch changed the title content(port): aircraft carrier feat(content,port): aircraft carrier Dec 13, 2023
@Relgar
Copy link
Contributor

Relgar commented Dec 13, 2023

There is reference to the Old Guard operating off an aircraft carrier so a safe version this could also serve as the base (ha) for future quest development depending on the NPCs on it.

@scarf005 scarf005 self-requested a review December 13, 2023 22:34
@scarf005 scarf005 self-assigned this Dec 13, 2023
data/json/scenarios.json Outdated Show resolved Hide resolved
scarf005
scarf005 previously approved these changes Dec 13, 2023
Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

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

Additional Notes

@github-actions github-actions bot added the src changes related to source code. label Dec 14, 2023
used floodfill to optain arbitrary size of elevator tiles.
Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

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

carrier

airplane boat goes nyoom

Additional Changes

Made elevators operational

  • because it's cool.
  • removed related comments accordingly.

Fixed elevator floor detection algorithm

  • turns out carrier elevator was not working due to the original code only checking elevators tiles within SEEX - 1 radius.
  • made it use ff::point_flood_fill_4_connected so it'll work with any size of elevators

Added electric grids

  • as electronics (e.g autodoc, elevators) already work, thought it would make sense to add one
  • since it's gigantic and installing electric grid manually would take hours
  • would make using aircraft carrier as static base much easier

Added alternative starting professions

added Military Rifleman and Combat Engineer profession to scenario, since they were analogous to DDA's original profession.

@scarf005 scarf005 merged commit c5362d0 into cataclysmbnteam:main Dec 14, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JSON related to game datas in JSON format. src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants