Create account / Log in

Possible to "lock" a piece into place mid-game?

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Possible to "lock" a piece into place mid-game?

Postby Bridger » October 2nd, 2020, 6:06 pm

I know you can use the "does not stack" trait to lock a piece in place (while leaving it selectable). Is it possible to 'add' that trait to a piece in the middle of a game?

I have some pieces which need to be randomized (pulled from a deck) but once they are pulled out and added to the board, I want them to not be movable by accident.
Bridger
 
Posts: 26
Joined: March 19th, 2015, 10:27 pm

Re: Possible to "lock" a piece into place mid-game?

Postby JoelCFC25 » October 2nd, 2020, 6:42 pm

You can't add traits to pieces at run-time, but you could opt for the "Replace with Other" trait and define a piece that is identical to the original but with the Does Not Stack (select normal, move never) added to it.
JoelCFC25
 
Posts: 748
Joined: October 12th, 2010, 5:15 pm
Location: Minnetrista, MN


Return to Module Design

Who is online

Users browsing this forum: No registered users and 2 guests