slangin/lookups.ino

38 lines
781 B
Arduino
Raw Normal View History

2022-06-18 00:05:30 -05:00
String lookupLocation(GameLocation loc) {
switch (loc) {
case LOC_BRONX:
return F("Bronx");
case LOC_GHETTO:
return F("Ghetto");
case LOC_CENTRAL_PARK:
return F("Central Park");
case LOC_MANHATTEN:
return F("Manhatten");
case LOC_CONEY_ISLAND:
return F("Coney Island");
case LOC_BROOKLYN:
return F("Brooklyn");
default:
return F("");
}
}
String lookupDrug(Drug drug) {
switch (drug) {
case DRUG_COCAINE:
return F("Cocaine");
case DRUG_HEROINE:
return F("Heroine");
case DRUG_ACID:
return F("Acid");
case DRUG_WEED:
return F("Weed");
case DRUG_SPEED:
return F("Speed");
case DRUG_LUDES:
return F("Ludes");
default:
return F("");
}
}