Skip to content

Conversation

@myk002
Copy link
Member

@myk002 myk002 commented May 24, 2024

@myk002
Copy link
Member Author

myk002 commented May 24, 2024

merging so we can run a full test suite in DFHack/dfhack#4631

@myk002 myk002 merged commit d7dffbb into DFHack:master May 24, 2024
@myk002 myk002 deleted the myk_bld_updates branch May 24, 2024 00:18
assign={zone_settings={pen={check_occupants=true}}}}},
p={label='Pit/Pond', props_fn=parse_pit_pond_props, default_data={type=df.civzone_type.Pond,
assign={zone_settings={pit_pond=df.building_civzonest.T_zone_settings.T_pit_pond.top_of_pit}}}},
assign={zone_settings={pond={flag={keep_filled=true}}}}}},
Copy link
Member

@quietust quietust May 24, 2024

Choose a reason for hiding this comment

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

This should be setting check_occupants=True and keep_filled=False to make it act as a Pit (as the old "top_of_pit" value did) - as it is right now, this setting will make it act like a Pond instead.

Copy link
Member

@lethosor lethosor May 24, 2024

Choose a reason for hiding this comment

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

yeah, pit_pond (now pond.flag) changed from an enum to a bitfield - missed that. So I agree, setting 2 before would correspond to setting check_occupants=true now.

Confirmed it was 2 in 50.13-r2.1:

[lua]# ~df.building_civzonest.T_zone_settings.T_pit_pond.top_of_pit
2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants