Alternative to Plural Variables

  1. Describe your reason for requesting this feature. What problems are you running into?

From the docs :

By default [...] a variable matching the plural form of the tile’s name will be incremented (eg. an Item tile named “dot” will increment a variable named dots when collected).

However, plural nouns in English aren't as simple as appending an "s," for example "wolf –> wolves," and don't even get me started on sheep.

  1. How would this request improve your experience with using Pulp?

This would avoid mistakes in scripts caused by a user naturally typing the correct plural noun, without disrupting legacy code or preventing users from using the current behavior if they prefer.

  1. Include any other details you have relating to this request.

Potential solution:

A plurality field below the tile's "title" field, defaulting to {title} + "s" with the option to be edited by the user.

Thought some more and an even simpler solution (which still doesn't disrupt legacy code):

Add a count member to tiles.

1 Like