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

Trap Property PlaceOnBridge #2408

Merged
merged 62 commits into from
May 27, 2023
Merged

Conversation

walt253
Copy link
Contributor

@walt253 walt253 commented May 24, 2023

Add a new property for trap 'PlaceOnBridge' to allow mapmaker to make traps that can be placed on bridge, also add it to the script command SET_TRAP_CONFIGURATION so it can be changed per map basis.
By default all traps have PlaceOnBridge = 0.

@walt253 walt253 marked this pull request as draft May 24, 2023 15:49
@walt253 walt253 changed the title Trap Property PlaceOnRoom Trap Property PlaceOnBridge May 25, 2023
@walt253 walt253 marked this pull request as ready for review May 26, 2023 00:39
@walt253
Copy link
Contributor Author

walt253 commented May 26, 2023

I think it's ready, but is there anything missing? Can it be improved?

@Loobinex Loobinex self-requested a review May 26, 2023 16:34
@PieterVdc
Copy link
Member

PieterVdc commented May 26, 2023

does this one make it so all of the slab_attrs come from the cfg files? if so I suppose the hardcoded array can be droped

I see you added animated but haven't added it to the cfgs themselves yet though

add Animated property for future use
@walt253 walt253 marked this pull request as draft May 26, 2023 19:50
@walt253 walt253 marked this pull request as ready for review May 26, 2023 20:36
@Loobinex Loobinex merged commit 319039a into dkfans:master May 27, 2023
@walt253 walt253 deleted the trap-property-placeonroom branch May 29, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants