Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I think I should report a bug in this theme.

Ask_int is not printing the question:

: print "Which one?" ;
: ask_int question = "1. Green 2. Red"  var = "int_select" ;

Output is only "Which one?";

beta 27f

Hello,

Sorry you are having a problem but I tested and it seems to work for me.


######################################
#  Adventuron                        #
######################################
start_at                 = my_location
start_theme              = two
locations {
   my_location : location "You are in a room." ;
}
integers {
   int_select : integer "0" ;
}
on_startup {
   : print "Which one?" ;
   : ask_int question = "1. Green 2. Red"  var = "int_select" ;
}

Chris

Interesting. Well, that means I probably have a bug in my code. But how I can break a build-in function I have no idea.

Did you resolve this?

Yep, just added another print before ask_int. I don't know, whats happened.

(1 edit)

I reproduced the bug. It's not printing if the question string contains colors, i.e.:

ask_int question="1. <Green<#393>> 2. <Red<#c30>>" ...

great. This will really help to fix this.