ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

BUG: commas instead of decimals in variables

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

BUG: commas instead of decimals in variables

Postby BBBen » Wed Feb 08, 2017 12:32 am

It turns out that some regions use a comma instead of a period as the decimal separator. This means that if you've got a variable that uses a decimal separator in its calculations it will fail. This is similar to the "English must be the system language" bug, but I haven't seen this particular one before. Just thought I would make a note of it, I don't know whether this has been picked up before.
BBBen
 
Posts: 287
Joined: Sat Jul 02, 2011 5:46 am

Re: BUG: commas instead of decimals in variables

Postby Kennedy » Thu Feb 09, 2017 5:38 pm

Can Adrift even handle decimals though? I thought it was limited to integers only?
Kennedy
 
Posts: 144
Joined: Tue Apr 29, 2003 7:12 pm
Location: Oregon

Re: BUG: commas instead of decimals in variables

Postby BBBen » Thu Feb 09, 2017 11:18 pm

Pretty sure I must have used one. I think I may have made someone's attacks do x1.5 damage in my combat system.
BBBen
 
Posts: 287
Joined: Sat Jul 02, 2011 5:46 am


Return to ADRIFT 5.0

Who is online

Users browsing this forum: Kennedy, Lazzah, ralphmerridew and 7 guests