creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Help Forum
old
Supernamer caos question   
c1anddsaddict

c1anddsaddict
United States  


  9/16/2013

I'm looking to further expand on the supernamer (since I'm not making the source code, just making alterations, I'm not entirely sure I want to publish it.) I would like to add the ability for names to end with consonants. I don't want to have it happen all the time, just about 38% of the time (taken from the percentage of US states that end in consonants). Does anyone know a way to make a part of code that only activates 38 percent of the time?

DS village

My TCR norns

STAY AWAY FROM THE MOLDY, DISEASED CHICKEN NUGGET STASH!!!

 
ylukyun
Patient Pirate

ylukyun

Manager



  9/16/2013


setv va01 rand 1 100
doif va01 le 38
run your code
else
endi


Something like this ought to do it. If va01 is already used then just replace with an unused variable.

 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki