HTML A and An problem in Twine/SugarCube

mrkhing

Khing Orchestra
Game Developer
Feb 20, 2018
128
1,024
Hello, this is my first post here. I am writing a game for in SugarCube 2.30.0 that features a customization system where the player can input their skin color, hair, etc. However, the user's inputs are not sensitive to the indefinite articles (a/an) in the text of my story. Is there a simple and clean way of solving this issue?
 

HiEv

Member
Sep 1, 2017
384
785
Sorry for the late reply. I'm not quite clear what you're looking for, but there is the within my (UInv) for Twine/SugarCube. You can give that function a singular noun, and it will figure out the correct indefinite article to put in front of it. The first link also shows a working example, so you can try out different words to see how well it works.

Hope that helps! :)
 
  • Like
Reactions: mrkhing