Adds karma/whitelist code

This makes them a 30 KP shop option, but could be altered to 45 KP without having to move their place on the list.

Signed-off-by: HugoLuman <qaggeler@uci.edu>
This commit is contained in:
HugoLuman
2016-04-14 15:22:47 -07:00
parent bfcebf8044
commit 12aa256a38
3 changed files with 10 additions and 4 deletions
+8 -2
View File
@@ -163,20 +163,26 @@
src.DB_species_unlock("Grey",30)
return
if("4")
if(karma <30)
to_chat(usr, "You do not have enough karma!")
return
else
src.DB_species_unlock("Drask",30)
if("5")
if(karma <45)
to_chat(usr, "You do not have enough karma!")
return
else
src.DB_species_unlock("Vox",45)
return
if("5")
if("6")
if(karma <45)
to_chat(usr, "You do not have enough karma!")
return
else
src.DB_species_unlock("Slime People",45)
return
if("6")
if("7")
if(karma <100)
to_chat(usr, "You do not have enough karma!")
return