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

[RDY] Parks and recreation buildings #22049

Merged
merged 13 commits into from Oct 6, 2017

Conversation

3 participants
@ZhilkinSerg
Copy link
Contributor

commented Oct 1, 2017

Added parks and recreation buildings from http://smf.cataclysmdda.com/index.php?topic=12533.0.

Thanks to Whaley (http://smf.cataclysmdda.com/index.php?action=profile;u=3470).

Parks

  • skate_park;
  • small_wooded_trail (2 variants);
  • pavilion;
  • cemetary

Stores

  • orchard (2 variants);
  • dispensary;
  • small_office;
  • art_gallery;
  • small_storage_units.

Overmap specials

  • State Park (4 tiles);
  • Fishing Pond (4 tiles);
  • Derelict Property (1 tile in 4 variants);
  • Hunting Blind (1 tile in 2 variants).
Initial commit
Added parks and recreation buildings from http://smf.cataclysmdda.com/index.php?topic=12533.0.

Thanks to Whaley (http://smf.cataclysmdda.com/index.php?action=profile;u=3470).

### Parks

- `skate_park`;
- `small_wooded_trail` (2 variants);
- `pavilion`;
- `cemetary`

### Stores

- `orchard` (2 variants);
- `dispensary`;
- `small_office`;
- `art_gallery`;
- `small_storage_units`.

### Overmap specials

- `State Park` (4 tiles);
- `Fishing Pond` (4 tiles);
- `Derelict Property` (1 tile in 4 variants);
- `Hunting Blind` (1 tile in 2 variants).

@ZhilkinSerg ZhilkinSerg changed the title Parks and recreation buildings [RDY] Parks and recreation buildings Oct 3, 2017

@Coolthulhu Coolthulhu self-assigned this Oct 5, 2017

"f": "f_null",
"p": "f_null",
"s": "f_null",
"u": "f_null"

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

Pretty sure nulls don't need to be (and thus shouldn't) be explicitly declared.
The exception is when using palettes and overriding an existing piece.

"flags": [ "SIDEWALK" ]
},
{
"id": "cemetary",

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

Those are too similar to the big cemetery id. Should probably be re-id'd to "cemetery_small" or something.

"locations": [ "wilderness" ],
"city_distance": [ 1, 10 ],
"city_sizes": [ 1, 12 ],
"occurrences": [ 4, 10 ]

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

All minimal occurrences are going against the "budget". They should be kept low until we have a fix for overmap special limit.

"f": "f_null",
"p": "f_null",
"s": "f_null",
"|": "f_null"

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

All "f_null"s have to be removed.

{ "item": "rock", "x": 1, "y": 7, "repeat": 1 },
{ "item": "log", "x": 2, "y": 12, "repeat": 1 },
{ "item": "log", "x": 17, "y": 19, "repeat": 1 },
{ "item": "rock", "x": 13, "y": 21, "repeat": 1 }

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

All "repeat": 1 have to be removed.

{ "monster": "GROUP_ZOMBIE", "x": 21, "y": 13, "chance": 6, "density": 1 },
{ "monster": "GROUP_ZOMBIE", "x": 3, "y": 13, "chance": 6, "density": 1 },
{ "monster": "GROUP_ZOMBIE", "x": 20, "y": 7, "chance": 6, "density": 1 },
{ "monster": "GROUP_ZOMBIE", "x": 3, "y": 7, "chance": 6, "density": 1 }

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

All "density": 1 have to be removed. This is redundant, as default density is obviously 1.

{ "x": 13, "y": 14 },
{ "x": 15, "y": 14 },
{ "x": 17, "y": 14 }
],

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

Toilets would be much better mapped to a symbol. The only excuse not to do that is when a mapgen instance needs to have dry toilets mixed with non-dry ones. This isn't the case here.

"place_vehicles": [
{ "vehicle": "bicycle", "x": 10, "y": 7, "chance": 3, "fuel": 0, "status": 0, "rotation": 270 },
{ "vehicle": "bicycle", "x": 17, "y": 8, "chance": 2, "fuel": 0, "status": 0, "rotation": 180 },
{ "vehicle": "scooter", "x": 16, "y": 12, "chance": 5, "fuel": 0, "status": -1, "rotation": 0 },

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

"status" defaults to -1, "rotation" defaults to 0, explicitly making bicycles have 0 fuel is also wrong.

{ "monster": "mon_duck", "x": 8, "y": 17 },
{ "monster": "mon_fish_sbass", "x": 15, "y": 21 },
{ "monster": "mon_fish_bluegill", "x": 21, "y": 23 }
]

This comment has been minimized.

Copy link
@Coolthulhu

Coolthulhu Oct 5, 2017

Contributor

Placing monsters by hand like that is pretty ugly. It's not necessary to rework this here, but they should be wrapped in a group and spawned as entries from the group rather than being hand-picked and completely identical every time.

This comment has been minimized.

Copy link
@ZhilkinSerg

ZhilkinSerg Oct 5, 2017

Author Contributor

I fully agree.

@Coolthulhu Coolthulhu removed their assignment Oct 5, 2017

@ZhilkinSerg

This comment has been minimized.

Copy link
Contributor Author

commented Oct 5, 2017

Updated everything reviewed, but monster placement.

@ZhilkinSerg

This comment has been minimized.

Copy link
Contributor Author

commented Oct 5, 2017

Monster spawns were moved to monster groups.

@ZhilkinSerg

This comment has been minimized.

Copy link
Contributor Author

commented Oct 5, 2017

Conflicts were resolved

@kevingranade kevingranade merged commit 32b1d87 into CleverRaven:master Oct 6, 2017

3 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.1%) to 22.525%
Details
gorgon-ghprb Build finished.
Details

@ZhilkinSerg ZhilkinSerg deleted the ZhilkinSerg:mapgen-parks-recreation branch Oct 6, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.