ID:2675185
 
(See the best response by F0lak.)
Ive been looking around trying to find some way to code my Npc {Prof Oak} to give me a choice between 3 Pokemon in the game im creating from scratch adding screenshots to show it's not a rip as i know those are frowned upon. Im thinking i would have to use a HUD but if there's a simple way i'd love a reference as im somewhat new to coding.






Best response
A really simple and straightforward way to do it is to use input().

For your use case, something along the lines of:
mob/npc/prof_oak  // Assuming this is how you're defining NPC's
verb/Talk_To()
// And assuming that 'pokemon' is a /list
pokemon += input("What Pokemon do you want?") in list(/mob/pokemon/bulbasaur, /mob/pokemon/charmander, /mob/pokemon/squirtle)